What problem does it solve?
This Skill helps teams maintain clear, auditable Git history, avoid merge conflicts, and recover from broken histories by teaching and enforcing safe branching, commit, and CI practices.
Core Features & Use Cases
- Atomic commits & conventional messages: Advice on creating small, focused commits and using conventional commit types for traceability.
- Branching strategies: Guidance on choosing trunk-based or Git Flow patterns and naming conventions for predictable releases.
- Advanced Git operations: Step-through workflows for interactive rebase, worktrees, bisect, cherry-pick, and safe force-push techniques.
- CI integration & recovery: Recommendations for branch protection, CI-friendly merges, and recovery steps using reflog and bisect to restore lost work.
- Use Case: Prepare a feature branch for PR by squashing fixups, rebasing onto the latest main, ensuring tests pass locally, and pushing safely for CI validation.
Quick Start
Ask the agent to prepare a feature branch for review by interactively rebasing onto origin/main, squashing fixups, running local tests, and pushing with --force-with-lease.