finishing-a-development-branch

Present four post-test options for merging, PR, keeping, or discarding a branch.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/bearhedge/APE-YOLO --skill finishing-a-development-branch-bearhedge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/bearhedge/APE-YOLO/tree/main/.claude/skills/finishing-a-development-branch
Command: npx skills add https://github.com/bearhedge/APE-YOLO --skill finishing-a-development-branch-bearhedge

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides finalization of development work by presenting a structured set of merge/PR/cleanup options after tests pass.

Core Features & Use Cases

  • Structured decision flow: Presents four explicit options to integrate or conclude work.
  • Safe cleanup guidance: Includes steps to safely delete or preserve branches and worktrees as needed.
  • Workflow compatibility: Works with common Git workflows (local merge, remote PR, or branch discard) across teams.

Quick Start

Use the finishing-a-development-branch skill when a feature branch has passed all tests and you are ready to decide how to integrate or tidy up.

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 git feature branch after tests pass?

To finalize a git feature branch after tests pass, this skill presents a structured four-option decision flow for merging locally, creating a pull request, keeping the branch, or discarding work.

What is the best way to clean up git branches after merging?

The best way to clean up git branches after merging is using safe cleanup guidance, which provides explicit steps to safely delete or preserve branches and worktrees according to your workflow needs.

How does a development branch workflow handle pull requests and local merges?

A development branch workflow handles pull requests and local merges by offering a deterministic post-work decision flow, allowing you to choose between creating a remote PR or executing a local merge.

Can I discard git branch work instead of merging it?

Yes, you can discard git branch work instead of merging it. The workflow explicitly includes an option to discard work, allowing you to cleanly conclude development without integration if needed.

Do I need passing tests before merging a development branch?

Yes, you need passing tests before merging a development branch. The workflow requires tests to pass and identification of a base branch before presenting integration or cleanup options.