tim-hub/superpowers-slim/finishing-a-development-branch
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Use when implementation is complete and tests pass, and the work needs integrating
Install
npx vskill@latest install tim-hub/superpowers-slim/finishing-a-development-branchSKILL.md
Finishing a Development Branch
- Run the project's full test suite. If anything fails, report the failures and stop — the menu comes only after a green suite.
- Detect the workspace, capturing all three values now, before anything changes directory:
- Establish the base branch from the plan, the conversation, or the branch's upstream. If it is not already known, ask — merging into the wrong base is expensive to undo.
- Present the menu exactly as written, then wait. The integration decision is your partner's.
Normal repo, or a worktree on a named branch:
Detached HEAD, meaning an externally managed workspace — no merge option:
- Merge locally:
cdto the main repo root, thengit checkout <base>,git pull,git merge <feature>, then run the tests on the merged result. If they fail, stop and leave the branch and worktree in place — nothing was pushed, so it is recoverable. Once green, clean up per step 7, thengit branch -d <feature>. - Push and PR:
git push -u origin <feature>, or from a detached HEADgit push origin HEAD:refs/heads/<new-branch>. Open the request against the base branch using the forge's CLI or the URL it prints on push, following the repo's PR template if it has one, and report the URL. Keep the worktree — PR feedback gets fixed there. - Cleanup, for a local merge only. Run it from outside the worktree, using the values captured in step 2. If
GIT_DIRequalsGIT_COMMONthere is no worktree to remove. IfWORKTREE_PATHis under.worktrees/orworktrees/it is ours:git worktree remove "$WORKTREE_PATH"thengit worktree prune. Otherwise the host environment owns it — leave it in place.
Discarding the work happens only when your partner asks for it in so many words. Show exactly what will be deleted — branch, commit list, worktree path — and wait for them to type discard before git branch -D.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/finishing-a-development-branch/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tim-hub/superpowers-slim/finishing-a-development-branch)