finishing-a-development-branch

Verify test status and present branch integration options for merging or pull requests.

103|15|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/KaimingWan/oh-my-claude-code --skill finishing-a-development-branch-kaimingwan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/KaimingWan/oh-my-claude-code/tree/main/archive/v2/claude-skills/finishing-a-development-branch
Command: npx skills add https://github.com/KaimingWan/oh-my-claude-code --skill finishing-a-development-branch-kaimingwan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of finalizing development work by providing clear, structured options for integrating code, ensuring tests pass, and managing the codebase efficiently.

Core Features & Use Cases

  • Test Verification: Automatically checks if project tests pass before proceeding.
  • Branch Integration Options: Offers clear choices for merging locally, creating a Pull Request, keeping the branch, or discarding work.
  • Worktree Management: Handles the cleanup or preservation of worktrees based on the chosen integration method.
  • Use Case: After completing a new feature, use this Skill to ensure all tests are green, then choose to merge it into main locally, push it for a PR review, or safely discard it if the work is no longer needed.

Quick Start

Use the finishing-a-development-branch skill to complete the current development 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 finalize a git development branch after completing a feature?

To finalize a git development branch, you can use a workflow that verifies test status and presents structured options for integration, such as merging locally, creating a pull request, keeping the branch, or discarding the work.

Can I create a pull request and clean up my worktree at the same time?

Yes, branch integration workflows can handle worktree cleanup or preservation automatically based on your chosen integration method, such as creating a pull request or merging locally.

How do I ensure tests pass before merging a branch into main?

You can ensure tests pass before merging a branch into main by running a test verification step that automatically checks if project tests are green before presenting integration options.

What is the best way to manage local branch integration options?

The best way to manage local branch integration options is to use a structured workflow that offers clear choices for merging locally, creating a pull request, keeping the branch, or discarding work entirely.

Does branch merging work if I just want to discard my current code?

Yes, branch merging workflows support discarding work by providing a dedicated option to safely discard the code if the work is no longer needed, ensuring clean codebase management.

When should I keep a development branch instead of merging it?

You should keep a development branch instead of merging it when ongoing work is required, utilizing the branch preservation option to maintain your worktree without integrating unfinished code.