commit-guard

Community

Keep commits clean, focused, and well-structured.

Authorrpreissel
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Commit history often becomes noisy due to oversized or unfocused commits, making reviews harder and changes harder to revert. Commit Guard analyzes staged changes before a commit to enforce size limits, coherence, and feature-branch discipline.

Core Features & Use Cases

  • Threshold-based size checks: counts files/lines and flags oversized commits.
  • Coherence scoring: evaluates same directory or same file types to suggest grouping or splitting.
  • Branching and messaging: proposes branches and generates consistent commit messages when multiple logical changes are involved.

Quick Start

Run commit-guard before committing to automatically enforce focused, appropriately sized commits.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: commit-guard
Download link: https://github.com/rpreissel/secoc/archive/main.zip#commit-guard

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.