finishing-a-development-branch

Guide development branch finishing with four merge, PR, keep, or discard options.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides finishing a development branch by presenting structured options for merge, PR, or cleanup after tests pass.

Core Features & Use Cases

  • Verify tests pass before proceeding with integration decisions.
  • Determine the base branch and present exactly four options.
  • Execute the chosen workflow and perform necessary cleanup of the worktree.

Quick Start

Verify tests pass, determine the base branch, present the four options, and execute the selected workflow.

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 choose between merging locally or pushing a pull request?

When finishing a development branch, worktree cleanup is an optional step that safely removes the working directory after you execute your chosen merge, pull request, keep, or discard workflow.

How does base branch detection work when merging a feature branch?

Base branch detection identifies the target integration branch before presenting your merge options, ensuring your development branch merges or pulls requests against the correct parent branch for safe integration.

Can I discard a git branch and clean up the worktree in one step?

Yes, you can discard a git branch and perform worktree cleanup in one step by selecting the discard option from the four-option prompt, which executes the deletion and necessary cleanup together.

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

Yes, you need to run and verify tests pass before proceeding with integration decisions, as the workflow guides finishing a development branch only after test validation is complete.