finishing-a-development-branch

Validate tests and select a four-option completion workflow for git branches.

19|4|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/jarredkenny/agency-ai --skill finishing-a-development-branch-jarredkenny
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/jarredkenny/agency-ai/tree/main/roles/orchestrator/skills/finishing-a-development-branch
Command: npx skills add https://github.com/jarredkenny/agency-ai --skill finishing-a-development-branch-jarredkenny

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides the completion of development work by verifying tests, determining the appropriate base branch, and presenting a deterministic workflow to finalize a feature branch.

Core Features & Use Cases

  • Test verification: Ensure the feature branch passes the test suite before proceeding.
  • Deterministic options: Present exactly four workflows—merge locally, push and create PR, keep the branch as-is, or discard.
  • Cleanup & state management: Clean up worktrees and return to a clean base state after completion.

Quick Start

On your feature branch, invoke the skill to complete the work. It will verify tests, identify the base branch, offer four options, execute the chosen action, and perform post-operation cleanup.

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 finishing a git development branch?

To automate finishing a git development branch, invoke this Skill on your feature branch to verify tests, determine the base branch, and execute a deterministic completion workflow with optional worktree cleanup.

What are the standard workflows for completing a feature branch?

The standard workflows for completing a feature branch are merging locally, pushing to create a pull request, keeping the branch as-is, or discarding it entirely.

Can I create a pull request after verifying tests on a feature branch?

Yes, you can create a pull request after verifying tests on a feature branch by selecting the push and create PR option from the four deterministic workflows presented by this process.

Does this branch completion process handle git worktree cleanup?

Yes, this branch completion process handles git worktree cleanup by performing post-operation cleanup and returning your repository to a clean base state after finalizing the chosen workflow.

What happens if my test suite fails before I finish my development branch?

If your test suite fails before you finish your development branch, the Skill enforces test verification to ensure the suite passes before proceeding to the four completion options.

Is there a way to keep my git feature branch active without merging or discarding?

Yes, there is a way to keep your git feature branch active without merging or discarding by selecting the deterministic keep the branch option, which leaves your branch as-is.