finishing-a-development-branch

Validate tests and finalize a development branch with merge or cleanup options.

1|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/sbalagan22/bloomr --skill finishing-a-development-branch-sbalagan22
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/sbalagan22/bloomr/tree/main/.claude/skills/finishing-a-development-branch
Command: npx skills add https://github.com/sbalagan22/bloomr --skill finishing-a-development-branch-sbalagan22

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides the completion of development work once tests pass, ensuring a clear, auditable path for integration by presenting structured merge options and performing safe cleanups.

Core Features & Use Cases

  • Verify tests pass and surface failures if not
  • Determine the appropriate base branch
  • Present exactly four options: merge locally, push and create PR, keep as-is, discard
  • Execute chosen option with optional cleanup
  • Cleanup worktrees when appropriate

Quick Start

Ask me to finish the development branch and I will guide you through verifying tests, determining the base, presenting four options, and executing your chosen action.

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 development branch and ensure tests pass before merging?

Finishing a development branch requires verifying tests pass before presenting a clear merge path. The workflow enforces test success and offers four options: merge locally, push a pull request, keep, or discard the branch.

What is the best way to manage git workflow cleanup after completing development work?

The best way to manage git workflow cleanup is to select a base branch and choose from four structured outcomes. After executing your merge or pull request, the workflow performs optional cleanup tasks like removing worktrees when appropriate.

Can I merge a git branch locally instead of creating a pull request?

Yes, you can merge a git branch locally. The workflow presents exactly four options for finishing work: merge locally, push and create a pull request, keep the branch as-is, or discard it entirely with optional cleanup.

Does this branch management workflow require a specific base branch before finishing?

The branch management workflow determines the appropriate base branch automatically during the finishing process. It establishes explicit guardrails to ensure safe git commands and pull request workflows are executed correctly against the identified base.

What happens to my git worktree if I choose to discard a development branch?

When you discard a development branch, the workflow executes optional cleanup actions. This includes cleaning up worktrees when appropriate to ensure your local environment remains organized after the branch is removed.