cleanup
Clean up after merging a PR - checkout base, fetch, pull, delete feature branch
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Clean up after merging a PR - checkout base, fetch, pull, delete feature branch
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | cleanup |
| description | Clean up after merging a PR - checkout base, fetch, pull, delete feature branch |
| user-invocable | true |
Clean up git repository after merging a PR by running the cleanup script.
/cleanup
Run the cleanup script:
~/.claude/bin/git-cleanup-merged-branch.sh
The script will:
git branch -d (safe delete) - will warn if branch isn't fully merged# Auto-detect everything
~/.claude/bin/git-cleanup-merged-branch.sh
# Specify feature branch
~/.claude/bin/git-cleanup-merged-branch.sh issue-123-my-feature
# Specify both branches
~/.claude/bin/git-cleanup-merged-branch.sh issue-123-my-feature develop
Automatically implement all sub-issues of an epic in dependency order
Implement a GitHub issue with automated PR creation
End-of-session retrospective. Captures knowledge from any working session (debug, implementation, config, deployment) as reusable scripts, CLAUDE.md procedures, or skill proposals. Run before ending a session to prevent knowledge loss.
Decompose a large GitHub issue into sub-issues and create a tracking draft PR
OWASP-guided security code review for a specific domain or issue
Project kickoff checklist based on lessons learned from previous projects. Generates a tailored checklist and optionally creates GitHub issues.