- Home
- Skills
- Code Quality & Review
- API Contract Check: Catch Breaking Changes Pre-Merge
API Contract Check: Catch Breaking Changes Pre-Merge
by apitoolbox
Audit API changes against consumer contracts to classify breaking risks and generate migration paths.
$7
API Contract Check: Catch Breaking Changes Pre-Merge
Example session with this skill installed
Review this change set
- Rename 'user_id' to 'uuid' in /v1/profile.
- 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
| Change | Class | Evidence | Affected Consumer(s) | Required Action |
|---|---|---|---|---|
Rename user_id to uuid | BREAKING | Consumer A explicitly requires user_id for database lookups; renaming it will cause lookup failure. | Consumer A | Alias uuid to user_id in the response, or migrate Consumer A to use uuid before shipping. |
Add timezone field | NON-BREAKING | Optional field addition. No evidence provided that Consumer A uses strict validation or rejects unknown fields. | None | Ship; 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
- Implement a field alias so the API returns both
user_idanduuidduring the transition period. - Update Consumer A's parsing logic to point to the new
uuidfield. - 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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.
Trust & safety
Security scan
Security scan passed 7 days ago
Permissions
No special permissions declared or detected
What's inside
Frequently Asked Questions
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.