mzored/superpowers-cc-to-codex/finishing-a-development-branch-codex
- community
Checking that the SKILL.md file is still in the repository.
Complete development work with Codex-backed branch analysis and structured finish options. Use only when the user explicitly asks for the Codex-backed branch finishing workflow.
Install
npx vskill@latest install mzored/superpowers-cc-to-codex/finishing-a-development-branch-codexSKILL.md
Finishing a Development Branch
Keep Claude in the main thread for user interaction and git operations. Call the codex_branch_analysis MCP tool for bounded branch readiness analysis. Pass a prompt body that includes the current branch name, base branch, and what kind of finish decision is needed. Example:
<HARD-GATE> You MUST call codex_branch_analysis before presenting finish options. Branch readiness assessment requires Codex analysis. No analysis = no finish actions. </HARD-GATE>
Overview
Guide completion of development work by presenting clear options and handling the 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."
Workflow
Step 1: Call Branch Analysis
Call the codex_branch_analysis MCP tool to assess branch state. Pass a prompt body that includes the current branch name, base branch, and what kind of finish decision is needed. Example:
Step 2: Review Analysis Results
Check the readiness field:
| Readiness | Action | |
|---|---|---|
ready | Proceed to Step 3 | |
tests_failing | Show failures to user. Must fix before finishing. Stop here. | |
uncommitted_work | Prompt user to commit or stash first. Stop here. | |
needs_review | Suggest code review before finishing. User may override. |
If concerns array is non-empty, present them to the user.
Step 3: Present Options
Present exactly these 4 options:
Do not add explanation — keep options concise.
Step 4: Execute Choice
Option 1: Merge Locally
Then: Cleanup worktree (Step 5).
Option 2: Push and Create PR
Then: Cleanup worktree (Step 5).
Option 3: Keep As-Is
Report: "Keeping branch <name>. Worktree preserved at <path>."
Do not cleanup worktree.
Option 4: Discard
Confirm first:
Wait for exact confirmation. If confirmed:
Then: Cleanup worktree (Step 5).
Step 5: Cleanup Worktree
For Options 1, 2, 4 — check if in worktree:
If yes:
For Option 3: Keep worktree.
Red Flags
Never:
- Proceed with failing tests
- Merge without verifying tests on the result
- Delete work without typed confirmation
- Force-push without explicit user request
Always:
- Verify tests before offering options
- Present exactly 4 options
- Get typed confirmation for Option 4
- Clean up worktree for Options 1, 2, and 4 only
Integration
Called by:
subagent-driven-development— After all tasks complete- Can be invoked standalone for any feature branch
Pairs with:
requesting-code-review— Review before finishing (Option 2 especially)test-driven-development— TDD ensures tests pass before this skill runs
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/finishing-a-development-branch-codex/SKILL.md
Popularity
- Repository stars
- 7
- Repository forks
- 2
- 7-day trend score
- 10
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/mzored/superpowers-cc-to-codex/finishing-a-development-branch-codex)