Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Api Versioning?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ansh44233-api-versioning)
---
description: Evolve public APIs without breaking clients: additive changes, deprecation windows and explicit versions
profile: full
tags: api, versioning, compatibility
---
# API versioning
A breaking change you can avoid is better than a version you must maintain.
## Prefer additive change
- Add optional fields and new endpoints; never rename, retype or remove fields in place.
- Clients must ignore unknown fields; servers must accept old payloads.
## When you must break
- Version explicitly (URL `/v2`, header, or dated versions) and document the differences.
- Announce deprecation with a date; send `Deprecation`/`Sunset` headers; measure remaining usage before removal.
## Tooling
- Diff the OpenAPI/GraphQL schema in CI and fail on unannounced breaking changes.
## Verify
Run the old client's contract tests (or recorded requests) against the new server: they still pass.