cleanup
Clean up after merging a PR - checkout base, fetch, pull, delete feature branch
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Clean up after merging a PR - checkout base, fetch, pull, delete feature branch
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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.
| 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