finishing-a-development-branch

finishing-a-development-branch is a skill for Claude Code from andreymudri/claude-teammates. It costs 34 tokens per session (1,878 once invoked), scanned A, original, MIT.

A finishing procedure for a completed development branch. It reruns the required checks, called gates, and determines how the branch should be integrated.

In plain words
What is it for?
Use it to recheck each applicable phase of a development run and decide whether the branch is ready to land.
Why use it?
It verifies the current code with fresh checks instead of relying on earlier reports or claims that tests passed.

Skill for Claude Code

Written for Claude Code: $CLAUDE_PLUGIN_ROOT variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claude-teammates plugin — 14 skills, 3 agents, 2 hooks shipped together

Good fit Use it to recheck each applicable phase of a development run and decide whether the branch is ready to land.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add andreymudri/claude-teammates
Claude Code
/plugin install claude-teammates

Made for: Claude Code.

Or install claude-teammates, the plugin that ships this one along with the rest of its 14 skills, 3 agents, 2 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/andreymudri/claude-teammates/finishing-a-development-branch/github.svg)](https://agentmods.dev/skills/andreymudri/claude-teammates/finishing-a-development-branch)
Your own site
<a href="https://agentmods.dev/skills/andreymudri/claude-teammates/finishing-a-development-branch"><img src="https://agentmods.dev/badge/skills/andreymudri/claude-teammates/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/andreymudri/claude-teammates/finishing-a-development-branch"><img src="https://agentmods.dev/badge/skills/andreymudri/claude-teammates/finishing-a-development-branch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,878 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.00034 $0.01878
Opus 5 $0.00017 $0.00939
Sonnet 5 $0.00007 $0.00376
Haiku 4.5 $0.00003 $0.00188

Measured 11d ago against content hash 14f00b3e90a6, 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 · 147 lines

How it starts

The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Finishing a Development Branch

Work is not finished because the code looks done. It is finished when a gate you just ran says so — not when a record claims one already did.

The completion gate

Work is not finished because the code looks done, and never because "the tests looked green" or "the teammate said it was done" earlier in the conversation. Which check applies depends on what state the run is in — check in this order.

1. Fleet run: status.gates is recorded

If .teammates/<run-id>/status.json exists and has a non-empty status.gates, this is a fleet run — but a record in status.gates is a report written by the agents being enforced, and status.json is agent-writable, so it is never trusted as evidence. A recorded verdict of PASS proves nothing by itself:

{
  "gates": {
    "<phaseName>": {
      "verdict": "PASS",
      "failed": [],
      "skipped": [],
      "pending": [],
      "recordedAt": 1785952191621
    }
  }
}

Use status.gates only to see which phases the run executed. For each of those phases, re-run the gate now:

node "$CLAUDE_PLUGIN_ROOT/scripts/cli.mjs" gate --run <runId> --plan <planPath> --root <project root> --phase <name>

gate recomputes fileset and ownership from git at the moment it runs — it does not read or trust the old record. If any phase's fresh run does not exit 0, the work is not finished — name the phase and stop.

2. Inline run: a run directory exists but gates are absent or empty

executing-plans runs plans inline, task by task, and never writes a gate manifest or a verdict — that's by design, not an omission. If status.json exists but status.gates is absent or empty, the run is inline, and the absent gates are expected, not a fault to fix here.

There is no fleet history to derive fileset or ownership from, so run the gate solo:

node "$CLAUDE_PLUGIN_ROOT/scripts/cli.mjs" gate --no-fleet --root <project root>

--no-fleet is the only way the enforcement checks are skipped, and it runs the project's full test suite (and any other command checks teammates.gate.json declares) fresh — a remembered result, or a run from earlier in this session, is not evidence. Once it exits 0, proceed.

Read the full file on GitHub · 147 lines

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 · 147 lines · 34 tokens per session scan A 14f00b3e90a6

Subscribe to this mod's changes

finishing-a-development-branch is a skill published in the GitHub repository andreymudri/claude-teammates (2 stars, last pushed 10d ago), licensed MIT. It adds 34 tokens to every session and 1,878 once invoked, about $0.0002 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

agent-framework-py-release

Use when cutting a Python release for the microsoft/agent-framework monorepo. Triggers on "bump py versions", "cut a python release", "prepare release PR for python", "release py packages", "bump python to X.Y.Z", or similar requests to bump Python package versions and prepare a release PR. Handles all four lifecycle…

microsoft/agent-framework · 103 tokens

hatch3r-cli-gh

GitHub CLI — repos, issues, PRs, releases, gists. Use when drafting GitHub pull requests, issues, releases, gists, or workflow dispatches; invoke gh. Authenticates via the platform's native token mechanism (OAuth / PAT).

hatch3r/hatch3r · 62 tokens

gh-pr-merge-unstable-state-needs-auto-and-watch-branch-deletes

Diagnose and recover from two adjacent gh pr merge failure modes that masquerade as merge conflicts. Use when: (1) gh pr merge --squash (or --merge) errors with "To have the pull request merged after all the requirements have been met, add the --auto flag" AND "Run the following to resolve the merge conflicts locally"…

wan-huiyan/agent-traffic-control · 417 tokens

merge-queue-thrash-stop-inflow-and-open-prs-as-drafts

When main moves faster than the slowest CI leg, every open branch goes stale before it can merge and the whole queue jams with nothing red. Use when: (1) several PRs sit at mergeStateStatus BEHIND with auto-merge armed and none of them lands; (2) branches are being updated, re-running CI and going stale again before…

wan-huiyan/agent-traffic-control · 285 tokens

subagent-reports-complete-but-pr-unmerged

Catch the systematic gap between sub-agent "completed" status and the actual end state of a PR-merge orchestration task. Use when: (1) you've dispatched multiple parallel sub-agents (general-purpose or specialist) to open + review + merge PRs, (2) the parent receives with status: completed but the sub-agent's last…

wan-huiyan/agent-traffic-control · 372 tokens

github-release-management

Comprehensive GitHub release orchestration with AI swarm coordination for automated versioning, testing, deployment, and rollback management.

ruvnet/agentic-flow · 27 tokens