finishing-a-development-branch

Verify tests and finalize development branches with merge or cleanup options.

4|Updated May 1, 2026
One-click install
npx skills add https://github.com/HigorAlves/orc --skill finishing-a-development-branch-higoralves
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/HigorAlves/orc/tree/main/orc/skills/finishing-a-development-branch
Command: npx skills add https://github.com/HigorAlves/orc --skill finishing-a-development-branch-higoralves

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the process of verifying tests, selecting merge or cleanup actions, and managing worktrees during branch finalization, reducing manual errors.

Core Features & Use Cases

  • Test Verification: Automatically runs and checks for passing tests before proceeding.
  • Option Presentation: Offers structured choices for merging, PR creation, keeping, or discarding branches.
  • Execution Automation: Executes selected options, including branch merging, PR creation, or branch deletion, with safety prompts and cleanup.
  • Use Case: When a developer completes work on a feature branch, this Skill guides the final step by verifying tests, then merging or cleaning up without manual commands.

Quick Start

Use the skill to verify current branch tests, then choose whether to merge, push, or discard the branch based on the outcome.

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 management and worktree cleanup when finishing a development branch?

Automating git branch management involves running test verification, choosing whether to merge or discard the branch, and finally cleaning up the worktree to ensure a safe finalization process without manual commands.

What is the best way to verify tests before merging a git feature branch?

The best way to verify tests before merging a feature branch is to automate the test execution step, ensuring all checks pass successfully before presenting structured options for merging, creating a PR, or discarding.

How does worktree cleanup work during branch finalization in version control?

Worktree cleanup during branch finalization works by executing disposal or merge actions and then automatically removing the associated worktree, preventing leftover files and maintaining an efficient version control environment.

Can I create a pull request instead of directly merging when finalizing a branch?

Yes, you can create a pull request instead of directly merging. Branch finalization tools present structured options that include PR creation, direct merging, keeping, or discarding the branch entirely.

What should I do if I need to discard a git branch after running continuous integration tests?

If you need to discard a git branch after continuous integration tests, you can select the disposal option during branch finalization, which executes branch deletion alongside worktree cleanup with safety prompts.

Do I need continuous integration setup to automate branch merging and disposal?

You do not need a separate continuous integration setup to automate branch merging and disposal, as the branch finalization process coordinates test verification directly before presenting merge or cleanup execution options.