Dev & Engineering

Development Branch Finisher

Safely close completed development work after tests pass, with guided merge, PR, retention, or discard choices.

44/ 100
Not recommended

Current benefit does not outweigh risk or uncertainty.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 299k
Last updated
15d ago
License
MIT
git-workflowpull-requestsbranch-cleanupworktrees
+2test-verificationmerge-management

What does this skill do, and when should you use it?

This skill handles the final integration decision after implementation is complete. It verifies the project tests, inspects the Git repository or worktree state, and presents a menu suited to that environment. The available paths are local merge, push and Pull Request creation, keeping the branch, or confirmed discard. It does not implement features and stops before integration when tests fail.

Runs the project's test command and reports failures; reads Git directory, common Git directory, branch and HEAD state, base-branch candidates, and worktree path; presents four options for a normal repository or named-branch worktree and three options for detached HEAD; performs local merge, branch push, retention, or confirmed discard; reruns tests after a successful merge; removes only Superpowers-created worktrees under .worktrees/ or worktrees/, prunes stale worktree registrations, and deletes the relevant branch when applicable.

Good fit
  • A developer has finished implementation and passed tests, and needs to choose between local integration and opening a Pull Request.
  • A developer completed work in a Git worktree and needs provenance-aware cleanup after merging or discarding it.
  • A developer is in an externally managed detached-HEAD workspace and must avoid being offered an invalid local-merge path.
  • A team wants explicit confirmation before deleting a branch, commits, and workspace.

How do you install this skill?

Before you use it
  • Do not execute the slash-separated test examples as one shell command; first identify the project's actual test entry point.
  • Push, pull, merge, and git branch -D change remote or local history; confirm the target branch, remote, and recoverability before execution.
  • Although discard requires typed confirmation, verify the commit list, worktree path, and ownership to avoid deleting a host-managed workspace.
  • The skill provides no explicit guidance for Chinese interaction, non-Git projects, or mainland-China network conditions.
Before you start
Your agent needs
  • Shell / CLI
  • Network access
  • Local filesystem
Install first
  • Git

No standalone installation procedure is documented for this individual skill. It is bundled at skills/finishing-a-development-branch/SKILL.md in the Superpowers monorepo. The README documents installing the full Superpowers collection per coding-agent harness; for Codex CLI, open /plugins, search for superpowers, and select Install Plugin.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/obra/superpowers.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/skills/finishing-a-development-branch" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • I'm using the finishing-a-development-branch skill to complete this work.

Trigger it when implementation is complete and all tests pass. At the start, announce: "I'm using the finishing-a-development-branch skill to complete this work." Run a project test command such as npm test, cargo test, pytest, or go test ./..., inspect the Git environment, and choose one of the presented options. If tests fail, fix them before proceeding; discard requires the exact confirmation discard.

What are this skill's strengths and limitations?

Pros
  • Verifies tests before offering integration choices.
  • Adapts the menu to normal repositories, named-branch worktrees, and detached HEAD.
  • Uses a provenance check before removing worktrees.
  • Requires explicit confirmation for destructive discard operations.
Limitations
  • It depends on an available project test command and does not define one universal command.
  • Its scope is limited to branch completion and integration, not implementation, debugging, or test authoring.
  • The source does not document a standalone installation path for this skill.
  • Push and Pull Request workflows require a configured remote and sufficient Git permissions.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Development Branch Finisher this page 44 · Not recommended ★ 299k 15d ago MIT
RenderCV Issue Solver 51 · Use with care ★ 18k 7mo ago MIT
cmux Review — Pre-merge Agent Code Review 55 · Use with care ★ 28k 11d ago NOASSERTION
RenderCV Typst Package Publisher 51 · Use with care ★ 18k 7mo ago MIT
Commit, Push & PR Skill 54 · Use with care ★ 26k 11d ago MIT

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Not recommended
44/ 100 5-point scale 2.2 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust15 / 25 · 3.0/5

The skill requires test verification, presents explicit user choices for merge, push, keep, or discard, requires typing discard before deletion, and checks worktree provenance before cleanup. Points are deducted because push, pull, merge, and force-delete still create external or irreversible effects without detailed per-action confirmation, rollback guidance, sensitive-data handling, or recovery procedures for failed commands.

2Reliability6 / 20 · 1.5/5

The sequence is coherent and covers test gating, environment detection, branch selection, and conditional cleanup. Points are deducted because the test command is written as an ambiguous slash-separated list rather than a project-detection procedure, and failure handling for missing branches, unavailable remotes, conflicts, permissions, and cleanup errors is thin. Static calibration caps this at 10.

3Adaptability8 / 15 · 2.7/5

The target scenario is clear: decide how to complete a development branch after implementation and passing tests; normal repositories, named worktrees, and detached HEAD receive different menus. Points are deducted because boundaries for non-Git projects, projects without tests, unusual branch layouts, missing remotes, and different agent hosts are under-specified, with no Chinese-language or mainland-China environment guidance.

4Convention8 / 15 · 2.7/5

The document uses layered sections, option tables, a quick reference, common mistakes, and red flags; naming and menus are stable, while repository context supplies an MIT license and version. Points are deducted because the selected skill lacks its own installation notes, version constraints, changelog, maintenance owner, or update path, and publisher identity is unverified by the FollowSkills registry.

5Effectiveness5 / 15 · 1.7/5

The skill can standardize post-development branch decisions and cleanup, while preserving PR worktrees and requiring confirmation before deletion. Points are deducted because test commands, base-branch detection, and host-specific behavior still require manual adaptation; the supplied files contain no directly verified output or execution evidence for this skill. Static calibration caps this at 7.

6Verifiability2 / 10 · 1.0/5

The skill provides auditable commands, state conditions, and failure rules, and the repository context mentions broader tests and an evaluation harness. Points are deducted because the supplied tests primarily cover other components and do not demonstrate dedicated behavioral coverage or third-party execution evidence for this skill, so its key paths are not independently reproducible. Static calibration caps this at 5.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 19, 2026 Reviewed revision d884ae04edeb Review evidence[1][2][3][4][5][6][7]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Is it free?
The source identifies Superpowers as MIT-licensed; it provides no separate pricing information for this skill.
What happens when tests fail?
The skill reports the failure count and details, then stops before presenting integration options.
Will it remove every worktree?
No. It removes only worktrees under .worktrees/ or worktrees/ that Superpowers created. Host-managed workspaces are left in place.
Does the Pull Request option remove the worktree?
No. The worktree remains available for iteration on Pull Request feedback.

More skills from this repository

All from obra/superpowers

Dev & Engineering

Verification Before Completion

Require fresh evidence before claiming work is complete, fixed, or passing.

★ 299k FS 48 Use with care 15d ago
Dev & Engineering

Subagent-Driven Development

Execute independent implementation tasks with fresh agents and review gates.

★ 299k FS 50 Use with care 15d ago
Dev & Engineering

Executing Plans

Turn a written implementation plan into verified, checkpointed development work.

★ 299k FS 54 Use with care 15d ago
Dev & Engineering

Systematic Debugging

Find the root cause before changing code, reducing trial-and-error rework.

★ 299k FS 48 Use with care 15d ago
Dev & Engineering

Continuous Code Review

Dispatch focused reviews after tasks, major features, and before merges to catch problems early.

★ 299k FS 53 Use with care 15d ago
Dev & Engineering

Rigorous Code Review Reception

Verify review feedback before changing code, then act on technical evidence.

★ 299k FS 52 Use with care 15d ago
Dev & Engineering

Isolated Git Workspace

Creates an isolated workspace for feature work, then prepares the project and verifies its clean test baseline.

★ 299k FS 52 Use with care 15d ago
Dev & Engineering

Writing Plans

Turn multi-step software requirements into executable, testable implementation plans.

★ 299k FS 53 Use with care 15d ago
Dev & Engineering

Test-Driven Development

Prove expected behavior with a failing test before writing implementation code.

★ 299k FS 52 Use with care 15d ago
Dev & Engineering

Design Before Code

Clarify intent, compare approaches, and secure an approved design before implementation begins.

★ 299k FS 50 Use with care 15d ago
Dev & Engineering

Parallel Agent Dispatch

Delegate independent engineering problems to focused agents and investigate them concurrently.

★ 299k FS 50 Use with care 15d ago
Dev & Engineering

Test-Driven Skill Authoring

Create, revise, and verify Agent Skills with a test-driven documentation workflow.

★ 299k FS 44 Not recommended 15d ago
Dev & Engineering

Superpowers Skill Bootstrap

Ensures applicable skills are discovered and invoked before every response or action.

★ 299k FS 35 Not recommended 15d ago

Related skills