designing-api-versioning
/designing-api-versioning
Use when designing api versioning is required during api-products product work, especially when the result must be traceable, independently reviewable, and safe to hand to another agent.
- Author
- Nolane-x ↗
- Repository
- forge-os ↗
- Licence
- MIT
- Last repository change
- 01.08.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 01.08.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when designing api versioning is required during api-products product work, especially when the result must be traceable, independently reviewable, and safe to hand to another agent.
Original author description
Use when designing api versioning is required during api-products product work, especially when the result must be traceable, independently reviewable, and safe to hand to another agent.
How it works
- Overview
- Trigger
- Required Inputs
- Method-Specific Protocol
- Procedure
- Verification Questions
- Evidence Packet
- Output Contract
- Quality Gate
- Forbidden Shortcuts
SKILL.md preview
--- name: designing-api-versioning description: "Use when designing api versioning is required during api-products product work, especially when the result must be traceable, independently reviewable, and safe to hand to another agent." license: MIT compatibility: "ForgeOS-compatible Agent Skills hosts; no provider-specific model required." metadata: author: forgeos-community version: "0.2.0" pack: domain kind: domain status: stable --- # Designing Api Versioning ## Overview This skill owns one bounded responsibility: **designing api versioning**. Its focus is evolve public API behavior without surprising existing consumers. It converts declared inputs into typed artifacts and reproducible evidence without silently changing product scope. ## Trigger Activate only when the project is in one of these stages: `product-definition`, `ux-design`, `architecture`, `planning`, `implementation`, `verification`, `release-readiness`, all contract preconditions pass, and the router identifies a missing output this skill can produce. Do not activate merely because the skill name resembles the user request. ## Required Inputs - `product-definition` - Optional: `architecture-decision` - Optional: `verified-build` - Current gate result, open findings, artifact hashes, and invalidation state - Required tools: none - Optional tools: none - Confirmed human decisions relevant to this scope ## Method-Specific Protocol 1. Classify compatibility across syntax, semantics, errors, defaults, performance, and side effects. 2. Choose versioning surface and support window from consumer deployment realities. 3. Design additive evolution rules and explicit breaking-change triggers. 4. Run recorded consumer contracts against current and candidate implementations. 5. Publish migration tooling, deprecation telemetry, communication, and rollback policy. ## Procedure 1. Read the confirmed product definition, domain context, assurance profile, and active findings. 2. Identify the domain objects, actors, state transitions, regulations, provider boundaries, and operational constraints owned by this skill. 3. Classify compatibility across syntax, semantics, errors, defaults, performance, and side effects. 4. Choose versioning surface and support window from consumer deployment realities. 5. Design additive evolution rules and explicit breaking-change triggers. 6. Run recorded consumer contracts against current and candidate implementations. 7. Publish migration tooling, deprecation telemetry, communication, and rollback policy. 8. Model normal, boundary, failure, recovery, permission, concurrency, migration, and abuse behavior before implementation. 9. Define stable contracts and explicit non-goals; do not leak domain concerns into unrelated modules. 10. Create executable acceptance, negative, resilience, and compatibility checks proportional to risk. 11. Publish the domain artifact, evidence packet, unresolved assumptions, and downstream invalidations. ## Verification Questions - Can an old client parse and correctly interpret the new response? - Did an error code, default, ordering, or rate limit change semantically? - Can consumers discover deprecation before failure? - Is the old version operable through the migration window? ## Evidence Packet Produce or reference all applicable evidence: - `versioning policy` - `consumer contract suite` - `compatibility diff` - `migration guide` Evidence must identify the current artifact hash, command or method used, result, reviewer identity, timestamp, and limitations. ## Output Contract Produce: - `domain-blueprint` - `domain-evidence` The primary artifact must include schema version, provenance, consumed artifact IDs, decisions, evidence references, residual risks, validation state, and invalidation targets. Narrative explanation may accompany the artifact but cannot replace it. ## Quality Gate Reviewer: `api-products-reviewer` - The output directly and completely performs designing api versioning within its declared boundary. - Can an old client parse and correctly interpret the new response? - Did an error code, default, ordering, or rate limit change semantically? - Can consumers discover deprecation before failure? - Is the old version operable through the migration window? - Every material claim is traceable to an input, decision, executable check, or evidence item. - Required fields are complete and machine-readable. - The producing agent is not the approving reviewer. - Open uncertainty and residual risk are explicit; critical findings are never hidden by an aggregate score. Pass only when: All mandatory rules pass, evidence targets the current artifact hash, and no unresolved critical finding applies. ## Forbidden Shortcuts - Do not infer a material requirement that the user has not confirmed. - Do not replace a typed artifact with a long explanation. - Do not approve work produced by the same agent identity. - Do not hide a critical failure behind a high aggregate score. - Do not load unrelated project history, files, references, or skill bodies. - Do not mark evidence complete when it targets a different artifact hash or version. ## Failure Modes - guessing a material requirement - producing prose without the contracted artifact - self-approving the output - expanding scope without a decision record - versioning only the URL - silent semantic breaks - deprecation without usage telemetry ## Escalation and Invalidation Stop and request a human decision when scope, risk acceptance, irreversible action, cost ceiling, privacy boundary, or product direction is materially ambiguous. When this artifact changes, invalidate only descendants named by the artifact graph; preserve unaffected verified branches. ## Handoff - Next transition: the graph router selects a real consumer of `domain-blueprint`, `domain-evidence`. - Required evidence: `contract-validation`, `independent-review`, `versioning policy`, `consumer contract suite`, `compatibility diff`, `migration guide`. - Required envelope fields: `artifactId`, `schemaVersion`, `sha256`, `producingSkill`, `producingAgent`, `consumedArtifacts`, `decisionIds`, `evidenceIds`, `residualRisks`, `validationState`, `invalidationTargets`, `stopCondition`. - Stop condition: Output contract is satisfied, a blocker is recorded, or a material human decision is required. ## Token and Context Policy Load at most 8 direct artifacts and reference depth 1. Use stable IDs, hashes, signatures, and deltas instead of repeating full history. Use established domain terminology, state each requirement once, and spend context on decisions, code, tests, or evidence rather than narration. ## Reference Playbook Load [skills/references/domains/api-products.md](../../../references/domains/api-products.md) only when this skill needs pack-wide decision tables, evidence patterns, or cross-skill handoff rules. See `contract.json` for the machine-readable contract.
Files in this package (2)
- SKILL.md 7 KB
- contract.json 5 KB
Versions
The database has no other skills named designing-api-versioning.
Database snapshot: 13.11.2026 · package version e75481bbf77b (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90designing-api-idempotency
Use when designing api idempotency is required during api-products product work, especially when the result must be traceable, independently reviewable, and safe to hand to another agent. - 90designing-api-rate-limits
Use when designing api rate limits is required during api-products product work, especially when the result must be traceable, independently reviewable, and safe to hand to another agent.