finishing-a-development-branch

Verify tests pass and execute branch closure options with cleanup.

2|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/FelixBitSoul/contentCrew-AI --skill finishing-a-development-branch-felixbitsoul
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/FelixBitSoul/contentCrew-AI/tree/main/.trae/skills/finishing-a-development-branch
Command: npx skills add https://github.com/FelixBitSoul/contentCrew-AI --skill finishing-a-development-branch-felixbitsoul

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides developers to cleanly finish a development branch after implementation is complete and tests pass, avoiding ambiguity in how to integrate or discard work.

Core Features & Use Cases

  • Enforces a small, deterministic workflow to close feature work after verification.
  • Presents four explicit options (local merge, push/PR, keep branch, or discard) and executes the chosen path.
  • Provides safety checks and cleanup steps to maintain a clean repository state after completion.

Quick Start

Announce that you are using finishing-a-development-branch and follow the guided steps to verify tests, decide the base branch, pick a completion option, and perform the required 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 cleanly finish a git development branch after my tests pass?

To cleanly finish a git development branch after tests pass, you can use a structured workflow that verifies tests, prompts you to select a completion path like local merge or pull request, and then executes required worktree cleanup and branch deletion.

What is the best way to merge or discard a feature branch without leaving orphan worktrees?

The best way to merge or discard a feature branch while avoiding orphan worktrees is to use a guided workflow that executes your chosen completion action and automatically performs worktree removal and branch deletion cleanup.

How do I choose between a local merge, push and pull request, or discarding a dev branch?

Choosing between a local merge, push and pull request, or discarding a dev branch is handled by presenting four explicit structured options after verifying tests, allowing you to select your desired integration path before executing the workflow.

Can I keep my dev branch active while still verifying that tests pass before a pull request?

Yes, you can keep your dev branch active while verifying tests pass before a pull request by selecting the explicit option to retain the branch, which pauses integration and skips branch deletion cleanup.

Does a git workflow closure process enforce test verification before branch deletion?

Yes, a git workflow closure process enforces test verification before branch deletion by requiring that tests pass before presenting structured closure options and executing any required cleanup actions.

Why should I use a structured workflow to close a feature branch instead of manual git commands?

You should use a structured workflow to close a feature branch instead of manual git commands to avoid ambiguity in integration, ensure tests pass first, and guarantee that required cleanup like worktree removal and branch deletion is executed safely.