finishing-a-development-branch

Present four structured options for merging, PR creation, or cleanup after tests pass.

1|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/BlackRoad-OS-Inc/blackroad-operator --skill finishing-a-development-branch-blackroad-os-inc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/BlackRoad-OS-Inc/blackroad-operator/tree/main/agents/superpowers/skills/finishing-a-development-branch
Command: npx skills add https://github.com/BlackRoad-OS-Inc/blackroad-operator --skill finishing-a-development-branch-blackroad-os-inc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guide completion of development work by presenting clear options for merging, PR creation, or cleanup after tests pass.

Core Features & Use Cases

  • Verifies tests pass before presenting options
  • Detects the base branch and suggests appropriate workflows
  • Provides four fixed options and an optional cleanup process

Quick Start

Follow the prompts to finalize a feature branch after tests pass and choose from the four standard options.

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, this workflow verifies your tests pass and then presents four explicit options for integrating the work, including local merges, pull request creation, branch retention, and worktree cleanup.

What are my options for merging a finished feature branch?

When merging a finished feature branch, you can choose from four structured options: perform a local merge, create a pull request, retain the branch without merging, or execute safe worktree cleanup.

Can I create a pull request automatically when finishing development work?

Yes, you can create a pull request when finishing development work by selecting the PR creation option from the four structured choices presented automatically after your test suite passes.

Does finishing a development branch require tests to pass first?

Yes, finishing a development branch requires tests to pass first, as the workflow explicitly enforces test verification before detecting the base branch and presenting any integration options.

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

The best way to clean up worktrees after merging is using the optional post-workspace cleanup process, which safely removes worktree directories after you select your preferred branch integration option.

How does base branch detection work when completing a feature workflow?

Base branch detection works by automatically identifying your project's main branch during feature completion, ensuring the suggested merge workflows and pull request targets align correctly with your repository structure.