Decommission
Invoke as $decommission.
Use this skill when the user wants to remove a service, package, module, or infrastructure component from the project.
Process
- Identify the target to decommission.
- Audit all references: imports, configs, infrastructure, documentation.
- Categorize as active dependencies, dead references, or infrastructure.
- Present the removal plan and wait for approval. Use
update_planto track the work; userequest_user_inputonly if the session is already in Plan mode and a structured choice would help. - Execute removal: migrate consumers, delete target, clean up references.
- Verify: tests, build, grep for remaining references.
Output
- Dependencies Resolved: consumers migrated or updated
- Infrastructure Cleanup: automated vs. manual required
- Verification: tests, build, remaining references
Constraints
- Always audit dependencies before removing anything.
- Never delete cloud resources automatically — only IaC definitions.
- Present the plan and get approval before making changes. Do not assume a Claude-style
EnterPlanModeor clear-context accept flow exists.
Alignment Page
Follow the shared alignment-page convention via the packaged convention resolver; output path is alignment/decommission-{topic}.html.
Default Shipping Contract
Follow the shared shipping contract convention in CLAUDE.md.