# API Breaking-Change Detector — CI Guardrail

> Stop API contract drift from breaking production. This skill performs semantic diffing between two OpenAPI specs, flags backward-incompatible changes as ERR, and emits a full artifact set—changelog, breaking-changes report, machine-readable diff, and deprecation plan—in a single pass. Drop it into your CI pipeline to block bad merges before they ship.

API Breaking-Change Detector — CI Guardrail is a paid AI agent skill on Agensi by Skill Ninja, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19 (one-time purchase)
- Creator: [Skill Ninja](https://www.agensi.io/creators/avinash-kumar)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Version: 1.0
- Last updated: 2026-10-24
- Security: scan passed (2026-10-04); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/api-breaking-change-detector-ci-guardrail
- Tags: api, openapi, code-review, testing, devops, api-breaking-change-detector

## About this skill

API Breaking-Change Detector is a Claude Code skill for detecting backward-incompatible changes between OpenAPI 3.x specifications. It performs semantic contract diffing on JSON or YAML specs and classifies every difference into three severity levels: ERR (breaking), WARN (non-breaking risk), and INFO (additive or metadata). The skill catches deleted endpoints, modified path parameters, removed response fields, new required request fields, type narrowing, and enum value removal—the exact changes that break existing API clients.

Every run produces a complete artifact set in a single pass: API_CHANGELOG.md, BREAKING_CHANGES.md, diff.json (schema-conformant, with breaking, warnings, and info arrays always present), and—when a deprecation or approved break exists—DEPRECATION_PLAN.md. The skill also walks a seven-category ERR checklist on every run, proving the negative when no breaking changes are found, and explicitly states the CI exit code.

Use cases: pull request gating, contract drift audits, version comparison before release, and automated changelog generation. Compatible with oasdiff, api-governor, and OpenAPI Comparator, or fully functional as a manual-read fallback when no tool is available.

Keywords: OpenAPI breaking change detector, API contract diff, backward compatibility checker, CI/CD API guardrail, semantic diff OpenAPI, contract drift detection, oasdiff skill.

## Known limitations

Requires valid OpenAPI 3.x specs. Cannot resolve external $ref pointers if files are missing. Scope limited to contract structure, not runtime behavior.

## 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 Detector — CI Guardrail 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 does this skill prevent production API failures compared to a manual code review?

This skill acts as an automated quality gate in your CI/CD pipeline, performing a deep structural comparison of OpenAPI specs to flag deleted fields, modified parameters, or renamed endpoints that would otherwise crash downstream services.

### Which AI agents and development environments are compatible with this skill?

The detector is designed for any AI agent or CI tool that supports OpenAPI 3.x (JSON/YAML) and can execute shell-based logic, including GitHub Actions, GitLab CI, and Jenkins.

### Can I configure the skill to only block pull requests for specific types of breaking changes?

Yes, the skill categorizes changes into ERR, WARN, and INFO levels, allowing you to set the detector to only block builds (exit code 1) when critical breaking changes are found while allowing minor additions.

### What exactly is included in the purchase of this skill?

Upon purchase, you receive the integrated detection logic, pre-configured reporting templates for changelogs, and the automated guardrail scripts ready to be added to your workflow.

### Are there any specific technical requirements or limitations I should be aware of before deploying?

While the skill is highly robust, it requires valid OpenAPI 3.x files to run and cannot resolve external $ref pointers if they are hosted on private servers not accessible during the analysis phase.

---

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.
