Merge a GitHub PR and clean up the worktree. Use when merging a PR from a feature branch worktree that meets merging criteria.
This skill handles the complete workflow for merging a GitHub PR when working in a gwt-managed worktree. It coordinates the merge, worktree cleanup, and branch synchronization.
Use this skill when:
When working in a gwt worktree, the standard gh pr merge -sd command is insufficient because:
-d flag cannot delete the local branch while it's checked out in the current worktreeVerify the current state and PR readiness:
# Check current branch and worktree
gwt current
# Check PR status - ensure it's ready to merge
gh pr view
STOP and ask for instructions if:
git status shows modifications)Merge with squash (do not delete branches yet):
gh pr merge -s
Once the merge succeeds, proceed with cleanup.
Remove the current worktree and switch back to home:
gwt rm --this -y
If gh pr merge fails:
gh pr viewIf gwt rm --this fails:
gwt lsSearch for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer