Finishing a Development Branch

Finish a development branch by merging, creating a pull request, keeping, or discarding after tests pass.

4|2|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/pv-udpv/pplx-unofficial-sdk --skill finishing-a-development-branch-pv-udpv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Finishing a Development Branch
Source: https://github.com/pv-udpv/pplx-unofficial-sdk/tree/main/.cline/skills/community/skills/collaboration/finishing-a-development-branch
Command: npx skills add https://github.com/pv-udpv/pplx-unofficial-sdk --skill finishing-a-development-branch-pv-udpv

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Finishing a development branch after feature work by providing a clear, deterministic end-to-end workflow with merge, PR, keep, or discard options.

Core Features & Use Cases

  • Guarantees tests are verified before finalizing the branch.
  • Presents four explicit finalization options: merge locally, push and create PR, keep the branch as-is, or discard.
  • Handles post-action cleanup and optional worktree management to maintain repository hygiene.

Quick Start

Verify tests pass, then choose one of four options and perform the corresponding cleanup.

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 after tests pass?

To finish a git development branch, you select one of four finalization options after tests pass: merge locally, push and create a pull request, keep the branch as-is, or discard it entirely.

What is the best way to clean up a git feature branch after merging?

The best way to clean up a git feature branch after merging is to perform post-action cleanup and optional worktree management to maintain repository hygiene and remove stale local branches.

Can I create a pull request automatically when finishing a git branch?

Yes, you can create a pull request when finishing a git branch by selecting the push and create PR option, which pushes your changes and initiates the pull request workflow explicitly.

Does this workflow support discarding changes on a local git branch?

Yes, the workflow supports discarding changes by selecting the discard option, which finalizes the development branch by abandoning modifications and cleaning up the local worktree.

How do I resolve the base branch before merging a feature branch?

You resolve the base branch before merging a feature branch through explicit base-branch detection, ensuring the target integration branch is correctly identified before executing the merge or pull request action.