API Contract Check: Catch Breaking Changes Pre-Merge

    by apitoolbox

    1

    Audit API changes against consumer contracts to classify breaking risks and generate migration paths.

    $7

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    API Contract Check: Catch Breaking Changes Pre-Merge

    Example session with this skill installed

    Review this change set

    1. Rename 'user_id' to 'uuid' in /v1/profile.
    2. Add 'timezone' optional field. Consumer A parses /v1/profile and strictly requires 'user_id' for its database lookup.
    • Read your context and instructions
    • Compiled the api contract check

    I have reviewed the proposed changes to the /v1/profile endpoint against the behavior described for Consumer A.

    API Contract Review

    ChangeClassEvidenceAffected Consumer(s)Required Action
    Rename user_id to uuidBREAKINGConsumer A explicitly requires user_id for database lookups; renaming it will cause lookup failure.Consumer AAlias uuid to user_id in the response, or migrate Consumer A to use uuid before shipping.
    Add timezone fieldNON-BREAKINGOptional field addition. No evidence provided that Consumer A uses strict validation or rejects unknown fields.NoneShip; add a note to the changelog regarding the new optional field availability.

    Verdict: HOLD
    The change set contains an established

    BREAKING change (renaming user_id). The set cannot ship as-is until the required migration or aliasing action for Consumer A is completed.

    Next steps

    1. Implement a field alias so the API returns both user_id and uuid during the transition period.
    2. Update Consumer A's parsing logic to point to the new uuid field.
    3. Verify if any other undocumented consumers exist that might strictly validate the payload size.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Your agent just renamed a response field, tightened a validation limit, and changed the error format — and every one of those silently breaks a consumer you forgot about. Give this skill a proposed API change set plus your contract and consumer list, and it classifies every change separately: breaking, non-breaking, or risky, each tied to the specific consumer and the contract line that decides it — or to the specific evidence that is missing when they don't. It knows the standard traps — new enum values against exhaustive handlers, tightened limits against real traffic, error-shape changes against clients that branch on error codes — and it refuses to call a change safe on habit when the contract never guaranteed it. Ends with one verdict for the release: ship, ship with actions, hold, or cannot judge. No external service required.

    Only analyzes consumers and contracts provided in the input. Cannot detect undocumented usage or external callers not explicitly described.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Frequently Asked Questions

    The skill requires the proposed API changes (diffs), the current API contract (e.g., OpenAPI spec, GraphQL schema), and a description of your consumer behaviors or requirements.

    Unlike generic prompts, this skill uses a 'strict evidence' discipline that flags any undocumented or ambiguous usage as RISKY rather than making assumptions, preventing hidden breaking changes from reaching production.

    Yes, the skill is protocol-agnostic and can analyze any structured API definition, including REST (OpenAPI/Swagger), GraphQL schemas, and gRPC service definitions.

    No, the skill's accuracy is limited to the consumer contracts and documentation you provide; it cannot account for 'ghost' consumers or undocumented legacy integrations not included in your input.

    Every identified breaking change includes a remediation plan, which provides specific technical strategies such as versioning, dual-publishing, or specific field deprecation paths.

    The output concludes with a clear verdict—SHIP, HOLD, or CANNOT JUDGE—allowing you to integrate the skill directly into your CI/CD pipeline or PR review workflow.

    New in Code Quality & Review

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.