Help us improve
Share bugs, ideas, or general feedback.
Use when implementation is complete and tests pass. Guides completion by presenting structured options for merge, PR, or cleanup.
npx claudepluginhub jagreehal/jagreehal-claude-skills --plugin code-reviewHow this skill is triggered — by the user, by Claude, or both
Slash command
/jagreehal-claude-skills:branch-completionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Guide completion of development work by verifying, presenting options, and executing cleanup.
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Guides systematic root-cause debugging when tests fail, builds break, or unexpected errors occur. Provides a structured triage checklist to preserve evidence, localize, and fix issues instead of guessing.
Share bugs, ideas, or general feedback.
Guide completion of development work by verifying, presenting options, and executing cleanup.
NO COMPLETION WITHOUT TEST VERIFICATION FIRST
Verify tests pass before presenting completion options.
Before presenting options:
npm test # or cargo test / pytest / go test ./...
If tests fail:
Tests failing (N failures). Must fix before completing:
[Show failures]
Cannot proceed with merge/PR until tests pass.
STOP. Don't proceed to Step 2.
If tests pass: Continue.
Present exactly these 4 options:
Implementation complete. What would you like to do?
1. Merge back to <base-branch> locally
2. Push and create a Pull Request
3. Keep the branch as-is (handle later)
4. Discard this work
Which option?
git checkout <base-branch>
git pull
git merge <feature-branch>
# Verify tests on merged result
npm test
git branch -d <feature-branch>
Then cleanup worktree (Step 4).
git push -u origin <feature-branch>
gh pr create --title "<title>" --body "$(cat <<'EOF'
## Summary
- [Changes]
## Test Plan
- [ ] [Verification steps]
EOF
)"
Keep worktree for PR iteration.
Report: "Keeping branch . Worktree preserved at ."
Don't cleanup worktree.
Confirm first:
This will permanently delete:
- Branch <name>
- All commits: <commit-list>
- Worktree at <path>
Type 'discard' to confirm.
Wait for exact confirmation. If confirmed:
git checkout <base-branch>
git branch -D <feature-branch>
Then cleanup worktree.
For Options 1, 2, 4 only:
git worktree remove <worktree-path>
For Option 3: Keep worktree.
| Option | Merge | Push | Keep Worktree | Cleanup Branch |
|---|---|---|---|---|
| 1. Merge locally | ✓ | - | - | ✓ |
| 2. Create PR | - | ✓ | ✓ | - |
| 3. Keep as-is | - | - | ✓ | - |
| 4. Discard | - | - | - | ✓ (force) |
| Skill | Relationship |
|---|---|
git-worktrees | Cleans up worktree created there |
verification-before-completion | Tests must pass first |
implementation-planning | Completes planned work |