branch-inspector
Installation
SKILL.md
Branch Inspector
Inspects a single git branch against main to support a cleanup decision. The skill produces a deep overview of what the branch contains, surfaces signals that inform the keep/delete/archive/PR decision, asks the user to choose, then emits a concrete action plan for the chosen path.
When to use
- The user is cleaning up branches and wants to understand one before acting on it.
- The user names a specific branch ("look at
feature/foo", "isexperiment/xworth keeping?"). - The user wants a deep summary of what a branch implements before deciding its fate.
Do not use this skill for: scanning many branches at once, full repo audits, or reviewing a PR diff line-by-line.
Inputs
The branch name is passed as an argument. If the user invokes the skill without one, ask which branch to inspect — do not default to the current branch silently.
The branch may be local (feature/foo), remote (origin/feature/foo), or both. Detect which exist and report both states.