Git Commit & Safety Standards

•
398
•

Enforces Conventional Commits style guides and implements strict git safety protocols for reliable version control.

This skill optimizes the Git workflow by ensuring all commit messages follow the Conventional Commits specification while enforcing strict safety invariants. It provides domain-specific guidance to prevent common mistakes such as staging sensitive files, force-pushing without authorization, or using broad commands like 'git add .', thereby maintaining a clean, professional, and secure repository history for any development project.

Características Principales

01Pre-commit inspection requirements using git diff --cached
02398 GitHub stars
03Safety guards against unauthorized force-pushes and hard resets
04Standardized subject line constraints and imperative mood enforcement
05Strict file staging rules to prevent accidental credential leaks
06Conventional Commits formatting (feat, fix, refactor, docs, etc.)

Casos de Uso

01Standardizing project history for automated changelog generation
02Preventing sensitive data like .env files or API keys from entering the repository
03Enforcing consistent git etiquette and safety checks across collaborative teams