merged
/merged - Post-Merge Cleanup
"Clean up after the merge."
After your PR is merged, this skill handles the cleanup: switch to main, pull latest, delete the merged branch.
Usage
/merged # Cleanup current merged branch
Steps
Step 1: Get current branch name
BRANCH=$(git branch --show-current)
echo "Current branch: $BRANCH"
If already on main or master, stop — nothing to clean up.
Step 2: Switch to main and pull
git checkout main
git pull origin main
Step 3: Delete the merged feature branch
# Delete local branch
git branch -d $BRANCH
# Delete remote branch (if it still exists)
git push origin --delete $BRANCH 2>/dev/null || echo "Remote branch already deleted"
Step 4: Confirm cleanup
echo "✅ Cleanup complete"
git branch -a | head -10
git log --oneline -3
Output
## ✅ Post-Merge Cleanup
- Switched to: `main`
- Pulled latest: [commit hash]
- Deleted branch: `[branch-name]`
- Ready for next task
**Latest commits on main:**
- [hash] [message]
- [hash] [message]
- [hash] [message]
When to Use
After your PR is merged on GitHub:
PR merged on GitHub
↓
/merged
↓
✅ Back on main, branch cleaned up
Safety
- Uses
git branch -d(safe delete) — won't delete unmerged branches - Checks if remote branch exists before deleting
- Won't run if already on main
ARGUMENTS: $ARGUMENTS
More from soul-brews-studio/oracle-skills-cli
philosophy
Display Oracle philosophy — the 5 Principles + Rule 6. Use when user asks about principles, "nothing deleted", "patterns over intentions", Oracle philosophy, or needs alignment check. Do NOT trigger for "who are you" (use /who-are-you), "what is oracle" (use /about-oracle), or session status questions.
50feel
Capture how the system feels — energy, momentum, burnout, breakthrough. Emotional intelligence for Oracle-human collaboration. Use when user says 'feel', 'how are we', 'energy check', 'burnout', 'momentum', or wants emotional awareness of the work.
36worktree
Work in an isolated git worktree — safe parallel editing, experimental branches, throwaway spikes. Use when user says "worktree", "isolate", "safe branch", "spike", "experiment", or wants to work without touching main.
29template
Skill template with Bun Shell pattern. Copy this folder to create new skills.
29schedule
Query schedule via Oracle API (Drizzle DB). Use when user says "schedule", "upcoming events", "what's on today", "calendar".
29forward
Create handoff + enter plan mode for next session. Use when user says "forward", "handoff", "wrap up", or before ending session.
29