finishing-a-development-branch

Validate tests and guide structured completion of a development branch.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup

Core Features & Use Cases

  • Verify tests before integrating to ensure a stable baseline.
  • Determine the base branch and alignment for the merge.
  • Present exactly four options: merge locally, push and create PR, keep the branch as-is, or discard.
  • Execute the selected option and perform cleanup as defined.

Quick Start

Run the skill to finish a development branch by validating tests, choosing a merge option, and performing cleanup.

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 decide between merging or creating a PR?

Finishing a development branch involves verifying tests and choosing between four explicit options: local merge, push and create PR, keep the branch, or discard it. This structured completion ensures a stable baseline before integrating your feature work.

What is the best way to clean up a git feature branch after tests pass?

The best way to clean up a git feature branch after tests pass is to use an automated workflow that identifies the base branch, guides you through merge or discard options, and executes defined cleanup tasks to conclude development work.

How does test validation work before merging a development branch?

Test validation before merging a development branch works by enforcing a sequence where tests are verified first to ensure a stable baseline. Only after tests pass does the workflow identify the base branch and present integration options.

Can I keep a development branch as-is instead of merging or discarding it?

Yes, you can keep a development branch as-is. When finishing feature work, the workflow presents keeping the branch as one of four explicit options alongside local merge, PR creation, and discarding, allowing you to delay integration without cleanup.

Do I need to identify the base branch before integrating a feature branch?

Yes, you need to identify the base branch before integrating a feature branch to ensure proper alignment. The workflow determines the base branch after verifying tests and before presenting merge, PR, or cleanup options.

When should I discard a development branch instead of creating a pull request?

You should discard a development branch when feature work is no longer needed or implementation is incomplete. Discarding is one of four explicit options presented during the structured completion process alongside merging, creating a PR, or keeping the branch.