finishing-a-development-branch

Present merge, PR, or cleanup options after verifying tests and base branch.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides the completion of development work by presenting structured options for merge, PR, or cleanup, ensuring a deliberate, auditable conclusion when features are finished and tests pass.

Core Features & Use Cases

  • Structured decision options: four precise choices to finalize integration.
  • End-to-end workflow steps: verify tests, determine base branch, select an action, and perform cleanup.
  • Safety rails: prevent merges or PRs when tests fail and ensure worktrees are cleaned up after completion.

Quick Start

Verify tests, determine the base branch, present the four options, perform the chosen action, and clean up the worktree.

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 branch after implementation and tests pass?

To finalize a git branch, you verify passing tests, detect the base branch, choose a structured integration option like merge or pull request, and clean up the worktree.

What's the best way to merge a development branch or create a pull request?

The best way to merge or create a pull request is to use a structured workflow that presents precise integration choices, verifies tests pass, and ensures worktree cleanup.

Can I merge my git branch if my tests are failing?

No, you cannot merge your git branch if tests fail. Safety rails prevent merges or pull requests when test verification fails to ensure a deliberate conclusion.

How do I clean up git worktrees after merging a branch?

To clean up git worktrees after merging, you select a finalization action from the presented options, and the workflow automatically ensures worktree cleanup upon completion.

What is the proper git workflow for finishing development work?

The proper git workflow for finishing development work involves test verification, base branch detection, presenting structured options for merge or PR, and final worktree cleanup.

Does the branch finalization workflow support both pull requests and direct merges?

Yes, the branch finalization workflow supports both pull requests and direct merges by presenting four precise choices to finalize integration after test verification and base branch detection.