finishing-a-development-branch

Integrate a finished development branch by choosing one of four Git workflow options.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides teams on how to complete development work by deciding how to integrate changes after tests pass.

Core Features & Use Cases

  • Verify tests pass before offering options.
  • Determine the base branch to merge into.
  • Present a fixed set of four options for completion.
  • Execute the chosen workflow and perform cleanup as needed.

Quick Start

Run the finishing-a-development-branch skill after all tests pass on your feature branch to finalize the work. It will verify tests, identify a base branch, present four options, and execute your chosen path with deterministic Git commands.

Frequently Asked Questions about finishing-a-development-branch

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

FAQPage Schema
What's the best way to finalize a git development branch after tests pass?

Finishing a development branch requires choosing one of four integration options: merging locally, pushing for a pull request, keeping the branch, or discarding it, each executed with deterministic git commands.

How do I merge a completed git feature branch locally?

To merge a completed git feature branch locally, the workflow identifies your base branch and provides the exact deterministic git commands to execute the local merge and perform any required cleanup steps.

Can I push a finished git feature branch for a pull request using a guided workflow?

Yes, you can push a finished git feature branch for a pull request by selecting the push/PR option from the workflow, which generates the deterministic git commands needed to finalize the work and clean up.

How do I clean up a git development branch after integration?

To clean up a git development branch after integration, the workflow executes specific cleanup steps based on your chosen completion option, whether you merged locally, pushed a PR, or discarded the branch.

When should I discard a finished git feature branch instead of merging it?

You should discard a finished git feature branch instead of merging it when the completed work is no longer needed, selecting the discard option to execute deterministic git commands that remove the changes and perform cleanup.