finishing-a-development-branch

Presents merge, PR, or cleanup options for finished development branches after tests pass.

Updated Feb 11, 2016
One-click install
npx skills add https://github.com/Ehrax/dotfiles --skill finishing-a-development-branch-ehrax
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/Ehrax/dotfiles/tree/main/configs/agents/skills/finishing-a-development-branch
Command: npx skills add https://github.com/Ehrax/dotfiles --skill finishing-a-development-branch-ehrax

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This workflow helps teams finish development work by presenting explicit options for merging, PRs, or cleanup after tests pass.

Core Features & Use Cases

  • Enforces test verification before proposing actions.
  • Presents exactly four options: merge locally, push and create PR, keep the branch, or discard with explicit confirmation.
  • Provides a safe cleanup flow for worktrees after completing or discarding work.

Quick Start

Activate this skill when a feature is complete and tests pass to get recommended merge/PR/cleanup options.

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

To safely merge a git feature branch after tests pass, the workflow verifies test status and identifies the correct base branch before presenting options to merge locally, push for a pull request, keep the branch, or discard it with confirmation.

What is the best way to clean up git worktrees after completing development work?

The best way to clean up git worktrees after development work involves following a safe cleanup flow that activates once tests pass, providing explicit options to finalize integration or discard the work while safely removing associated worktrees.

Does this git workflow enforce test verification before allowing a merge or pull request?

Yes, this git workflow enforces test verification before proposing any merge or pull request actions, applying guardrails that prevent unsafe merges or branch deletions until tests successfully pass.

How do I determine the correct base branch when finishing a development branch?

Determining the correct base branch when finishing a development branch is handled by the workflow, which outlines how to identify the target base branch before presenting explicit merge, pull request, or cleanup options.

Can I discard git branch changes safely without accidental deletions?

You can discard git branch changes safely by selecting the explicit discard option, which requires confirmation and applies workflow guardrails to prevent unsafe or accidental branch deletions.