finishing-a-development-branch

Validate tests and guide merge, PR, keep, or discard decisions.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Wakewell-Sleep-Solutions/claude-skills-ecosystem --skill finishing-a-development-branch-wakewell-sleep-solutions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/Wakewell-Sleep-Solutions/claude-skills-ecosystem/tree/main/finishing-a-development-branch
Command: npx skills add https://github.com/Wakewell-Sleep-Solutions/claude-skills-ecosystem --skill finishing-a-development-branch-wakewell-sleep-solutions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup

Core Features & Use Cases

  • Verify tests pass before finalizing integration to prevent broken merges.
  • Present exactly four options to finalize work: merge locally, push and create PR, keep as-is, or discard.
  • Optional cleanup of worktrees and branches after the decision to maintain repository hygiene.

Quick Start

Instantiate this skill on a feature branch and follow the four options to merge, push PR, keep, or discard.

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 safely merge a feature branch after tests pass?

To safely merge a feature branch after tests pass, use a structured workflow that verifies tests, detects the base branch, and presents four explicit options: merge locally, push and create a pull request, keep as-is, or discard.

What is the best way to clean up git worktrees and branches after a merge?

The best way to clean up git worktrees and branches after a merge is to use a workflow that offers optional cleanup steps, ensuring repository hygiene is maintained immediately after you finalize your integration decision.

How does base-branch detection work when finishing a development branch?

Base-branch detection identifies the parent branch your feature work diverged from, enabling the workflow to accurately target merge or pull request operations against the correct integration path.

Can I create a pull request directly from a local feature branch workflow?

Yes, you can create a pull request directly from a local feature branch workflow by selecting the push and create PR option, which pushes your verified changes to the remote repository and initiates the pull request.

What options do I have for integrating a completed feature branch?

You have exactly four options for integrating a completed feature branch: merge the work locally, push and create a pull request, keep the branch as-is, or discard the changes entirely.

Do I need to run tests before finalizing a git branch merge?

Yes, you need to run tests before finalizing a git branch merge to prevent broken integrations, and a structured completion workflow verifies that all tests pass before presenting explicit integration options.