# 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.

API Breaking Change Check: OpenAPI Diff for CI is a paid AI agent skill on Agensi by Ala Ud Din Burki, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5.99 (one-time purchase)
- Creator: [Ala Ud Din Burki](https://www.agensi.io/creators/alaudin-burki)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Version: 1.0.0
- Last updated: 2026-12-04
- Security: scan passed (2026-12-04); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/api-breaking-change-check-openapi-diff-for-ci
- Tags: api, code-review, testing, documentation, openapi

## 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: "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: "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: "Run a check on the new Swagger file from this pull request."

## 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

1. You give your AI agent two versions of your API plan, such as two files, a link, or a version from your code history.
2. The skill scans both versions to find every difference in how the data moves.
3. It filters these changes into two lists: things that are safe and things that will break your users' software.
4. 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

- Git
- Node.js 18+

## Technical details

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 this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the API Breaking Change Check: OpenAPI Diff for CI skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How do I check if my API changes will break things for my users?

You give the skill two versions of your API plan, such as a file, a link, or a previous version from your code history. It then compares them to see if the new version will cause errors for people currently using your software.

### What kind of files or links do I need to provide?

This skill works with standard OpenAPI and Swagger formats. It can read these plans from JSON or YAML files, web links, or directly from your git code history.

### What exactly do I get back after the check is finished?

You get a clear report that separates safe changes from risky ones that will cause errors. It lists specific problems like removed buttons, new required fields, or changes to the type of data being sent, along with advice on how to fix them or warn your users.

### Are there any specific parts of my API plan that this skill cannot check?

The skill does not check security settings, headers, or example data. It only follows links within the same file and has limited ability to check complex choice types like oneOf.

### How should I ask my AI agent to start a check?

You can ask your AI agent to compare two specific files for breaking changes or have it review a pull request to see if it needs a major version update. You can also ask it to generate a changelog based on the differences it finds.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
