finishing-a-development-branch

Validate tests and present merge or PR options for Git feature branches.

10|4|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/HanHan666666/flutter-linglong-store --skill finishing-a-development-branch-hanhan666666
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/HanHan666666/flutter-linglong-store/tree/main/.agents/skills/finishing-a-development-branch
Command: npx skills add https://github.com/HanHan666666/flutter-linglong-store --skill finishing-a-development-branch-hanhan666666

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guiding teams to finish development work by verifying tests, selecting a definitive merge or PR path, and cleaning up the feature branch.

Core Features & Use Cases

  • Verify test results before completion
  • Present four explicit finish options (merge locally, push and create PR, keep branch, discard)
  • Clean up worktrees and branches after the decision

Quick Start

Verify tests pass and then choose one of four finish options (merge locally, push and create a PR, keep the branch, or discard) to complete 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 development branch cleanly with merge options?

To finish a development branch with merge options, you verify tests and choose one of four paths: merge locally, push and create a pull request, keep the branch, or discard it. The process cleans up worktrees and branches after selection.

What are the exact options to complete a feature branch in Git?

The exact options to complete a feature branch in Git include merging locally, pushing to create a pull request, keeping the branch, or discarding it. These choices ensure the development work is finalized with a safety cleanup.

How do I verify tests before merging a Git feature branch?

You verify tests before merging a Git feature branch by running a working CI test suite during the finalization process. This ensures all checks pass before presenting the exact merge or pull request options.

Can I use this branch cleanup workflow without a CI test suite?

You cannot use this branch cleanup workflow effectively without a working CI test suite. The feature branch finalization process requires test validation before presenting any merge, pull request, or discard options.

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

The best way to clean up Git worktrees after a merge is to select a definitive finish option during branch finalization. The process automatically cleans up worktrees and branches after you merge, create a PR, or discard.

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

You should discard a development branch instead of creating a pull request when the work is no longer needed. Discarding is one of the four explicit finish options available after verifying tests, ensuring safe branch cleanup.