finishing-a-development-branch

Verify tests, detect base branch, present four finish options, and clean up worktrees.

Updated Nov 14, 2025
One-click install
npx skills add https://github.com/Donaldshen27/xtrend-vanilla --skill finishing-a-development-branch-donaldshen27
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/Donaldshen27/xtrend-vanilla/tree/main/.claude/skills/finishing-a-development-branch
Command: npx skills add https://github.com/Donaldshen27/xtrend-vanilla --skill finishing-a-development-branch-donaldshen27

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides teams to finalize a development branch by offering structured finish options.

Core Features & Use Cases

  • Verify tests pass before finishing
  • Determine base branch and present four actionable options
  • Clean up worktrees after completing the chosen path
  • Use case: When a feature branch is ready and tests pass, decide to merge, open a PR, keep for future work, or discard

Quick Start

Run the skill after tests pass to decide how to merge, PR, or cleanup the feature branch.

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

To finalize a git development branch after tests pass, use a structured workflow that verifies tests, detects the base branch, and presents four actionable options: merge, open a pull request, keep for future work, or discard.

What is the best way to merge a feature branch or open a pull request?▼

The best way to merge a feature branch or open a pull request is to use a guided workflow that automatically determines the base branch and presents clear finish options, ensuring you choose the correct path before executing the merge or PR.

Can I automatically clean up git worktrees after merging a development branch?▼

Yes, you can automatically clean up git worktrees after merging a development branch by selecting a finish option that executes the chosen path and cleans up the associated worktrees as appropriate.

How do I verify tests before finishing a git feature branch?▼

To verify tests before finishing a git feature branch, run a guarded-workflow process that checks test results and only presents finish options, such as merge or pull request, once the tests successfully pass.

What options do I have for completing a git workflow when a feature is ready?▼

When a feature is ready, your options for completing a git workflow include merging into the base branch, opening a pull request, keeping the branch for future work, or discarding it entirely.

Does this branch finishing workflow require any specific git dependencies?▼

No, this branch finishing workflow does not require specific dependencies, as it operates by determining the base branch and applying guarded-workflow requirements to verify tests and manage worktree cleanup natively.