finishing-a-development-branch

Guide Git operations for merging, PR creation, or branch cleanup.

1|Updated Apr 10, 2026
One-click install
npx skills add https://github.com/Rysnz/OpenHarness --skill finishing-a-development-branch-rysnz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/Rysnz/OpenHarness/tree/main/src/crates/core/builtin_skills/finishing-a-development-branch
Command: npx skills add https://github.com/Rysnz/OpenHarness --skill finishing-a-development-branch-rysnz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Finishing a development branch often stalls after tests pass while deciding how to merge, PR, or cleanup. This skill provides a structured, repeatable workflow to finalize work and select between merging, PR creation, keeping the branch, or discarding with cleanup.

Core Features & Use Cases

  • Structured four-option decision protocol for post-implementation work.
  • Guidance on local merge, PR creation, or discarding with safe cleanup steps.
  • Works with common Git workflows and workspace cleanup to maintain a clean repository.

Quick Start

Run the skill when you are ready to finalize a feature branch and follow the four structured options to complete the workflow.

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

To finish a git branch after tests pass, you can use a structured workflow to choose between merging locally, pushing a PR, keeping the branch, or discarding with cleanup. This standardizes the post-implementation process.

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

The best way to clean up git worktrees after merging a branch is to follow a standardized workspace cleanup protocol. This ensures repository cleanliness by systematically removing obsolete worktrees during branch finalization.

How do I choose between creating a pull request or merging a branch locally?

Choosing between creating a pull request or merging locally requires a four-option decision protocol that evaluates whether to merge, push for a PR, keep, or discard the branch, guiding the appropriate Git checkout and push operations.

Does this branch finishing workflow support standard git checkout and merge operations?

Yes, the branch finishing workflow supports standard git checkout and merge operations. It guides you through these Git commands alongside PR creation and worktree cleanup to finalize development work.

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

You should discard a development branch instead of keeping it when the implemented work is no longer needed, utilizing safe cleanup steps to remove the branch and associated worktrees to maintain a clean repository.