finishing-a-development-branch

Present merge, PR, keep, or discard options after tests pass.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Skill helps teams finish development work by providing a structured, repeatable path to integrate changes after tests pass. It reduces decision fatigue by clearly presenting the four allowed outcomes (merge locally, push and create a PR, keep the branch, or discard), and ensures consistent cleanup.

Core Features & Use Cases

  • Verify tests pass before offering options so only safe changes proceed.
  • Identify the correct base branch and select a compatible workflow.
  • Present exactly four options: merge locally, push and create PR, keep the branch, or discard.
  • Execute the chosen workflow and perform optional cleanup of worktrees.

Quick Start

Begin by invoking the finishing-a-development-branch workflow and follow the four options to finalize integration.

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

To finalize a development branch after tests pass, you identify the correct base branch and select from four explicit workflow options: merge locally, push and create a pull request, keep the branch, or discard the changes.

What are the standard git workflow options for merging completed feature work?

The standard git workflow options for merging completed feature work include merging locally, pushing to create a pull request, keeping the branch for later, or discarding the work entirely. These four options ensure structured branch management.

When should I create a pull request versus merging a feature branch locally?

You should create a pull request versus merging a feature branch locally based on your team's review requirements. The workflow presents both options after verifying tests and identifying the base branch, allowing you to choose the appropriate integration path.

Does branch management workflow require test verification before merging?

Yes, branch management workflow requires test verification before merging. The process explicitly checks that tests pass before presenting the four integration options, ensuring only safe, verified changes proceed to the base branch.

What is the best way to clean up worktrees after merging a development branch?

The best way to clean up worktrees after merging a development branch is to execute the selected workflow action, which performs optional cleanup automatically. This ensures consistent removal of temporary worktrees once integration is complete.

Can I keep a development branch instead of discarding or merging it?

Yes, you can keep a development branch instead of discarding or merging it. Keeping the branch is one of the four explicit options presented by the workflow, allowing you to preserve completed work for future integration without immediate cleanup.