finishing-a-development-branch

Automate Git branch integration decisions with a four-option protocol after tests pass.

58|6|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/Matt-Aurora-Ventures/Jarvis --skill finishing-a-development-branch-matt-aurora-ventures
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/Matt-Aurora-Ventures/Jarvis/tree/main/.windsurf/skills/finishing-a-development-branch
Command: npx skills add https://github.com/Matt-Aurora-Ventures/Jarvis --skill finishing-a-development-branch-matt-aurora-ventures

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides the final integration decision for completed development work, ensuring a structured, auditable path for merging, opening a PR, or cleaning up.

Core Features & Use Cases

  • Verifies that all tests pass before offering integration options.
  • Determines the base branch and presents exactly four deterministic choices: merge locally, push a PR, keep the branch, or discard.
  • Executes the chosen action and performs cleanup of temporary worktrees after completion.

Quick Start

Invoke this skill after tests pass to choose and carry out the preferred merge/PR/cleanup option.

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 decide whether to merge a git branch locally or push a pull request?

To decide whether to merge a git branch locally or push a pull request, use an automated workflow that validates test results and presents four deterministic choices: merge locally, push a PR, keep the branch, or discard it.

What is the best way to clean up temporary git worktrees after a merge?

The best way to clean up temporary git worktrees after a merge is to use a workflow that executes your chosen integration action and automatically performs worktree cleanup after the merge, PR, or discard operation completes.

How do I enforce that tests pass before integrating a development branch?

To enforce that tests pass before integrating a development branch, apply a Git workflow protocol that validates test results before offering any integration options, blocking merges or pull requests until tests succeed.

Can I automate discarding a git branch instead of keeping it?

Yes, you can automate discarding a git branch by using a branch management workflow that offers exactly four options, allowing you to select the discard action to remove the branch and clean up any temporary worktrees.

When should I keep a development branch instead of merging it into the mainline?

You should keep a development branch instead of merging it into the mainline when integration is not yet desired, selecting the keep option from a four-choice workflow protocol that defers merging, PR creation, or discarding.