finishing-a-development-branch

Automate finalizing a development branch with merge, PR, or cleanup options.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

When development work is finished, teams struggle to choose how to merge or wrap up changes without breaking stability. This skill provides structured options to merge locally, push PRs, keep the branch, or discard it, ensuring a safe, auditable path.

Core Features & Use Cases

  • Provides four explicit options: merge locally, push PR, keep branch, discard with confirmation. This ensures consistent workflows across teams.
  • Validates tests before presenting options to prevent unstable merges and regression risks.

Quick Start

Choose and execute one of the four options to finish your development work 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 finalize a git development branch after tests pass?

To finalize a development branch after tests pass, you choose from four explicit options: merge locally, push a pull request, keep the branch, or discard it with confirmation. This provides a safe, auditable integration path.

What is the best way to merge a feature-complete branch without causing regressions?

The best way to merge a feature-complete branch without regressions is to use a workflow that validates tests before presenting integration options. This prevents unstable merges by ensuring stability before you select a merge or PR path.

Can I push a pull request directly from my local git branch?

Yes, you can push a pull request directly from your local branch. The workflow provides an explicit option to push PRs after verifying tests, allowing you to route completed development work for code review and integration.

How do I clean up a development branch after merging?

To clean up a development branch after merging, you select the discard option which includes a confirmation step. Alternatively, you can choose to keep the branch, providing flexible branch-management options for completed work.

Does this git workflow detect the base branch automatically before merging?

Yes, the workflow includes base-branch detection as part of its stepwise process. This ensures your merge or pull request targets the correct integration branch automatically before you select your final merge path.