finishing-a-development-branch

Offer four options to merge, push a PR, keep, or discard a development branch.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides you to finish a development branch by offering four explicit options: merge locally, push and create a Pull Request, keep the branch, or discard it.

Core Features & Use Cases

  • Deterministic option selection: present exactly four structured choices so you can decide how to close the branch.
  • Flexible workflows: supports local merges, PR-based integration, or safe cleanup/discard with explicit confirmation.
  • Quick decision and execution: once a choice is made, it executes the corresponding steps and cleans up as needed.

Quick Start

Start this skill to choose a completion action for your active feature branch and apply it to finish the work.

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 feature branch after completing development?

To finish a git feature branch, you can choose from four structured options: merge it locally, push and create a Pull Request, keep the branch active, or discard it with safe confirmation guardrails. This ensures clean closure for solo and collaborative workflows.

What is the best way to merge or discard a local development branch?

The best way to merge or discard a development branch is to use a deterministic workflow that presents explicit choices for local merges or safe cleanup. This enforces discard confirmation guardrails and executes the corresponding cleanup steps automatically.

Can I create a pull request directly from my current git workflow?

Yes, you can create a pull request directly from your current git workflow by selecting the push and PR option. This integrates your feature branch into collaborative repositories by pushing it and initiating formal code review processes.

Does this git branch workflow support both solo and collaborative repositories?

Yes, this git branch workflow supports both local solo workflows and collaborative repositories. It applies formal closure and verification steps to feature branches regardless of whether you are working alone or integrating changes through a pull request.

How do I safely discard a git branch without accidental deletion?

To safely discard a git branch without accidental deletion, the workflow enforces explicit confirmation guardrails before cleanup. This deterministic execution ensures you verify the discard action before the branch is formally removed.