commit-guard - Git commit quality guard with branch protection
Analyzes git staged changes and enforces commit standards before creation
Tags
Updated: 2026-02-14Capabilities
Typical Inputs
Typical Outputs
What this skill does
- analyze git diff statistics
- check file and line thresholds
- calculate change coherence score
- determine commit strategy
- suggest branch names
- create feature branches
- split unrelated changes
Inputs
- staged git changes
- .opencode/config.json
- git branch information
- commit ticket references
Outputs
- commit warnings
- branch creation suggestions
- multiple git branches
- organized commits
Requirements
- git repository
- staged changes
- access to .opencode/config
- branch creation permissions
