AGENT SKILL
decommission
Systematically tear down and remove a service, package, or infrastructure component
- License 许可
- MIT
- 最近更新
- 2026-11-10
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- decommission
- type
- execution
- version
- v0.1
- description
- Systematically tear down and remove a service, package, or infrastructure component
- required_conventions
- [ "alignment-page" ]
02 资源文件 3
- 参考文档agents/openai.yaml254 B
- 参考文档ALIGNMENT-PAGE.md51.2 KB
- 参考文档CHANGELOG.md311 B
03 SKILL.md 正文
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.
04 同仓库更多 Skills
source-checkout-allowed
Valid source-checkout-only fixture.
★ 1
deck-install-valid
Valid deck install fixture.
★ 1
codex-pack-guard-valid
Valid Codex Pack Availability Guard fixture.
★ 1
codex-missing-skill-valid
Valid Codex missing skill fallback fixture.
★ 1
codex-base-skill-fallback-valid
Valid Codex base skill fallback fixture.
★ 1
claude-pack-guard-valid
Valid Claude Pack Availability Guard fixture.
★ 1