finishing-a-development-branch

Performs checkout of requested branch or tag with customizable options.

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/CenredJun/openclaw-claudecode-setup-kit --skill finishing-a-development-branch-cenredjun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/CenredJun/openclaw-claudecode-setup-kit/tree/main/skills/finishing-a-development-branch
Command: npx skills add https://github.com/CenredJun/openclaw-claudecode-setup-kit --skill finishing-a-development-branch-cenredjun

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guide completion of development work by presenting structured options for merge, PR, or cleanup after a feature is implemented and tests pass.

Core Features & Use Cases

  • Verify tests pass before finishing a development branch.
  • Determine the appropriate base branch automatically or by user confirmation.
  • Present exactly four finish options: merge locally, push and create PR, keep branch, or discard.
  • Execute the chosen option and perform cleanup tasks (where applicable).

Quick Start

Use this skill after implementing a feature to finish the branch by selecting one of the four 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 finish a git feature branch after tests pass?

Finishing a development branch involves verifying tests, detecting the base branch, and choosing one of four options: merge locally, push and create a pull request, keep the branch, or discard it.

What are the standard options for completing a git workflow branch?

The standard options for completing a git workflow branch are local merge, push and create a pull request, keep the branch, or discard it. The skill presents these exact four choices after test verification.

How do I automatically detect the base branch before a git merge?

To detect the base branch before a git merge, the skill determines the appropriate base branch automatically or asks for user confirmation, ensuring the correct target before executing the selected finish option.

Can I create a pull request automatically when finalizing a feature branch?

Yes, you can create a pull request automatically when finalizing a feature branch by selecting the push and create PR option, which pushes the branch and initiates the pull request workflow.

What steps are required to clean up a feature branch after merging?

Cleaning up a feature branch after merging requires executing the chosen merge option and performing optional cleanup tasks, removing local and remote branches to keep the repository organized.