Finishing A Development Branch
Guided wrap-up for a finished branch: verify tests, then choose merge, PR, keep, or discard.
- CCM score
- 58 of 100
- skills.sh installs
- 453
- GitHub stars
- 50.5K
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers the completion flow: test verification, base-branch detection, four structured options, execution, and worktree cleanup
- Enforces a hard stop when tests fail and requires typed
discardconfirmation before any branch deletion - Blocks local merge on protected base branches, routing integration through pull requests or the repository's guarded merge workflow
- Designed for agents that finish implementation work and need to hand it off without losing or breaking anything
Install
$ npx -y skills add sickn33/agentic-awesome-skills --skill finishing-a-development-branch -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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?"
Details
- Repository
- github.com/sickn33/agentic-awesome-skills
- Categories
- Git & Releases, Agent Workflow & Planning
- First seen
- Jun 3, 2026
More from sickn33/agentic-awesome-skills
All 682- Api Testing Observability Api Mock451
- Free Tool Strategy451
- Telegram Automation451
- Slack Gif Creator450
- Codebase Cleanup Tech Debt448
- Referral Program446
- Popup Cro445
- Frontend Mobile Security Xss Scan444
- Frontend Mobile Development Component Scaffold442
- Prompt Engineering Patterns442
- C Pro439
- Legal Advisor439
- Segment Cdp438
- Typescript Pro438
- Seo Content Writer437
- Tavily Web437
- Code Review Ai Ai Review436
- Database Optimizer436
- Ethical Hacking Methodology436
- Seo Keyword Strategist435
- Unit Testing Test Generate431
- Php Pro429
- Laravel Security Audit427
- Application Performance Performance Optimization426
Similar to Finishing A Development Branch
More Git & Releasesgit-pr-workflows-git-workflowsickn33/agentic-awesome-skills293 installsGuarded workflow that takes completed changes through review, validation, commit, and pull request without bypassing branch protection.
using-git-worktreessickn33/agentic-awesome-skills535 installsSet up isolated git worktrees with directory selection, ignore-safety checks, and baseline test verification.
mergealirezarezvani/claude-skills1.4K installsMerge the winning agent's branch, archive losing branches as git tags, and clean up worktrees.
git-workflow-strategyaj-geddes/useful-ai-prompts490 installsGit branching workflow guide covering GitFlow, GitHub Flow, and Trunk-Based Development for team collaboration.