finishing-a-development-branch

Automate development branch finalization with merge, PR, and cleanup options.

7|1|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/cloudfieldcz/cf-powers --skill finishing-a-development-branch-cloudfieldcz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/cloudfieldcz/cf-powers/tree/main/skills/finishing-a-development-branch
Command: npx skills add https://github.com/cloudfieldcz/cf-powers --skill finishing-a-development-branch-cloudfieldcz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides teams in finishing development work by verifying readiness, selecting a merge/PR path, and cleaning up.

Core Features & Use Cases

  • Verifies tests pass before finishing work to ensure stability.
  • Presents explicit, deterministic options for merging, PR creation, keeping the branch, or discarding work.
  • Cleans up worktrees and branches according to the chosen workflow with built-in safety prompts.

Quick Start

Verify tests pass, determine the base branch, and choose one of the four completion options to finalize the work.

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 finalize a development branch and merge it into the base branch?

To finalize a development branch, you verify tests pass, determine the base branch, and choose from explicit merge, pull request, keep, or discard options to safely integrate completed feature work.

What is the best workflow for branch management when completing a feature?

The best branch management workflow for feature completion enforces safety checks and presents explicit, deterministic options for merging, PR creation, or branch cleanup before executing operations.

How does automated branch cleanup work after a pull request is merged?

Automated branch cleanup works by presenting explicit user choices after a pull request merge, safely removing worktrees and branches according to the selected deterministic workflow option.

Can I choose between creating a pull request or merging directly when finishing a git branch?

Yes, you can choose between creating a pull request or merging directly when finishing a git branch, as the workflow presents explicit, deterministic options driven by user selection.

Why should I verify tests before merging a development branch?

You should verify tests before merging a development branch to ensure stability and prevent integrating broken code, which is an enforced safety check within the finalization workflow.

When do I need an automated workflow to discard or archive feature branches?

You need an automated workflow to discard or archive feature branches when collaborative projects reach completion, requiring explicit safety prompts and deterministic cleanup of worktrees before operations.