api-deprecation

Coordinate API deprecation lifecycles with RFC 8594 Sunset headers and migration playbooks.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ohsonerdy/openclaw-frontier-stack --skill api-deprecation
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: api-deprecation
Source: https://github.com/ohsonerdy/openclaw-frontier-stack/tree/main/skills/api-deprecation
Command: npx skills add https://github.com/ohsonerdy/openclaw-frontier-stack --skill api-deprecation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps you retire an API surface safely by ensuring consumers get clear timelines, visible in-product deprecation signals, measurable usage telemetry, and a concrete migration path before removal.

Core Features & Use Cases

  • Five-stage deprecation lifecycle: announce, mark, instrument, migrate, and remove with concrete schedules and guardrails to prevent “surprise breakage.”
  • Standards-aligned deprecation signaling: apply RFC 8594 Sunset headers, Deprecation headers, and schema/doc markers so clients can detect the change.
  • Migration + recovery playbooks: provides escalation for consumers who haven’t moved (brownouts, 410 Gone mechanics, allow-list extensions, and post-mortems), including special cases like schema field removal and behavior changes.

Quick Start

Use the api-deprecation skill to plan a v1-to-v2 sunset by specifying what to retire, who is affected, the announce-to-sunset window, the migration supports you will provide, and the telemetry and brownout mechanics you will run.

Frequently Asked Questions about api-deprecation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely retire an API version without breaking existing consumers?▼

Safe API deprecation requires a five-stage lifecycle: announce timelines, mark endpoints with Sunset and Deprecation HTTP headers, instrument per-consumer telemetry, provide a migration path, and execute removal with 410 Gone brownout mechanics and a recovery playbook for holdouts.

What HTTP headers are used to signal API deprecation to clients?▼

API deprecation signaling uses RFC 8594 Sunset headers and Deprecation headers so client applications can programmatically detect that an endpoint, field, or behavior is being phased out and plan migration accordingly.

How do I handle consumers who do not migrate before the API sunset date?▼

Handle unmigrated consumers by executing 410 Gone brownout mechanics, extending allow-lists for critical holdouts, and following a structured recovery playbook that includes escalation procedures and post-mortems to manage final removal.

When do I need to use an API deprecation lifecycle for schema changes?▼

An API deprecation lifecycle is needed for schema changes when consumers still rely on older surfaces, such as removing schema fields, migrating authentication schemes, or updating webhook payloads, ensuring a structured and measurable migration path.

How do I plan a v1 to v2 API sunset with migration support?▼

Plan a v1 to v2 API sunset by specifying what endpoints to retire, who is affected, the announce-to-sunset window, the migration supports provided, and the telemetry and brownout mechanics used to enforce the transition safely.