- Home
- Skills
- APIs & Backend
- API Breaking Change Check: OpenAPI Diff for CI
API Breaking Change Check: OpenAPI Diff for CI
Compare two versions of an OpenAPI spec (file, URL or git revision) and see exactly which changes would break existing API clients, kept apart from safe additive changes. Exit code 1 for CI gates.
$5.99
What it does
- Lists breaking changes apart from safe ones
- Compares against git:origin/main directly
- Resolves $ref and allOf, ignores param renames
- Checks request and response in the right direction
- Exits 1 on a breaking change, for CI
- JSON output for agents and changelogs
Who it's for
Developers and engineers
Know exactly what will break your users' apps before you push code changes.
Try asking: “Compare the openapi.yaml in my main branch with my local one.”
Product managers and API designers
Easily see if your planned updates require a major version bump or a new changelog entry.
Try asking: “Check if these two API versions have any breaking changes.”
QA and devops teams
Set up a gate that stops bad changes from reaching production and hurting customers.
Try asking: “Run a check on the new Swagger file from this pull request.”
API Breaking Change Check: OpenAPI Diff for CI
Example session with this skill installed
I'm working on the new version of our service. Can you check if my local openapi.yaml file has any breaking changes compared to the version at https://api.myshop.com/openapi.json?
- Read your context and instructions
- Compiled the api breaking change
I have compared your local plan against the live version. I found one breaking change and two safe changes.
Breaking Changes
- POST /orders: The field
shipping_addressis now required. This will break any existing app that tries to create an order without sending that field.
Safe Changes
- GET /products: Added a new optional field
discount_code. - GET /orders: Added a new response field
estimated_delivery.
Recommended Actions
To avoid breaking your users' apps, you should make the shipping_address field optional or provide a default value. If you must keep it required, you should bump your API to a new major version and add this to your changelog.
Would you like me to suggest how to make that field optional in your file?
Connects securely to your tools. The creator never sees your data.
About this skill
Changing your API can accidentally stop your customers' apps from working. This skill looks at two versions of your API plan and spots the specific parts that will cause errors for current users. It checks things like removed buttons, new required fields, or changes to the type of data being sent back and forth.
How it works
- You give your AI agent two versions of your API plan, such as two files, a link, or a version from your code history.
- The skill scans both versions to find every difference in how the data moves.
- It filters these changes into two lists: things that are safe and things that will break your users' software.
- You get a clear report of the risks and advice on how to fix them or how to warn your users.
Frameworks & tools
This skill uses a script that reads JSON and YAML files. It works with standard OpenAPI and Swagger formats used for describing web services.
Why this beats prompting it yourself
Reading two massive files to find tiny changes is slow and easy to mess up by hand. This skill follows strict logic about what technically breaks a connection. It understands that making a response field optional is fine, but making a request field mandatory is a disaster for old apps.
Use cases
- Checking a pull request to see if it needs a major version bump.
- Writing a clear changelog for your users by listing exactly what changed.
- Preventing accidental deletions of data fields that customers still use.
- Testing a new API design against the current live version.
Known limitations
It only follows links within the same file. It does not check security settings, headers, or example data. Complex choice types like oneOf are compared by their general type only.
Requires Node 18+ and the yaml package for YAML files. Uses a script to resolve internal $ref and allOf pointers. Returns exit code 1 for breaking changes to support CI/CD pipelines. Supports Git revisions and remote URLs as inputs.
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 today
- Software
Git
Node.js 18+
Permissions
What's inside
Frequently Asked Questions
New in APIs & Backend
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.