All skills
cleanup-deletion-governance
FoundationJIT onlyanalysis-agent/task-agent/review-agent: use when deleting dead code, flags, fallbacks, compatibility, APIs, or generated remnants; skip when no cleanup decision exists.
- Group
- Engineering workflow
- Supported roles
- MainAnalysisTaskReview
- Source
- SKILL.md
Use when
Trigger signals that make this skill the right owner
- cleanup deletion governance deletion path dead code caller search runtime generated reflection references feature flag removal fallback expiry compatibility branch deprecated API expand contract cleanup telemetry unused rollback cleanup issue
Do not use when
Anti-triggers — as binding as the triggers above
- no task-local cleanup deletion governance decision is required
Required inputs
What must be supplied before this skill can decide anything
- current task contract
- selected primary Professional Skill
- task-local trigger evidence
Output contract
What this skill owes the next role
- deletion decision with bounded unit, consumer and state evidence, exit condition, ordered cleanup, rollback or forward-repair limits, post-mutation proof, and residual owners
Escalation signals
When this skill must hand the decision back
- AI assisted work tends to add flags fallbacks compatibility branches and dead code without deletion path telemetry or rollback evidence
Loaded by
This skill never owns a task. These professionals may pull it in as Layer 3.
Targeted references
Each reference carries its own load condition. None of them enter context by default.
| Reference | Load when | Do not load when | Required by |
|---|---|---|---|
| benchmarks-and-patterns.mdbenchmark-pattern | Deletion, staging, conversion, or retention strategies remain viable. | The artifact has an accepted removal lifecycle. | ReviewTaskAnalysis |
| checklist.mddecision-checklist | Removal crosses public contracts, runtime registration, flags, or rollback. | A private artifact has no reachable or generated consumers. | ReviewTaskAnalysis |
| evidence-patterns.mdevidence-pattern | Deletion safety depends on fresh callers, telemetry, or consumer evidence. | No unused-or-safe-to-remove claim is being approved. | ReviewTaskAnalysis |