What problem does it solve?
Developers often face risky, inconsistent workflows when completing feature branches, leading to broken merges, accidental code loss, or leftover unused worktrees and branches cluttering the repository.
Core Features & Use Cases
- Pre-completion test verification: Automatically checks that all project tests pass before offering any completion options to prevent merging broken code.
- Environment-aware option presentation: Detects the current git environment (normal repository, named worktree, detached HEAD) to show only relevant, safe completion options.
- End-to-end workflow handling: Manages the full process from local merge or PR creation to safe worktree and branch cleanup, with guardrails like mandatory confirmation for discarding work.
- Use Case: After finishing a feature implementation, use this skill to safely merge your branch to the main codebase, open a PR for team review, or clean up unused work without risking lost commits.
Quick Start
Use the finishing-a-development-branch skill to complete your current feature branch work after confirming all tests pass.