What problem does it solve?
Ensures that code changes are committed with discipline, preventing risky direct commits to protected branches and enforcing conventional commit formatting.
Core Features & Use Cases
- Branch discipline enforcement: automatically prompts feature-branch creation when on main/master and validates the branch before committing.
- Change review and safety: examines git status and staged changes, preventing commits that include sensitive files (.env, credentials) or unrelated changes.
- Conventional commit guidance: enforces type(scope): description syntax and optional body, with optional Co-Authored-By attribution.
- End-to-end commit workflow: adds changes, commits with the properly formatted message, and verifies history with git log.
Quick Start
Use this skill to ensure a safe, conventional-commit compliant workflow when committing changes, including branch checks, staged changes review, and properly formatted messages.