finishing-a-development-branch

Validate tests and guide merge or PR decisions for Git feature branches.

437|13|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/derHaken/SuperAntigravity --skill finishing-a-development-branch-derhaken
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/derHaken/SuperAntigravity/tree/main/skills/finishing-a-development-branch
Command: npx skills add https://github.com/derHaken/SuperAntigravity --skill finishing-a-development-branch-derhaken

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide helps finish development work by ensuring tests pass, then presenting a structured set of options for merging, creating a PR, keeping, or discarding the feature branch.

Core Features & Use Cases

  • Verify tests pass before completing work to prevent unstable merges.
  • Determine the appropriate base branch and present four explicit options for next steps.
  • Execute the selected option and perform cleanup of worktrees and branches as appropriate.

Quick Start

Finish the development branch by validating tests, selecting the base, and choosing one of the merge, PR, keep, or discard options.

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

To finalize a Git feature branch, you run tests, detect the base branch, and select an explicit option to merge, create a pull request, keep, or discard the branch.

What are my options for finishing a development branch in a Git workflow?

The options for finishing a development branch are executing a local merge, creating a pull request, keeping the branch, or discarding the work for cleanup.

How do I ensure tests pass before merging a Git branch?

You ensure tests pass by validating test results before completing feature work, which prevents unstable merges into the main or master base branch.

Can I discard a Git feature branch and clean up worktrees automatically?

Yes, you can discard a Git feature branch and the workflow will perform cleanup of worktrees and branches automatically when appropriate.

Does this branch finalization workflow support both main and master base branches?

Yes, the branch finalization workflow supports software projects using Git workflows with either main or master branches by automatically detecting the appropriate base branch.