| name | deprecation-management |
| description | Manage an explicitly approved rename, merge, supersession, discouragement, deprecation, or removal with compatibility routing and evidence-based exit criteria. Do not activate for ordinary edits, speculative consolidation, or a direct correction with no lifecycle impact. |
Deprecation Management
Mission
Keep the skillpack from accumulating obsolete skills, duplicate docs, and stale policy paths.
Authority and Artifact Policy
- Activating this skill grants no authority to change lifecycle state, compatibility behavior, files, or release policy.
- Apply a lifecycle transition only when the user or an existing repository contract explicitly authorizes that transition.
- A read-only audit may recommend a transition but must not record or implement it.
Trigger Rule
Use this skill when:
- a skill is renamed, merged, split, or superseded
- a document becomes obsolete but still has external value
- a validator should warn before a future removal
- users need migration guidance between old and new workflows
Scope Boundary
This skill owns lifecycle state and migration policy.
Use File Maintenance for factual cleanup.
Use File Structure Optimization for file moves and layout changes.
Deprecation States
active: supported and recommended
discouraged: still valid but no longer preferred
deprecated: supported temporarily with replacement guidance
removed: no longer present; migration notes remain in changelog or docs
Required Deprecation Record
Every deprecated item must record:
- item name or path
- current state
- replacement
- reason
- first deprecated date
- removal criteria
- migration notes
- compatibility alias or wrapper behavior
- observation evidence and rollback trigger
Compatibility Rules
- use one-way aliases or wrappers; do not create alias chains
- preserve explicit user commands and public names through the announced window
- exclude compatibility wrappers from active skill-count budgets
- emit canonical names in new artifacts while accepting supported legacy names
- preserve historical artifacts under the schema and names that created them
Evidence Window
Before hard removal, require:
- shadow-routing parity for all mandatory safety scenarios
- at least 30 representative tasks or two releases of observation
- zero unexplained alias failures
- no material increase in corrections, backtracking, validation failures, or latency
- exact-commit green release evidence
If evidence is unavailable, prefer discouraged or deprecated over removal.
Anti-Overuse Rules
Use when:
- lifecycle state changes are real
- compatibility or migration matters
- an old path or skill may still be referenced
Do not use when:
- a file is simply edited
- a typo or stale line can be fixed directly
- no replacement or compatibility issue exists
Stop after:
- state and replacement are documented
- references are updated or intentionally preserved
- validators or docs warn only where useful
Rollback when the replacement changes explicit command behavior, omits a safety gate, breaks artifact compatibility, or worsens measured outcomes beyond the accepted threshold.
Output Contract
When applying this skill, provide:
- deprecated item(s)
- replacement path
- migration impact
- validator or documentation changes
- removal criteria