finishing-a-development-branch

Coordinate merge, PR, or cleanup decisions after tests pass.

7|Updated Jan 27, 2026
One-click install
npx skills add https://github.com/wsxwj123/opencode-skills-backup --skill finishing-a-development-branch-wsxwj123
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/wsxwj123/opencode-skills-backup/tree/main/finishing-a-development-branch
Command: npx skills add https://github.com/wsxwj123/opencode-skills-backup --skill finishing-a-development-branch-wsxwj123

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinate finishing a development branch after tests pass to guide merge, PR, or cleanup decisions.

Core Features & Use Cases

  • Verifies tests pass and presents structured options for how to merge or clean up.
  • Determines the base branch and ensures the chosen workflow is executed safely.
  • Supports four explicit options: merge locally, push and create a PR, keep the branch as-is, or discard the work.

Quick Start

Simply tell the system to finish the development branch once all tests pass.

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 finish a Git development branch after tests pass?

Finishing a development branch after tests pass involves discovering the base branch and choosing one of four explicit options: merge locally, push and create a pull request, keep the branch, or discard the work.

What are my options for merging a completed Git feature branch?

When a feature branch is complete, you have four workflow options: merge it locally into the base branch, push and create a pull request, keep the branch as-is for later, or discard the work entirely.

How does a Git workflow handle cleanup after merging a branch?

A Git workflow handles post-merge cleanup by executing the chosen merge or pull request option and then performing optional worktree cleanup to remove leftover branch artifacts.

Can I create a pull request automatically when finishing development?

Yes, you can create a pull request by selecting the explicit push and create PR option presented when finishing your development branch, which safely executes the workflow against the determined base branch.

What is the best way to discard a Git branch after implementation?

The best way to discard a Git branch after implementation is to select the explicit discard work option provided during the branch finishing workflow, which safely removes the changes.

Do I need to verify tests before merging a development branch?

Yes, you need to verify that tests pass before finishing a development branch, as the workflow requires successful test verification before presenting the four merge, PR, keep, or discard options.