finishing-a-development-branch

finishing-a-development-branch is a skill for Claude Code from brunob54/superpowers-orchestrator. It costs 94 tokens per session (534 once invoked), scanned A, original, MIT.

A procedure for closing a development branch, which is a separate line of code changes, after the work has been verified.

In plain words
What is it for?
It checks the project, identifies the base branch, and safely carries out the selected branch outcome.
Why use it?
It makes the final choice explicit: merge the changes, open a pull request for review, leave the branch, or discard it.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the superpowers-orchestrator plugin — 28 skills, 2 agents, 6 hooks shipped together

Good fit It checks the project, identifies the base branch, and safely carries out the selected branch outcome.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/brunob54/superpowers-orchestrator/finishing-a-development-branch
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add brunob54/superpowers-orchestrator --skill finishing-a-development-branch
Clone the repo
git clone --depth 1 https://github.com/brunob54/superpowers-orchestrator

Made for: Claude Code.

Or install superpowers-orchestrator, the plugin that ships this one along with the rest of its 28 skills, 2 agents, 6 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for finishing-a-development-branch

README.md
[![agentmods](https://agentmods.dev/badge/skills/brunob54/superpowers-orchestrator/finishing-a-development-branch/github.svg)](https://agentmods.dev/skills/brunob54/superpowers-orchestrator/finishing-a-development-branch)
Your own site
<a href="https://agentmods.dev/skills/brunob54/superpowers-orchestrator/finishing-a-development-branch"><img src="https://agentmods.dev/badge/skills/brunob54/superpowers-orchestrator/finishing-a-development-branch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for finishing-a-development-branch

Your own site · 80×15
<a href="https://agentmods.dev/skills/brunob54/superpowers-orchestrator/finishing-a-development-branch"><img src="https://agentmods.dev/badge/skills/brunob54/superpowers-orchestrator/finishing-a-development-branch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 534 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00094 $0.00534
Opus 5 $0.00047 $0.00267
Sonnet 5 $0.00019 $0.00107
Haiku 4.5 $0.00009 $0.00053

Measured 11d ago against content hash 47bfaef1b7e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

finishing-a-development-branch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/finishing-a-development-branch/SKILL.md · 75 lines

What it actually says

Finishing a Development Branch

Close development work with explicit integration choice.

Step 1: Verify

Run full project verification before offering options.

If verification fails, stop and return to implementation.

Step 2: Identify Base Branch

Detect merge base (main/master or repo default) and confirm if unclear.

Step 3: Offer Exactly Four Options

  1. Merge back to <base-branch> locally
  2. Push branch and open PR
  3. Keep branch/worktree as-is
  4. Discard branch/worktree

Step 4: Execute Safely

Option 1

  • Checkout base
  • Pull latest
  • Merge feature branch
  • Re-run verification
  • Delete merged branch
  • Remove worktree

Option 2

  • Push feature branch
  • Create PR with a description that includes:
    • What changed — one-paragraph summary of the change set
    • Why — the motivation or problem this solves (link to plan doc if one exists)
    • How to verify — exact commands or steps a reviewer can run to confirm the change works
    • Notable decisions — any trade-offs made, alternatives rejected, or non-obvious choices. If session-log.md has [saved] entries written during this branch's lifetime, extract the Decisions and Rejected bullets from the most recent entry and include them here. This ensures PR reviewers see the "why" without needing to read the log.
  • Keep worktree by default (remove only if user asks)

Option 3

  • Keep branch and worktree
  • Report exact path and branch name

Option 4

  • Show destructive impact summary
  • Require exact confirmation: discard
  • Delete branch and remove worktree

Hard Rules

  • Never merge with failing tests.
  • Never delete work without explicit confirmation.
  • Never force-push unless explicitly requested.

Final Report

Include:

  • Selected option
  • Commands executed
  • Final branch/worktree status
  • PR link (if created)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 75 lines · 94 tokens per session scan A 47bfaef1b7e8

Subscribe to this mod's changes

finishing-a-development-branch is a skill published in the GitHub repository brunob54/superpowers-orchestrator (3 stars, last pushed yesterday), licensed MIT. It adds 94 tokens to every session and 534 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

deploy-steward

Mainline deploy steward. Consumes ready PRs, owns a lease on mainline landing, refreshes PR state, updates stale branches, waits for CI and deploy gates, merges or queues one candidate at a time, and opens repair tasks for failures.

SethGammon/Citadel · 56 tokens

release

CONTRIBUTOR TOOL - Cut a plugin release: bump plugin.json version, finalize CHANGELOG, update README if needed, gate on make ci, commit, tag vX.Y.Z, and create the GitHub release. Use when shipping a new plugin version. NOT distributed.

oliver-kriska/claude-elixir-phoenix · 60 tokens

release

Cut a brooks-lint release: set the version in package.json, propagate it across all four plugin manifests and every version-bearing text file (README badges, docs site metadata), write the CHANGELOG entry, validate, then commit, push, tag, and publish the GitHub release. Triggers when the maintainer asks to "release"…

hyhmrright/brooks-lint · 135 tokens

han-release

Cut a Han release: update CHANGELOG.md with the changes since the last release, bump and tag every plugin that changed as {plugin-name}--v{version} so a version-constrained dependency can resolve, and publish a GitHub release crediting every merged pull request and closed issue to the people behind it. Use when…

testdouble/han · 172 tokens

push-ci

Push to remote and monitor CI. Validates branch safety, executes git push WITH explicit user approval, then monitors CI run status via gh CLI. Use when: user says 'push', 'push and watch CI', 'ship it', 'push-ci'. Not for: committing (use /smart-commit), creating PRs (use /create-pr), merging (use /merge-prep).

sd0xdev/sd0x-harness · 82 tokens

ops-release

OPS on-demand: This skill should be used when the user asks to "release the plugin", "publish ops…

Lifecycle-Innovations-Limited/claude-ops · 26 tokens