Change public APIs without breaking clients—versioning schemes, additive vs breaking changes, deprecation windows, and comms. Use when shipping breaking chan...
name: api-compat
description: "Change public APIs without breaking clients—versioning schemes, additive vs breaking changes, deprecation windows, and comms. Use when shipping breaking changes, sunsetting fields, or coordinating mobile/web SDK consumers."
API Compatibility
Own the lifecycle of a public API: who breaks when you ship, how long old behavior lives, and how clients discover what’s next. Pair with http-api for how requests look today; this skill is about time and promises.
When to use
Adding/removing fields, routes, or semantics that existing clients rely on.
Choosing URL vs header vs package versioning—or when no formal version and only additive JSON.
Deprecation: timelines, metrics (who still calls old paths?), and removal gates.
Core ideas
Additive first — nullable new fields beat silent behavior changes.
Explicit contracts — integration tests or consumer-driven checks for critical partners.