finishing-a-development-branch

Present four deterministic options to finalize a development branch after tests pass.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/bjconlan/burndown --skill finishing-a-development-branch-bjconlan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/bjconlan/burndown/tree/main/.gemini/skills/finishing-a-development-branch
Command: npx skills add https://github.com/bjconlan/burndown --skill finishing-a-development-branch-bjconlan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides the completion of development work by offering a structured path to finalize a feature branch after tests pass, including merge, PR, or cleanup decisions.

Core Features & Use Cases

  • Verifies test status before decision making.
  • Presents four deterministic options for merging, PR, keeping, or discarding a feature branch.
  • Handles cleanup of worktrees and branches after the chosen workflow.

Quick Start

Finish the current development branch by selecting one of the four options after tests pass and confirming intended cleanup.

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 finalize a git development branch after tests pass?

To finalize a git development branch after tests pass, you can use a structured workflow that validates test status and presents four deterministic options: merge locally, push and create a pull request, keep the branch as-is, or discard it entirely.

What are my options for merging a feature branch in a structured workflow?

When merging a feature branch, the structured workflow offers four deterministic options: merge locally into the base branch, push and create a pull request, keep the branch as-is, or discard the work entirely.

How do I clean up git worktrees after merging a development branch?

To clean up git worktrees after merging a development branch, the finalization workflow handles optional worktree and branch cleanup automatically once you select your preferred merge, pull request, or discard option.

Does the branch finalization workflow detect the base branch automatically?

Yes, the branch finalization workflow detects the base branch automatically. It validates base branch detection alongside test status before presenting the structured options to merge, push, keep, or discard your development work.

Can I discard a development branch safely after tests pass?

Yes, you can discard a development branch safely after tests pass by selecting the discard option. The workflow ensures an auditable decision flow for discarding work and handles subsequent branch cleanup.

Why do I need a structured decision flow for git pull requests?

A structured decision flow for git pull requests ensures teams have an auditable path for integrating or discarding work. It validates tests and base branch detection before finalizing, preventing unreviewed or broken merges.