finish-branch

Verify test completion and present merge, PR, or branch discard options.

2|Updated Apr 27, 2026
One-click install
npx skills add https://github.com/TheFJK/UberDev --skill finish-branch-thefjk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finish-branch
Source: https://github.com/TheFJK/UberDev/tree/main/plugins/uberdev/skills/finish-branch
Command: npx skills add https://github.com/TheFJK/UberDev --skill finish-branch-thefjk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a streamlined process to complete development work, including test verification, presenting merge and PR options, and executing the chosen workflow.

Core Features & Use Cases

  • Test Verification: Ensures tests pass before proceeding to merge or PR options.
  • Mode Selection: Offers interactive or automated mode based on flags or environment variables.
  • Merge and PR Options: Presents clear choices to merge locally, create a PR, keep the branch as-is, or discard the work.
  • PR Creation: Automates PR creation with conditional sections for questions and review findings summary.
  • Cleanup Worktree: Cleans up worktree based on the selected option.
  • Use Case: After completing feature development, use the finish-branch skill to verify tests, choose a merge or PR option, and execute the workflow to complete the branch work.

Quick Start

To complete your branch with merge or PR options, use the finish-branch skill and follow the interactive prompts or run with turbo mode using UBERDEV_TURBO=1.

Frequently Asked Questions about finish-branch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify tests and create a pull request after finishing feature development?

You can verify tests and create a pull request by running a branch completion workflow that checks your test suite and presents structured options for PR creation or local merge execution.

What is the best way to automate git branch merge and cleanup operations?

Automating git branch merge and cleanup operations is best handled by a structured workflow tool offering interactive or automated mode selection to merge locally, preserve the branch, or discard work.

Does this branch completion workflow require the GitHub CLI to create pull requests?

The branch completion workflow may require GitHub CLI integration to support optional pull request creation and automate PR body composition during the development merge process.

Can I run merge and PR creation tasks automatically without interactive prompts?

Merge and PR creation tasks can run automatically without interactive prompts by enabling turbo mode with an environment variable flag, bypassing manual selection for branch completion.

How do I manage development worktrees during parallel agent fanout operations?

Managing development worktrees during parallel agent fanout operations requires a branch completion skill that supports mode selection and cleans up worktrees based on your chosen merge or discard option.