git-cleanup
Installation
SKILL.md
Git Cleanup
Prove each candidate's work reached trunk, print a scoped plan, and remove only unchanged candidates covered by the user's cleanup request. Use the packaged scripts/cleanup.py for classification and deletion. Keep verification and execution on the same repository and machine.
Contract
Inputs:
- Repository root with an
originremote and authenticated GitHub access - Optional trunk, otherwise the repository's default branch
- Mode:
verify,dry-run(default), orprune;verifyis a read-only alias that emits the same complete plan asdry-run - Scope:
all(default),branches,local-branches,remote-branches, orworktrees - For pruning: the previously printed JSON plan and authorization for its scope
Outputs: