finishing-a-development-branch

Automate final integration decisions for completed feature branches after tests pass.

Updated Jan 26, 2026
One-click install
npx skills add https://github.com/TwuanMinn/fadelab --skill finishing-a-development-branch-twuanminn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/TwuanMinn/fadelab/tree/main/.agent/skills/skills/finishing-a-development-branch
Command: npx skills add https://github.com/TwuanMinn/fadelab --skill finishing-a-development-branch-twuanminn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the finalization of development work on a feature branch by verifying tests and guiding the team through a structured merge/PR/cleanup decision.

Core Features & Use Cases

  • Test verification before proceeding with any integration decision.
  • Base-branch detection to determine where to integrate.
  • Four explicit options: Merge locally, Push and create a PR, Keep the branch as-is, or Discard the work.
  • Optional cleanup of worktrees after the chosen action.
  • Use case: completing a feature branch once development is complete and tests pass in a stable workflow.

Quick Start

Run this skill after your feature branch passes all tests to determine the final integration path.

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 automate git branch merging after tests pass?

Automating git branch merging requires verifying tests pass before offering structured integration choices. This skill enforces test verification, detects the base branch, and guides you through merging locally, pushing for a PR, keeping, or discarding the work.

What is the best way to manage git worktree cleanup after feature completion?

Managing git worktree cleanup involves choosing an integration path and optionally removing the worktree afterward. This skill performs optional worktree cleanup automatically after you select your final branch action.

Can I push a feature branch for a code review instead of merging locally?

Yes, you can push a feature branch for a code review instead of merging locally. The skill provides four explicit options, allowing you to push and create a PR directly rather than executing a local merge.

Does this git workflow integration require a specific base branch setup?

No specific base branch setup is required beforehand. The skill automatically detects the correct base branch during the finalization process to determine exactly where your feature branch should integrate.

When should I discard a development branch instead of keeping it?

You should discard a development branch when the work is no longer needed or tests fail to pass. The skill provides an explicit discard option alongside keeping the branch as-is, ensuring unwanted code is safely removed.