Automates Git commits and pushes using structured conventional message formats and rigorous safety protocols.
This skill implements a production-grade Git workflow for Claude Code, ensuring all repository changes follow the Conventional Commits v1 specification with specific stylistic preferences such as 50-character titles and bulleted bodies. It maximizes repository health by preventing direct commits to trunk branches, automatically managing feature branch creation, and providing a safe recovery path when pre-commit hooks fail without using destructive commands like git amend.
主な機能
01Standardizes branch naming patterns based on issue numbers and change types (feat, fix, docs).
02Prevents direct commits to main/master by auto-generating standardized feature branches.
03Handles pre-commit hook failures by intelligently re-staging and creating new commits.
040 GitHub stars
05Implements a strict Git Safety Protocol that blocks destructive commands like force-pushing.
06Enforces Conventional Commits v1 with 50-character titles and imperative mood.
ユースケース
01Onboarding AI assistants to team-specific Git workflows and branch protection rules.
02Maintaining a clean, professional commit history that complies with semantic versioning standards.
03Safely managing complex multi-file changes while avoiding the accidental staging of sensitive files like .env.