finishing-a-development-branch

Present merge, PR, keep, or discard options after test verification.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/tusosos/manus-knowledge-base --skill finishing-a-development-branch-tusosos
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/tusosos/manus-knowledge-base/tree/main/skills/finishing-a-development-branch
Command: npx skills add https://github.com/tusosos/manus-knowledge-base --skill finishing-a-development-branch-tusosos

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the finalization of feature branches by guiding you through a safe, structured merge/PR/cleanup decision process once tests pass.

Core Features & Use Cases

  • Verify tests pass and identify base branch.
  • Present exactly four options: Merge locally, Push and create PR, Keep branch, Discard.
  • Execute the chosen workflow and perform cleanup when appropriate.
  • Applicable to typical team workflows requiring clean handoff and traceability.

Quick Start

Ask me to finish the development branch once tests pass to choose between merging locally, pushing a PR, keeping the branch, or discarding it.

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

To finalize a git development branch safely, verify tests pass, detect the base branch, and choose from four explicit options: merge locally, push and create a pull request, keep the branch, or discard it.

What is the best way to finalize a feature branch for a pull request?

Finalizing a feature branch for a pull request involves verifying tests, determining the base branch, and executing a structured workflow that offers PR creation, local merge, branch retention, or discarding to ensure a clean, auditable handoff.

How do I clean up a git worktree after merging a branch?

Cleaning up a git worktree after merging a branch requires executing the chosen finalization action and performing optional worktree cleanup to ensure a safe, auditable handoff and remove leftover development artifacts.

What options do I have when finishing a development branch?

When finishing a development branch, you have exactly four options: merge locally, push and create a pull request, keep the branch for later review, or discard the branch entirely.

Does finishing a development branch require test verification?

Yes, finishing a development branch requires test verification before presenting merge, pull request, keep, or discard options to ensure a safe and auditable handoff in standard software workflows.