When you need to abandon a branch mid-flight, this handles the cleanup ritual: captures what you learned, updates the GitHub issue, closes any open PR, and removes the worktree. It writes learnings to .branch-context.md first, then consolidates them into MEMORY.md on main using a disposable clone so you never checkout main in an active worktree. The branch is preserved by default unless you explicitly confirm deletion. Smart touch: it detects which step of the workflow you're in based on what artifacts exist, so the reflection is contextual. Basically prevents you from leaving half-finished branches scattered around without documenting why you stopped.
npx skills add https://github.com/camacho/ai-skills --skill bail