You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add cleanup-branch skill for post-PR branch cleanup #42
Add a cleanup-branch project-level skill that switches to master, pulls latest changes, and deletes the current feature branch — safe to invoke after a PR is merged.
Motivation
After merging a PR, the cleanup sequence (checkout master → pull → delete branch) is repetitive. A dedicated skill eliminates the need to remember the -D flag nuance and the master-guard safety check.
File Locations
File
Action
.claude/skills/cleanup-branch/SKILL.md
Create
Behaviour
Captures the current branch name before switching
Checks out master and pulls
Deletes the feature branch using -D (safe after remote merge)
Guards against deleting master itself
Verification
Skill file exists at .claude/skills/cleanup-branch/SKILL.md
Running /cleanup-branch on a feature branch switches to master, pulls, and deletes the branch
Running /cleanup-branch on master does NOT delete master
Activity
add cleanup-branch skill for post-PR branch cleanup (closes #42)
add cleanup-branch skill for post-PR branch cleanup (closes #42) (#43)