finishing-a-development-branch

Verify tests and select a base branch for merging, PR, or cleanup.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides teams to finalize a development branch by verifying tests and choosing a merge/PR/cleanup path.

Core Features & Use Cases

  • Verify tests pass before integration.
  • Determine the appropriate base branch and present four options: merge locally, push and create PR, keep the branch, or discard.
  • Cleanup worktrees after completion; supports end-to-end workflow for release readiness.

Quick Start

Verify tests, determine the base branch, and present exactly four integration options to merge locally, push a PR, keep the branch, or discard.

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 and choose between merging or a pull request?

Finalizing a development branch involves verifying tests pass, identifying the base branch, and choosing to merge locally, push a pull request, keep the branch, or discard the work.

What is the safest workflow for branch cleanup after merging a development branch?

The safest branch cleanup workflow enforces test verification before action and performs post-action cleanup of temporary worktrees to ensure auditable integration.

When should I discard a development branch instead of creating a pull request?

You discard a development branch instead of creating a pull request when the work is no longer needed, selecting the discard option from the four-option decision flow.

Do I need to verify tests before merging a git development branch locally?

Yes, you must verify tests pass before merging a git development branch locally, as the workflow enforces test verification before any integration action.

What are the options for integrating a finished git branch into a base branch?

The four options for integrating a finished git branch are merging locally, pushing a pull request, keeping the branch, or discarding the work, with optional cleanup.

Can I keep a development branch active instead of merging it into the base branch?

Yes, you can keep a development branch active instead of merging, as the workflow presents keeping the branch as one of the four integration options.