finishing-a-development-branch

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

1.5k|69|Updated Mar 13, 2025
One-click install
npx skills add https://github.com/UniClipboard/UniClipboard --skill finishing-a-development-branch-uniclipboard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/UniClipboard/UniClipboard/tree/main/.claude/skills/finishing-a-development-branch
Command: npx skills add https://github.com/UniClipboard/UniClipboard --skill finishing-a-development-branch-uniclipboard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps engineering teams finalize feature work by presenting a structured path for merging, PR creation, or cleanup after all tests pass.

Core Features & Use Cases

  • Proposes exactly four options to finalize work: merge locally, push and create a PR, keep the branch as-is, or discard.
  • Validates test results before presenting options to ensure safe progression.
  • Supports cleanup workflow including worktree management and branch deletion when appropriate.

Quick Start

Choose one of the four options to finalize the feature branch and perform any required cleanup.

Frequently Asked Questions about finishing-a-development-branch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What should I do to finalize a git feature branch after all tests pass?

To finalize a git feature branch after tests pass, you can choose from four options: merge locally, push and create a pull request, keep the branch as-is, or discard it entirely.

How do I clean up a git worktree and delete a branch after merging?

Cleaning up a git worktree and deleting a branch is supported as part of the finalization workflow, ensuring safe removal of feature branches once they are reconciled with the base branch.

What is the best way to choose between a local merge and a pull request for my git workflow?

The best way to choose between a local merge and a pull request depends on your team's review process; this approach proposes both options alongside keeping or discarding the branch to fit your specific git workflow.

Does finalizing a development branch require test validation before creating a pull request?

Yes, finalizing a development branch requires test validation before proceeding, ensuring tests pass before presenting merge, pull request, or cleanup options to guarantee safe progression.

When should I discard a git branch instead of keeping it after development?

You should discard a git branch instead of keeping it when the feature work is obsolete or unwanted, utilizing the explicit discard option to safely remove the branch and clean up the worktree.

Can I keep a development branch as-is without merging or deleting it?

Yes, you can keep a development branch as-is without merging or deleting it, as the workflow explicitly offers the option to maintain the current branch state without forcing a merge or cleanup.