finishing-a-development-branch

Verify tests and complete Git branches with merge, PR, keep, or discard workflows.

115|13|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/Houseofmvps/ultraship --skill finishing-a-development-branch-houseofmvps
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/Houseofmvps/ultraship/tree/main/skills/finishing-a-development-branch
Command: npx skills add https://github.com/Houseofmvps/ultraship --skill finishing-a-development-branch-houseofmvps

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the risk and guesswork of finishing development branches, preventing broken merges, lost work, and messy git history when integrating completed feature work.

Core Features & Use Cases

  • Test Verification: Automatically checks that all project tests pass before offering any integration options to avoid merging broken code.
  • Structured Completion Options: Presents 4 clear, concise choices for branch completion: local merge, push and create PR, keep as-is, or discard.
  • Safe Guardrails: Requires explicit confirmation for destructive actions like discarding work, and only cleans up worktrees for appropriate completion paths.
  • Use Case: After finishing a new payment processing feature, use this Skill to safely merge the work into the main branch, create a PR for team review, or discard the branch if the feature is no longer needed, all without risking existing code or work.

Quick Start

Use the finishing-a-development-branch skill to safely complete your current feature branch once all implementation and testing is finished.

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 safely merge a completed git feature branch into the main branch?

To safely merge a completed git feature branch, this workflow first verifies that all project tests pass, then guides you through a structured local merge to prevent broken integrations and messy git history.

What is the best way to clean up a git worktree after finishing feature development?

The best way to clean up a git worktree after feature development is using a guided completion workflow that automatically handles worktree cleanup only for appropriate paths, preventing lost work and messy repositories.

How can I create a pull request after finishing a development branch without risking broken code?

You can create a pull request after finishing a development branch safely because the workflow enforces test verification before offering the push and create PR option, ensuring broken code is not submitted for team review.

Can I discard a feature branch safely if the implementation is no longer needed?

You can discard a feature branch safely if the implementation is no longer needed by selecting the discard option, which requires explicit confirmation for this destructive action to prevent accidental loss of work.

Does this branch completion workflow run tests before allowing a local merge?

Yes, this branch completion workflow automatically checks that all project tests pass before offering any integration options, including local merge, to ensure you do not integrate broken code into your main branch.

What are my options for finishing a development branch once implementation is complete?

When finishing a development branch, your options include a local merge, pushing to create a pull request, keeping the branch as-is, or discarding the work, all managed with appropriate guardrails.