Skip to content
Back to skills

Api Versioning

ASecurity

Plan a breaking API change. Use when the user asks how to version an endpoint, deprecate a field, or roll out a change that would break existing clients.

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 25, 2026
ai-agentsgoapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned October 25, 2026

npx -y skills add hung12ct/gopheragent --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/hung12ct-api-versioning/badge)](https://www.skillsdirectory.com/skills/hung12ct-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
---
name: api-versioning
description: Plan a breaking API change. Use when the user asks how to version an endpoint, deprecate a field, or roll out a change that would break existing clients.
---

# Shipping a breaking API change

The goal is that no client breaks without having had a window to migrate.

1. **Decide whether it is actually breaking.** Adding an optional field is
   not. Removing a field, renaming one, tightening validation, or changing a
   default all are.
2. **Add the new shape alongside the old.** Both serve simultaneously; the
   old one keeps working unchanged.
3. **Instrument the old path** before announcing anything. You need to know
   who is still calling it, or the deprecation window is a guess.
4. **Announce with a date**, not a release number. Clients schedule against
   calendars.
5. **Remove only when the old path's traffic is zero** for a full billing
   period, not merely low.

Never version by adding `/v2` to the whole API when one endpoint changed —
that forces every client to migrate everything.

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 ai-agents →

Comments

Loading comments…

Newsletter

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