What problem does it solve?
This Skill streamlines the final stages of development by providing a clear, structured process for integrating completed work. It ensures all tests pass, offers explicit options for merging, creating pull requests, or discarding work, and handles necessary cleanup, preventing messy repositories and lost work.
Core Features & Use Cases
- Test Verification: Mandates all tests pass before any integration, preventing broken code from entering the main branch.
- Structured Options: Presents clear choices for merging locally, pushing for a Pull Request, keeping the branch, or discarding work.
- Automated Cleanup: Handles the deletion of branches and worktrees for merged or discarded work.
- Safety Confirmation: Requires explicit confirmation before discarding work, preventing accidental data loss.
- Use Case: After completing a feature, use this Skill to ensure your code is stable, then choose to create a Pull Request for team review, knowing that the process will guide you through all necessary steps and cleanup.
Quick Start
Example: Verifying tests before completion
(Assuming you are in your feature branch)
Run your project's test suite
pytest # or npm test, cargo test, go test ./...
If tests pass, the skill will then present options:
Implementation complete. What would you like to do?
1. Merge back to <base-branch> locally
2. Push and create a Pull Request
3. Keep the branch as-is (I'll handle it later)
4. Discard this work