Skip to content
Back to skills

Api Versioning

ASecurity

Evolve HTTP APIs safely without breaking clients using additive changes, versioning policies, and Sunset deprecation headers

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
developmentapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add AdityaaaTiwari/ANVIL --skill api-versioning --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Versioning?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Versioning
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adityaaatiwari-api-versioning/badge)](https://www.skillsdirectory.com/skills/adityaaatiwari-api-versioning)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Evolve HTTP APIs safely without breaking clients using additive changes, versioning policies, and Sunset deprecation headers
profile: standard
tags: api, architecture, backend, contracts
---

# API versioning

Use when changing existing REST/JSON endpoints, deprecating fields, or introducing breaking API revisions.

## Non-breaking evolution
- Favor additive backwards-compatible changes: add optional fields, keep existing field types/enum semantics, and avoid reusing deprecated field names.
- Never silently change response status codes, date formats, pagination envelopes, or error shapes in place.

## Versioning and deprecation
- Choose one explicit version boundary (URI prefix `/v1/...` or versioned media/date header) and keep internal domain services shared via thin version adapters rather than duplicating business logic.
- Emit RFC 8594 `Deprecation` and `Sunset` response headers plus migration docs long before removing old versions, and instrument per-version caller telemetry to confirm traffic reaches zero before retirement.

## Verify
Run contract tests across all supported API versions simultaneously and assert old client payloads continue passing unchanged.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.