finishing-a-development-branch

Guide merge, PR, or cleanup decisions after tests pass in Git workflows.

6|3|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/alo-exp/silver-bullet --skill finishing-a-development-branch-alo-exp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/alo-exp/silver-bullet/tree/main/forge/skills/finishing-a-development-branch
Command: npx skills add https://github.com/alo-exp/silver-bullet --skill finishing-a-development-branch-alo-exp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Finishing a development branch helps teams wrap up work by providing a clear, guided path to finalize changes after tests pass, preventing ad-hoc merges and ensuring accountability.

Core Features & Use Cases

  • Verify tests pass before finalizing to avoid introducing failures into the main history.
  • Determine the appropriate base branch, then either merge locally or create a pull request with a clean history.
  • Present exactly four options (Merge locally, Push and create PR, Keep the branch as-is, Discard this work) and perform the chosen action with automated cleanup.

Quick Start

After tests pass, choose one of the four options to finalize the feature branch.

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?

Finishing a development branch after tests pass involves selecting one of four structured options: merge locally, push and create a PR, keep the branch, or discard the work. This ensures safe transitions by verifying test success and detecting the common base branch before executing the chosen action.

What are the options for finishing a feature branch in Git workflows?

The options for finishing a feature branch in Git workflows include merging locally, pushing and creating a pull request, keeping the branch as-is, or discarding the work entirely. Each option is executed with standardized logic and automated branch cleanup to ensure auditable transitions.

Can I create a pull request and clean up my feature branch automatically?

Yes, you can create a pull request and clean up your feature branch automatically by selecting the push and create PR option. This action handles common base detection, PR creation with a clean history, and standardized branch cleanup upon completion.

Does finishing a development branch require tests to pass first?

Yes, finishing a development branch requires tests to pass first to prevent introducing failures into the main history. The process mandates test success verification before presenting any merge, pull request, or cleanup options to ensure safe finalization.

When should I discard work on a development branch instead of merging?

You should discard work on a development branch instead of merging when the changes are no longer needed or fail to meet project standards. This option is one of the four structured finalization choices available after tests pass, ensuring unwanted work is cleanly removed.

How does base-branch detection work when finalizing a feature branch?

Base-branch detection when finalizing a feature branch identifies the appropriate target branch for merging or pull request creation. This ensures changes are directed to the correct main history line before executing any merge or PR actions with automated cleanup.