api-design-and-versioning
Design REST/GraphQL APIs with versioning and deprecation strategy.
Best use case
api-design-and-versioning is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Design REST/GraphQL APIs with versioning and deprecation strategy.
Teams using api-design-and-versioning should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/api-design-and-versioning/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How api-design-and-versioning Compares
| Feature / Agent | api-design-and-versioning | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Design REST/GraphQL APIs with versioning and deprecation strategy.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Api Design And Versioning ## Purpose - Design REST/GraphQL APIs with versioning and deprecation strategy. ## Preconditions - Access to system context (repos, infra, environments) - Confirmed requirements and constraints - Required approvals for security, compliance, or governance ## Inputs - Problem statement and scope - Current architecture or system constraints - Non-functional requirements (performance, security, compliance) - Target stack and environment ## Outputs - Design or implementation plan - Required artifacts (diagrams, configs, specs, checklists) - Validation steps and acceptance criteria ## Detailed Step-by-Step Procedures 1. Clarify scope, constraints, and success metrics. 2. Review current system state, dependencies, and integration points. 3. Select patterns, tools, and architecture options that match constraints. 4. Produce primary artifacts (docs/specs/configs/code stubs). 5. Validate against requirements and known risks. 6. Provide rollout and rollback guidance. ## Decision Trees and Conditional Logic - If compliance or regulatory scope applies -> add required controls and audit steps. - If latency budget is strict -> choose low-latency storage and caching. - Else -> prefer cost-optimized storage and tiering. - If data consistency is critical -> prefer transactional boundaries and strong consistency. - Else -> evaluate eventual consistency or async processing. ## Error Handling and Edge Cases - Partial failures across dependencies -> isolate blast radius and retry with backoff. - Data corruption or loss risk -> enable backups and verify restore path. - Limited access to systems -> document gaps and request access early. - Legacy dependencies with limited change tolerance -> use adapters and phased rollout. ## Tool Requirements and Dependencies - CLI and SDK tooling for the target stack - Credentials or access tokens for required environments - Diagramming or spec tooling when producing docs ## Stack Profiles - Use Profile A, B, or C from `skills/STACK_PROFILES.md`. - Note selected profile in outputs for traceability. ## Validation - Requirements coverage check - Security and compliance review - Performance and reliability review - Peer or stakeholder sign-off ## Rollback Procedures - Revert config or deployment to last known good state. - Roll back database migrations if applicable. - Verify service health, data integrity, and error rates after rollback. ## Success Metrics - Measurable outcomes (latency, error rate, uptime, cost) - Acceptance thresholds defined with stakeholders ## Example Workflows and Use Cases - Minimal: apply the skill to a small service or single module. - Production: apply the skill to a multi-service or multi-tenant system.
Related Skills
mongodb-schema-design
Master MongoDB schema design and data modeling patterns. Learn embedding vs referencing, relationships, normalization, and schema evolution. Use when designing databases, normalizing data, or optimizing queries.
domain-driven-design
Plan and route Domain-Driven Design work from strategic modeling to tactical implementation and evented architecture patterns.
data-designer
Generate high-quality synthetic datasets using statistical samplers and Claude's native LLM capabilities. Use when users ask to create synthetic data, generate datasets, create fake/mock data, generate test data, training data, or any data generation task. Supports CSV, JSON, JSONL, Parquet output. Adapted from NVIDIA NeMo DataDesigner (Apache 2.0).
analytics-design
Design data analysis from purpose clarification to visualization. Use when analyzing data, exploring BigQuery schemas, building queries, or creating Looker Studio reports.
---name: aav-vector-design-agent
description: AI-powered adeno-associated virus (AAV) vector design for gene therapy including capsid engineering, promoter selection, and tropism optimization.
symfony:api-platform-versioning
Use when symfony api platform versioning
Schema Design
Migration-ready database schema design with normalization and indexing strategies
database-design
Database design principles and decision-making. Schema design, indexing strategy, ORM selection, serverless databases.
asyncapi-design
Event-driven API specification with AsyncAPI 3.0 for message-based architectures
API Versioning
Implement API versioning strategies for backward compatibility. Covers URL versioning, header versioning, and deprecation workflows.
api-versioning-deprecation-planner
Plans safe API evolution with versioning strategies, client migration guides, deprecation timelines, and backward compatibility considerations. Use for "API versioning", "deprecation planning", "API evolution", or "breaking changes".
API Test Design
Strategies for designing comprehensive API tests including contract testing, integration testing, and performance testing