commit-precheck
CommunityGuard your commits, enforce standards.
Software Engineering#code quality#git#workflow automation#pre-commit#repository management#commit hook
Authorjimmymalhan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents commits that contain non-feature files, ensuring that only relevant code and template work are added to the repository, maintaining a clean and focused commit history.
Core Features & Use Cases
- Commit Validation: Automatically checks staged files against a predefined list of forbidden patterns before a commit is finalized.
- Blocking Non-Feature Files: Prevents the inclusion of task breakdowns, progress reports, implementation notes, and other administrative or planning documents in commits.
- Use Case: A developer accidentally stages a
TASK_BREAKDOWN.csvfile along with new feature code. Running the commit precheck will block the commit and alert the developer to unstage the CSV file.
Quick Start
Run bash .claude/hooks/commit-precheck.sh before your git commit.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 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-precheck Download link: https://github.com/jimmymalhan/codereview-pilot/archive/main.zip#commit-precheck Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.