finishing-a-development-branch

Guide merge, PR, or cleanup decisions for finishing a development branch.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/seankao31/dotfiles --skill finishing-a-development-branch-seankao31
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/seankao31/dotfiles/tree/main/agent-config/superpowers-overrides/finishing-a-development-branch
Command: npx skills add https://github.com/seankao31/dotfiles --skill finishing-a-development-branch-seankao31

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides decision-making for finishing a development branch by presenting structured, decision-ready options for merging, PRs, or cleanup after all tests pass.

Core Features & Use Cases

  • Stepwise workflow to verify tests, clean branch history, perform a documentation sweep, determine a base branch, present four explicit options, execute the chosen path, and clean up worktrees.
  • Use Case: After completing a feature, you want a safe, auditable path to merge or close the branch, with minimal risk to mainline.

Quick Start

Run the skill to guide your merge or cleanup decisions after 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 choose a merge strategy after my development branch tests pass?

A guided workflow helps you choose a merge strategy by verifying tests, cleaning branch history, determining the base branch, and presenting explicit options to execute the chosen integration path with minimal risk to mainline.

What is the best way to clean up git worktrees after merging a development branch?

The best way to clean up git worktrees is to follow a stepwise workflow that executes your chosen merge path and then performs associated worktree cleanup as the final post-merge step.

How do I prepare a feature branch for a pull request and merge?

To prepare a feature branch for a pull request, verify tests pass, clean branch history, perform a documentation sweep, identify the base branch, and select from explicit PR creation or merge options.

Can I use a structured workflow to close a git branch instead of merging?

Yes, a structured workflow presents explicit cleanup as one of four options alongside merge strategies, ensuring safe and auditable branch management decisions when you need to close a branch.

Do I need passing tests before finishing a development branch?

Yes, passing tests are required before finishing a development branch, as the guided workflow applies specifically when tests pass and you need to choose a safe, auditable path for integrating changes.