finishing-a-development-branch

Verify tests and guide merge, PR, keep, or discard decisions for a development branch.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/haulcommand-max/haul-command --skill finishing-a-development-branch-haulcommand-max
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/haulcommand-max/haul-command/tree/main/vendor/superpowers/skills/finishing-a-development-branch
Command: npx skills add https://github.com/haulcommand-max/haul-command --skill finishing-a-development-branch-haulcommand-max

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps engineers finalize development work by guiding the team through structured merge, PR, or cleanup choices once tests pass.

Core Features & Use Cases

  • Verify tests pass before deciding how to integrate.
  • Present exactly four options to complete the workflow: local merge, push and PR, keep the branch, or discard.
  • Clean up worktrees safely after the chosen action, or preserve the worktree when appropriate.

Quick Start

Initiate the finishing-a-development-branch workflow on your current feature branch and select one of the four options to complete 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 finalize a Git development branch after tests pass?

Finalizing a Git development branch involves verifying tests pass, then choosing to merge locally, push and create a pull request, keep the branch, or discard it. This structured workflow ensures safe integration and worktree cleanup.

What are the options for finishing a feature branch merge in Git?

Finishing a feature branch merge offers four fixed options: merge locally, push and create a pull request, keep the branch for continued work, or discard the branch entirely. This guides integration decisions across common Git workflows.

How do I clean up a Git worktree after completing a feature branch?

Cleaning up a Git worktree after completing a feature branch happens automatically once you select an integration action. The workflow safely removes the worktree after a local merge or discard, or preserves it when keeping the branch.

When should I create a pull request instead of merging a Git branch locally?

Creating a pull request instead of merging a Git branch locally depends on your team workflow. The workflow presents both options alongside keeping or discarding the branch, letting you choose push and PR for collaborative review or local merge for direct integration.

Can I discard a development branch safely after tests pass?

You can discard a development branch safely after tests pass by selecting the discard option in the workflow. This safely removes the branch and cleans up the associated worktree without forcing a merge or pull request.