finishing-a-development-branch
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting…
Skill by nocksock
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/nocksock-finishing-a-development-branch
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
finishing-a-development-branch- Description
- Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup
- License
- MIT
- Instructions
- 194 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Finishing a Development Branch ## Overview Guide completion of development work by presenting clear options and handling chosen workflow. **Core principle:** Verify tests → Present options → Execute choice → Clean up. **Announce at start:** "I'm using the finishing-a-development-branch skill to complete this work." ## The Process ### Step 1: Verify Tests **Before presenting options, verify tests pass:** ```bash # Run project's test suite npm test / 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 to Step 2. ### Step 2: Determine Base Branch ```bash # Try common base branches git merge-base HEAD main 2>/dev/null || git merge-base HEAD master 2>/dev/null ``` Or ask: "This branch split from main - is that correct?" ### Step 3: Present Options Use the question tool to present exactly these 4 options: **Question:** "Implementation complete. What would you like to do?" **Options:** 1. Merge back to <base-branch> locally 2. Push and create a Pull Request 3. Keep the branch as-is (I'll handle it later) 4. Discard this work **Keep options concise** - don't add explanation in the question. ### Step 4: Execute Choice #### Option 1: Merge Locally ```bash # Switch to base branch git checkout <base-branch> # Pull latest git pull # Merge feature branch git merge <feature-branch> # Verify tests on merged result <test command> # If tests pass git branch -d <feature-branch> ``` Then: Cleanup worktree (Step 5) #### Option 2: Push and Create PR ```bash # Push branch git push -u origin <feature-branch> # Create PR gh pr create --title "<title>" --body "$(cat <<'EOF' ## Summary <2-3 bullets of what changed> ## Test Plan - [ ] <verification steps> EOF )" ``` Then: Cleanup worktree (Step 5) #### Option 3: Keep As-Is Report: "Keeping branch <name>. Worktree preserved at <path>." **Don't cleanup worktree.** #### Option 4: Discard **Confirm first:** ``` This will permanently delete: - Branch <name> - All commits: <commit-list> - Worktree at <path> Type 'discard' to confirm. ``` Wait for exact confirmation.
From nocksock/superpowers, MIT.
More from nocksock/superpowers
- 0.432score
jotai-atom-architecture
nocksock
Use when designing Jotai state architecture, setting up atom composition patterns, managing large objects, or debugging re-render issues - ensures proper atom…
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
making-commits
nocksock
Use when ready to commit code changes.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
r3f-performance-optimization
nocksock
Use when optimizing React Three Fiber scenes, experiencing frame drops, high draw calls, or implementing 3D performance features - ensures systematic…
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
deep-work-session
nocksock
Use when user explicitly mentions 'deep work' or signals substantial work ('let's build/implement X').
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
holistic-view
nocksock
Use this when given larger tasks, before starting the implementation, or during code reviews.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
session-handoff
nocksock
Use when approaching context limits (75-85%) to write comprehensive handoff documents for session continuity.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
component-authoring
nocksock
Use this when writing any kind of UI components in any language (heex, react, web components, and so on).
SkillDFreshness: D★ 1Claude Code +9 - 0.431score
code-cleanup
nocksock
Use when asked to clean up code, or after introducing a new larger feature.
SkillDFreshness: D★ 1Claude Code +9 - 0.423score
prioritise-todos
nocksock
Use this to rate and prioritise todos
SkillDFreshness: D★ 1Claude Code +9 - 0.423score
elixir-code
nocksock
ALWAYS use this skill, whenever you touch elixir code
SkillDFreshness: D★ 1Claude Code +9 - 0.423score
find-code-todos
nocksock
Use this to find todos in the source code
SkillDFreshness: D★ 1Claude Code +9 - 0.409score
brainstorming
nocksock
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jan 31, 2026 (9 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/nocksock/superpowers
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from nocksock
- 0.432score
making-commits
nocksock
Use when ready to commit code changes.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
jotai-atom-architecture
nocksock
Use when designing Jotai state architecture, setting up atom composition patterns, managing large objects, or debugging re-render issues - ensures proper atom…
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
deep-work-session
nocksock
Use when user explicitly mentions 'deep work' or signals substantial work ('let's build/implement X').
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
holistic-view
nocksock
Use this when given larger tasks, before starting the implementation, or during code reviews.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
component-authoring
nocksock
Use this when writing any kind of UI components in any language (heex, react, web components, and so on).
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
r3f-performance-optimization
nocksock
Use when optimizing React Three Fiber scenes, experiencing frame drops, high draw calls, or implementing 3D performance features - ensures systematic…
SkillDFreshness: D★ 1Claude Code +9
Cite this page
finishing-a-development-branch skill. Agent Mart. https://agentmart.dev/skills/nocksock-finishing-a-development-branch (last updated 2026-10-24)