finishing-a-development-branch

Validate tests and present four merge or cleanup options for feature branches.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/jay6697117/HandDrawing --skill finishing-a-development-branch-jay6697117
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/jay6697117/HandDrawing/tree/main/.agents/skills/finishing-a-development-branch
Command: npx skills add https://github.com/jay6697117/HandDrawing --skill finishing-a-development-branch-jay6697117

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides teams to finish development work by verifying tests, choosing a merge path, and cleaning up the feature branch.

Core Features & Use Cases

  • Verify tests pass to ensure code stability.
  • Determine a base branch and present four concrete options for merging, PR submission, keeping the branch, or discarding work.
  • Execute chosen option and perform cleanup of temporary worktrees.

Quick Start

Run this skill once your implementation passes tests to guide you through the merge-or-cleanup decision.

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 clean up the worktree after tests pass?

To finish a development branch, you verify tests pass, determine the base branch, and select one of four options: merge, submit a pull request, keep the branch, or discard work. The workflow then executes the chosen option and cleans up temporary worktrees.

What are my options for merging a git feature branch once development is complete?

When finishing a development branch, you have four concrete options: merge directly, submit a pull request, keep the branch for future work, or discard the work entirely. The workflow presents these paths after verifying test stability.

When should I run a git branch cleanup workflow for my software project?

You should run a git branch cleanup workflow once your feature implementation passes tests and you are ready to finalize development work. It guides teams through test verification and base-branch determination before presenting merge or discard options.

Can I discard a git development branch without merging if tests fail?

Yes, discarding work is one of the four concrete options presented by the development branch finishing workflow. You can select this path to safely conclude development work and execute post-action cleanup of temporary worktrees without merging.

Does the branch finishing workflow require a specific base branch before presenting merge options?

No, the workflow dynamically determines the base branch for your software project before presenting the four options. It requires test verification first, then identifies the correct base branch to guide the merge, pull request, keep, or discard decision.