Agent skill · Databases

api-versioning

API versioning strategies — URL path, header, query param, content negotiation — with breaking change classification, deprecation timelines, migration patterns, and multi-version support. Use when evolving APIs, planning breaking changes, or managing version lifecycles.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill api-versioning-wpank-ai --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 10 KB
Bundled scripts: none
Path: skills/api/api-versioning-wpank-ai/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# API Versioning Patterns Evolve your API confidently. Version correctly, deprecate gracefully, migrate safely — without breaking existing consumers. ## Versioning Strategies Pick one strategy and apply it consistently across your entire API surface. | Strategy | Format | Visibility | Cacheability | Best For | |----------|--------|------------|--------------|----------| | **URL Path** | `/api/v1/users` | High | Excellent | Public APIs, third-party integrations | | **Query Param** | `/api/users?v=1` | Medium | Moderate | Simple APIs, prototyping | | **Header** | `Accept-Version: v1` | Low | Good | Internal APIs, coordinated consumers | | **Content Negotiation** | `Accept: application/vnd.api.v1+json` | Low | Good | Enterprise, strict REST compliance | ## Installation ### OpenClaw / Moltbot / Clawbot ```bash npx clawhub@latest install api-versioning ``` --- ## URL Path Versioning The most common strategy. Version lives in the URL, making it immediately visible. ```python from fastapi import FastAPI, APIRouter v1 = APIRouter(prefix="/api/v1") v2 = APIRouter(prefix="/api/v2") @v1.get("/users") async def list_users_v1(): return {"users": [...]} @v2.get("/users") async def list_users_v2(

What's inside
Steps it walks through
  1. Versioning Strategies
  2. Installation
  3. OpenClaw / Moltbot / Clawbot
  4. URL Path Versioning
  5. Header Versioning
  6. Semantic Versioning for APIs
  7. Breaking vs Non-Breaking Changes
  8. Breaking — Require New Version
  9. Non-Breaking — Safe Under Same Version
  10. Deprecation Strategy
  11. Sunset HTTP Header (RFC 8594)
  12. Retired Version Response
  13. Migration Patterns
  14. Adapter Pattern
Ships with 1 file
  • metadata.json
Commands it runs
npx clawhub@latest install api-versioning
More from claude-skill-registry
All skills →
About this skill
What does the api-versioning skill do?

API versioning strategies — URL path, header, query param, content negotiation — with breaking change classification, deprecation timelines, migration patterns, and multi-version support. Use when evolving APIs, planning breaking changes, or managing version lifecycles.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill api-versioning-wpank-ai --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going