finishing-a-development-branch

Verify build and test health before presenting merge, PR, keep, or discard options.

Updated May 6, 2026
One-click install
npx skills add https://github.com/korwlik23/skills --skill finishing-a-development-branch-korwlik23
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/korwlik23/skills/tree/main/v1.1/skills/finishing-a-development-branch
Command: npx skills add https://github.com/korwlik23/skills --skill finishing-a-development-branch-korwlik23

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Finishing a development branch without risking broken code, lost work, or unwanted merges is hard—this Skill helps you verify the branch and then choose the right next action with clear guardrails.

Core Features & Use Cases

  • Branch green verification: Confirms the branch is buildable and passes tests/lint/type-check before any finishing action.
  • Change summarization: Produces a concise summary of what changed, key risks, and leftovers so the decision is informed.
  • User-controlled outcomes: Presents merge, PR, keep, or discard options without taking destructive actions unless explicitly instructed.
  • Destructive action gate: Requires explicit, specific confirmation for deleting/discarding work to prevent irreversible loss.

Quick Start

Use this skill when your feature is ready and you want the agent to verify the branch status and guide you through merge/PR/keep/discard decisions.

Frequently Asked Questions about finishing-a-development-branch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely finish a git branch and decide whether to merge or discard it?

A branch finishing workflow verifies build, test, lint, and type-check health before presenting merge, PR, keep, or discard options. It summarizes changes and risks, ensuring release readiness without taking destructive actions like delete or push without explicit instruction.

How do I verify my pull request is ready for a merge workflow?

Verify pull request readiness by running build, test, lint, and type-check checks to confirm the branch is green. A verification process then summarizes changes and risks, enforcing a safety gate before allowing any merge workflow to proceed.

Can I automatically delete a development branch after tests pass?

You cannot automatically delete a development branch because a destructive-action confirmation gate requires explicit user instruction. The workflow enforces this safety measure to prevent irreversible loss, allowing discarding or deleting only after specific confirmation.

What is the best way to summarize branch changes before creating a pull request?

The best way to summarize branch changes is to generate a concise report of what changed, key risks, and leftovers after verifying build and test health. This informs your pull request creation and final merge, PR, keep, or discard decision.

Does branch management work without a shared rules contract?

Branch management using this workflow requires reading a shared rules contract to function correctly. The contract defines the verification-before-completion steps and confirmation gates needed to safely navigate merge, PR, keep, or discard outcomes.