Skip to content
Skill

finishing-a-development-branch

by obra

AI Summary

Guides developers through the final stages of completing a development branch by verifying tests pass and presenting structured options for merging, creating PRs, or cleanup. Useful for developers who want a systematic approach to integrating completed work.

Install

# Install skill into your project
mkdir -p .cursor/skills/finishing-a-development-branch
&& curl --retry 3 --retry-delay 2 --retry-all-errors -o .cursor/skills/finishing-a-development-branch/SKILL.md "https://raw.githubusercontent.com/obra/superpowers/main/skills/finishing-a-development-branch/SKILL.md"

Run in your IDE terminal (bash). On Windows, use Git Bash, WSL, or your IDE's built-in terminal. If curl fails with an SSL error, your network may block raw.githubusercontent.com — try using a VPN or download the files directly from the source repo.

Description

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup

Overview

Guide completion of development work by presenting clear options and handling chosen workflow. Core principle: Verify tests → Present options → Execute choice → Clean up. Announce at start: "I'm using the finishing-a-development-branch skill to complete this work."

Step 1: Verify Tests

Before presenting options, verify tests pass: `bash

Run project's test suite

npm test / cargo test / pytest / go test ./... ` If tests fail: ` Tests failing (<N> failures). Must fix before completing: [Show failures] Cannot proceed with merge/PR until tests pass. ` Stop. Don't proceed to Step 2. If tests pass: Continue to Step 2.

Try common base branches

git merge-base HEAD main 2>/dev/null || git merge-base HEAD master 2>/dev/null ` Or ask: "This branch split from main - is that correct?"

Quality Score

B

Good

87/100

Standard Compliance85
Documentation Quality78
Usefulness82
Maintenance Signal100
Community Signal100
Scored 4d ago

GitHub Signals

Stars84.2k
Forks6.6k
Issues146
Updated3d ago
View on GitHub

Trust & Transparency

Open Source — MIT

Source code publicly auditable

Verified Open Source

Hosted on GitHub — publicly auditable

Actively Maintained

Last commit 3d ago

84.2k stars — Strong Community

6.6k forks

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code