finishing-a-development-branch

Verify test status and guide final branch integration decisions.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/lapaixkemsdortshlee-svg/AyitiMarket --skill finishing-a-development-branch-lapaixkemsdortshlee-svg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/lapaixkemsdortshlee-svg/AyitiMarket/tree/main/.claude/skills/finishing-a-development-branch
Command: npx skills add https://github.com/lapaixkemsdortshlee-svg/AyitiMarket --skill finishing-a-development-branch-lapaixkemsdortshlee-svg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you finish development work safely by checking whether tests pass and then choosing the right way to integrate or preserve the branch.

Core Features & Use Cases

  • Test verification first: Confirms the codebase is ready before any merge or pull request action.
  • Environment-aware workflow: Detects normal repositories, named worktrees, and detached HEAD states so it shows the correct options.
  • Safe branch completion: Supports local merge, PR creation, keeping the branch, or discarding it with confirmation and cleanup rules.
  • Use case: After a feature is implemented, use this Skill to decide whether to merge it into the base branch, open a PR, or leave the workspace intact for later review.

Quick Start

Ask the assistant to use the finishing-a-development-branch skill to verify tests and guide the final branch integration decision.

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 finish a git development branch safely after implementation?

Finishing a git development branch safely requires verifying test status first, then resolving the final integration path through local merge, pull request creation, or branch preservation with safe confirmation.

Can I merge a git branch if I am working in a worktree or detached HEAD state?

Yes, you can merge a git branch from a worktree or detached HEAD state. The workflow detects normal repositories, named worktrees, and detached HEAD states to show the correct branch completion options.

What is the best way to decide between merging locally or opening a pull request for my branch?

Deciding between a local merge or pull request depends on your repository state and test validation. The workflow discovers the base branch and guides the final integration decision based on your environment.

How do I clean up and discard a git branch after merging?

Cleaning up and discarding a git branch after merging requires worktree-aware cleanup rules and safe confirmation before executing destructive branch discard actions.

Do I need to run tests before creating a pull request or merging a branch?

Yes, you need to run tests before creating a pull request or merging a branch. Test verification is required first to confirm the codebase is ready and safe before any integration action.