finishing-a-development-branch

Verify tests and execute merge, PR, keep, or discard for a git branch.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the completion of development branches by guiding the user through a structured process of verifying tests, presenting merge options, and executing the chosen workflow.

Core Features & Use Cases

  • Test Verification: Ensures all tests pass before presenting merge options.
  • Merge Options: Provides a clear choice between merging locally, creating a pull request, keeping the branch as-is, or discarding the work.
  • Cleanup Worktree: Automates the removal of temporary worktrees after completing the merge or pull request.
  • Use Case: Ideal for developers looking to efficiently wrap up their feature branches, ensuring that all tests are green and that the code is properly integrated or discarded.

Quick Start

Run the finishing-a-development-branch skill to complete your development branch.

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 merge a git development branch after tests pass?

Merge a git development branch after tests pass by running a skill that verifies your test suite, presents merge options, and executes your chosen workflow to integrate the code. It ensures all tests are green before proceeding.

What is the best way to clean up a git worktree after a merge?

Cleaning up a git worktree after a merge is handled automatically when you select a merge or pull request option. The workflow removes temporary worktrees after successfully completing your chosen integration action.

Can I create a pull request directly from my local development branch?

Yes, you can create a pull request directly from your local development branch. When presented with merge options, select the pull request choice to properly integrate your feature branch code without merging locally.

Do I need a test suite to finish a development branch?

Yes, you need a codebase with a test suite to finish a development branch using this workflow. Test verification is required to ensure all tests pass before you are presented with merge, pull request, keep, or discard options.

What should I do if I want to discard work on a development branch?

Discard work on a development branch by selecting the discard option when prompted. This workflow safely removes the branch and its associated temporary worktrees after verifying your test suite and presenting cleanup choices.