Finishing a Development Branch
Guide completion of development work by presenting clear options and handling chosen workflow.
Core Principle
Verify tests → Present options → Execute choice → Clean up.
The Process
Step 1: Verify Tests
Before presenting options, verify tests pass:
npm test / cargo test / pytest / go test ./...
Step 2: Present Options
Once tests pass, present structured options:
- Merge to main - Direct merge for simple changes
- Create PR - Pull request for team review
- Keep branch - Continue work later
- Clean up - Remove branch and worktree
Step 3: Execute Choice
Handle the selected workflow systematically, ensuring all necessary steps are completed.
Use when implementation is complete and all tests pass.
Comments
No comments yet. Be the first to comment!
Related Tools
Using Git Worktrees Skill
github.com/obra/superpowers
Creates isolated git workspaces for feature work with smart directory selection and safety verification.
Subagent-Driven Development Skill
github.com/obra/superpowers
Execute plans by dispatching fresh subagent per task with two-stage review - spec compliance then code quality.
Test-Driven Development Skill
github.com/obra/superpowers
Write tests first, watch them fail, then write minimal code to pass - ensuring code quality through TDD methodology.
Related Insights
Skills + Hooks + Plugins: How Anthropic Redefined AI Coding Tool Extensibility
An in-depth analysis of Claude Code's trinity architecture of Skills, Hooks, and Plugins. Explore why this design is more advanced than GitHub Copilot and Cursor, and how it redefines AI coding tool extensibility through open standards.
Claude Code's Next Frontier: Not Code, But Your Local Obsidian Knowledge Base
Explore how Obsidian + Claude Code transforms from a knowledge management tool into your private AI assistant. Complete guide including obsidian-skills, Claudian plugin, Claudesidian template, and best practices for achieving both data privacy and AI capabilities.

Anthropic Subagent: The Multi-Agent Architecture Revolution
Deep dive into Anthropic multi-agent architecture design. Learn how Subagents break through context window limitations, achieve 90% performance improvements, and real-world applications in Claude Code.