finishing-a-development-branch

Guide Git branch completion with test validation and safe integration options.

1|Updated Mar 6, 2014
One-click install
npx skills add https://github.com/79yuuki/dotfiles --skill finishing-a-development-branch-79yuuki
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/79yuuki/dotfiles/tree/main/claude/skills/finishing-a-development-branch
Command: npx skills add https://github.com/79yuuki/dotfiles --skill finishing-a-development-branch-79yuuki

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers avoid incomplete or unsafe branch completion by providing a structured process for verifying tests, choosing an integration path, and cleaning up work safely.

Core Features & Use Cases

  • Completion Workflow Guidance: Verifies tests, detects Git workspace state, and guides the next steps after implementation is finished.
  • Integration Options: Presents structured choices for local merge, pull request creation, preserving work, or discarding changes with safeguards.
  • Safe Cleanup Handling: Applies worktree-aware cleanup rules and confirmation requirements to prevent accidental loss of development work.

Quick Start

Use the finishing-a-development-branch skill to complete this finished implementation and guide me through merge, PR, or 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 finish a development branch and merge changes?

To safely finish a development branch, you must first validate tests, detect your current Git workspace state, and then select a structured integration path such as a local merge or pull request creation to integrate changes.

What is the best way to clean up a git worktree after finishing a feature?

The best way to clean up a git worktree after finishing a feature involves applying worktree-aware cleanup rules and utilizing confirmation requirements to prevent accidental loss of development work during the final integration steps.

Can I discard local changes when completing a branch without losing uncommitted work?

You can discard changes safely when completing a branch by using guarded cleanup procedures that require explicit confirmation, ensuring your local development work is preserved and preventing accidental data loss.

When do I need to verify tests before creating a pull request?

You need to verify tests before creating a pull request whenever your development branch implementation is finished, as test validation is a required step to ensure implementation readiness before selecting a safe integration path.

Does branch management workflow support local merges and pull requests?

Yes, branch management workflow supports local merges and pull requests by presenting structured integration options, detecting your Git workspace state, and guiding the completion process for finished features.

Why does worktree cleanup require confirmation before discarding changes?

Worktree cleanup requires confirmation before discarding changes to prevent accidental loss of development work, applying worktree-aware cleanup rules that safeguard your code until you explicitly choose to proceed.