Finishing a Development Branch

Community

Ship features confidently, or clean up with ease.

Authorobra
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Concluding development work often involves a series of critical steps—testing, merging, creating pull requests, or discarding work—that need to be handled systematically to avoid errors or incomplete cleanup. This skill streamlines the completion process, offering clear options and ensuring proper verification and cleanup.

Core Features & Use Cases

  • Mandatory Test Verification: Ensures all tests pass before presenting any completion options.
  • Structured Completion Options: Presents clear choices: merge locally, push for PR, keep branch, or discard work.
  • Automated Git Operations: Executes the chosen Git workflow (merge, push, delete branch) and cleans up worktrees.
  • Use Case: After completing a feature, you'll activate this skill. It will run all tests, then ask if you want to merge, create a PR, keep the branch, or discard it, handling all the Git commands for you.

Quick Start

Announce usage

"I'm using the Finishing a Development Branch skill to complete this work."

The skill will then:

1. Run tests (e.g., npm test)

2. Present options: Merge, PR, Keep, Discard

3. Execute your chosen option (e.g., git checkout main && git merge feature-branch)

4. Clean up the worktree if applicable

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Finishing a Development Branch
Download link: https://github.com/obra/clank/archive/main.zip#finishing-a-development-branch

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.