finishing-a-development-branch

finishing-a-development-branch is a skill for Claude Code, Codex from event4u-app/agent-config. It costs 47 tokens per session (2,288 once invoked), scanned A, original, MIT.

A checklist for deciding what to do with a completed development branch, such as creating a pull request, merging, parking, or discarding it. It checks the branch and its tests before recommending the next state.

In plain words
What is it for?
Use it after a feature or bug fix is implemented to inspect Git status, verify the work, and choose a safe handoff or cleanup action.
Why use it?
It reduces the risk of sending unverified work for review or losing changes through an unconfirmed discard.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it after a feature or bug fix is implemented to inspect Git status, verify the work, and choose a safe handoff or cleanup action.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/event4u-app/agent-config/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 event4u-app/agent-config --skill finishing-a-development-branch
Clone the repo
git clone --depth 1 https://github.com/event4u-app/agent-config

Made for: Claude Code, Codex.

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/event4u-app/agent-config/finishing-a-development-branch/github.svg)](https://agentmods.dev/skills/event4u-app/agent-config/finishing-a-development-branch)
Your own site
<a href="https://agentmods.dev/skills/event4u-app/agent-config/finishing-a-development-branch"><img src="https://agentmods.dev/badge/skills/event4u-app/agent-config/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/event4u-app/agent-config/finishing-a-development-branch"><img src="https://agentmods.dev/badge/skills/event4u-app/agent-config/finishing-a-development-branch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,288 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 136
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • medium Excessive Agency · line 66
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00047 $0.02288
Opus 5 $0.00023 $0.01144
Sonnet 5 $0.00009 $0.00458
Haiku 4.5 $0.00005 $0.00229

Measured 7d ago against content hash c7b7b63f01e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 7d 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.

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

How it starts

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

finishing-a-development-branch

When to use

  • Implementation of a feature or bug fix is complete on a development branch
  • All planned commits are in, the user is ready to hand off
  • You are about to say "done" and suggest the next action
  • The branch has been idle and the user wants to decide its fate

Do NOT use when:

  • Still implementing — use targeted verification, not the ship gate
  • A PR already exists and is mid-review — use receiving-code-review
  • Only documentation changed and no tests apply — simplify to commit + PR without the full gate

Goal

Route a finished branch to its next state with evidence — merged, pushed for PR, parked, or discarded. Never let a half-verified branch become a PR. Never destroy work without explicit confirmation.

The Iron Law

NO MERGE, NO PR, NO DISCARD WITHOUT VERIFIED TESTS + EXPLICIT CHOICE.

Skipping verification because "it worked a minute ago" is how broken main happens. Discarding because "I assumed the user meant it" is how work gets lost.

Procedure

1. Inspect the current branch state

Before presenting any options, gather context. Do not assume — check:

  • git status — clean, or still dirty?
  • git log --oneline <base>..HEAD — what commits are actually on this branch?
  • git branch --show-current — the branch name you will be operating on
  • Remote state — is the branch pushed? Is there an open PR already?

If a PR already exists for this branch, stop — this is not a finishing step, route to receiving-code-review or fix-pr-comments instead.

2. Verify readiness

Run the end-of-work gate before presenting any options — see verify-completion-evidence. Steps 1–3 run only when quality.local_auto_run: true; under the default (false / missing) skip them without asking — the user runs quality tools manually, remote CI on the PR is the authoritative gate, and the readiness report says "quality gates delegated to remote CI" instead of claiming them green:

Read the full file on GitHub · 253 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. 7d ago First seen · 253 lines · 47 tokens per session scan A c7b7b63f01e4

Subscribe to this mod's changes

finishing-a-development-branch is a skill published in the GitHub repository event4u-app/agent-config (10 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 2,288 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-09-03.