sickn33 avatar

Finishing A Development Branch

When you're done coding and tests pass, this walks you through the four ways to wrap up: merge locally, push a PR, leave it alone, or discard the work. It verifies tests first, won't let you proceed if anything's broken, and handles git worktree cleanup automatically for the merge and discard paths. The four-option structure keeps things moving without getting stuck in "what now?" conversations. Pairs naturally with subagent-driven-development and executing-plans skills that call it when their work finishes. One nice touch is the typed confirmation requirement before discarding work, which prevents accidental deletions when you're moving fast.

skills.sh installs
453
GitHub stars
39.4K
last updated
Jun 3, 2026

Install

$ npx -y skills add sickn33/antigravity-awesome-skills --skill finishing-a-development-branch --agent claude-code

Installs into .claude/skills of the current project.

Files

Finishing a Development Branch

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."

The Process

Step 1: Verify Tests

Before presenting options, verify tests pass:

# 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.

Step 2: Determine Base Branch

# 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?"

Sponsors

Details

Repository
github.com/sickn33/antigravity-awesome-skills
Category
Git & Pull Requests
First seen
Jun 3, 2026

More from sickn33/antigravity-awesome-skills

All 708
1trailofbits avatarfix-reviewtrailofbits/skillsfix review400skills.sh installs
2sickn33 avatarcommitsickn33/antigravity-awesome-skillscommit359skills.sh installs
3paulrberg avatarcommitpaulrberg/agent-skillsCommit staged or intended changes: compose a Conventional Prefix or Natural Language message, then use ai-commit — with --all, --staged, --close, or --push.346skills.sh installs
4tirth8205 avatarReview Changestirth8205/code-review-graphPerform a structured code review using change detection and impact309skills.sh installs
5n8n-io avatarlinear-issuen8n-io/n8nFetch and analyze Linear issue with all related context. Use when starting work on a Linear ticket, analyzing issues, or gathering context about a Linear issue.305skills.sh installs
6paperclipai avatarrelease-changelogpaperclipai/paperclipGenerate the stable Paperclip release changelog at releases/vYYYY.MDD.P.md by reading commits, changesets, and merged PR context since the last stable tag.298skills.sh installs