finishing-a-development-branch

Verify tests and execute merge or cleanup for feature branches.

Updated Apr 24, 2026
One-click install
npx skills add https://github.com/ultramaxoAI/UltramaxoAI --skill finishing-a-development-branch-ultramaxoai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/ultramaxoAI/UltramaxoAI/tree/main/.agent/skills/finishing-a-development-branch
Command: npx skills add https://github.com/ultramaxoAI/UltramaxoAI --skill finishing-a-development-branch-ultramaxoai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides the finalization of work on a feature branch by verifying tests, selecting an integration or cleanup path, and performing the chosen wrap-up action.

Core Features & Use Cases

  • Verify tests pass before proceeding with merge or cleanup
  • Determine the appropriate base branch and workflow
  • Present exactly four options for continuation: local merge, push/PR, keep as-is, or discard
  • Execute the selected option with concrete Git commands and validations
  • Cleanup worktree and temporary artifacts after completion

Quick Start

Run the finishing-a-development-branch skill to finalize your work by verifying tests, selecting a base, and applying the chosen wrap-up action.

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 development branch and verify tests before merging?

To finalize a development branch, first verify that all tests pass, then select an appropriate base branch for integration. You can choose to merge locally, create a pull request, keep the branch, or discard it.

What are my options for finishing a feature branch after tests pass?

After tests pass, you have four options to finish a feature branch: perform a local merge, push and create a pull request, keep the branch as-is, or discard it. Each path includes Git commands and worktree cleanup.

How do I clean up a worktree after completing a branch merge?

Worktree cleanup after a branch merge is handled automatically through post-action cleanup. The process removes temporary artifacts and cleans the worktree once the selected integration or discard option completes.

When should I create a pull request instead of doing a local merge?

Create a pull request instead of a local merge when your workflow requires remote CI validation or code review. The finalization process presents both as explicit options once your local tests pass.

Can I discard a development branch safely if tests fail?

Yes, discarding a development branch is one of the four explicit continuation options. The workflow applies concrete Git commands and worktree cleanup to safely remove the branch and temporary artifacts.