Agent skill · product strategy · aj-geddes

api-versioning-strategy

Implement API versioning strategies including URL versioning, header versioning, backward compatibility, deprecation strategies, and migration guides. Use when dealing with API versions, deprecating endpoints, or managing breaking changes.

Why this skill is useful

Provides detailed strategies and patterns for API versioning that the AI wouldn't reliably generate on its own.

What it needs

About 2k tokens when loaded. Last updated 2026-03-04. 307 stars on the source repository.

What this skill does

API Versioning Strategy Table of Contents Overview When to Use Quick Start Reference Guides Best Practices Overview Comprehensive guide to API versioning approaches, deprecation strategies, backward compatibility techniques, and migration planning for REST APIs, GraphQL, and gRPC services. When to Use Designing new APIs with versioning from the start Adding breaking changes to existing APIs Deprecating old API versions Planning API migrations Ensuring backward compatibility Managing multiple API versions simultaneously Creating API documentation for different versions Implementing API version routing Quick Start Minimal working example: Reference Guides Detailed implementations in the references/ directory: Guide Contents --- --- Versioning Approaches Versioning Approaches Backward Compatibility Patterns Backward Compatibility Patterns Deprecation Strategy Deprecation Strategy Migration Guide Example Migration Guide Example Response Structure Response Structure Date Format Date Format, Error Format JavaScript/TypeScript JavaScript/TypeScript, Python GraphQL Versioning GraphQL Versioning gRPC Versioning gRPC Versioning Version Detection & Routing Version Detection & Routing Testing Multiple Versions Testing Multiple Versions Pattern 1: Version-Agnostic Core Pattern 1: Version-Agnostic Core, Pattern 2: Feature Flags for Gradual Rollout, Pattern 3: API Version Metrics Best Practices ✅ DO Version from day one (even if v1) Document breaking vs non-breaking changes Provide clear migration guides with code examples Use semantic versioning principles Give 6-12 months deprecation notice Monitor usage of deprecated APIs Send deprecation warnings to API consumers Support at least 2 versions simultaneously Use adapters/transformers for version logic Test all supported versions Log which API version is being used Provide migration tooling when possible Be consistent with versioning approach ❌ DON'T Change API behavior without versioning Remove versions without notice Support too …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aj-geddes/api-versioning-strategy

View the source on GitHub

Browse the @skills marketplace