finishing-a-development-branch

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

1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/brainworkup/skills --skill finishing-a-development-branch-brainworkup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/brainworkup/skills/tree/main/neuropsych-reports/references/luria-related-complement-skills/finishing-a-development-branch
Command: npx skills add https://github.com/brainworkup/skills --skill finishing-a-development-branch-brainworkup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides the finish of development work by presenting structured integration options after tests pass.

Core Features & Use Cases

  • Structured decisions: presents four explicit options to merge, push a PR, keep the branch, or discard the work.
  • Validation gate: ensures all tests pass before offering options.
  • Cleanup guidance: provides steps to clean up worktrees and branches after completion.

Quick Start

Verify tests pass, then select one of the four completion options to finalize the work.

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

Finishing a git feature branch after tests pass requires a workflow that verifies your test suite, detects the base branch, and presents explicit options to merge, create a pull request, keep, or discard the work.

What are the best options for merging a development branch into a release?

Merging a development branch offers four explicit integration options: direct merge, pull request creation, keeping the branch active, or discarding the work entirely, ensuring explicit decisions based on your team workflow.

Does this branch management workflow require a QA gate before merging?

Yes, this branch management workflow enforces a QA gate by requiring all tests to pass successfully before presenting any structured integration or cleanup options to finalize your development work.

How do I clean up git worktrees and branches after a pull request merge?

Cleaning up git worktrees and branches after a pull request merge involves following provided cleanup guidance steps that execute branch deletion and worktree removal according to your chosen completion option.

Can I keep my feature branch instead of merging it immediately?

Yes, you can keep your feature branch instead of merging immediately, as the workflow explicitly offers an option to keep the branch active alongside alternatives to merge, create a pull request, or discard the work.