breaking-change-detector
Installation
SKILL.md
Breaking Change Detector Protocol
This skill acts as the API gatekeeper. It prevents accidental deployment of changes that would break existing mobile apps, web clients, or 3rd-party integrations by comparing API contracts offline.
Core assumption: Once an API is published, you no longer control the clients. Removing a field or changing its type will cause production crashes.
1. Specification Diff Analysis (Static)
Compare Version A (Current) with Version B (Proposed) and categorize changes based on backward compatibility logic:
🔴 MAJOR: Breaking Changes (Requires v2 or /v2/ route)
- Removing an endpoint or method.
- Removing a property from a response payload.
- Changing a property data type (e.g.,
idfromintegertouuid string). - Adding a new required field to a request payload.
- Changing authentication requirements (e.g., enforcing scopes that weren't there).