smaqit.infrastructure-hook-pre-commit-validate
CommunityAutomate pre-commit validation to catch issues before they hit your repository.
Authorruifrvaz
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers catch issues such as .env files, plaintext secrets, draft specs on main/merge, and large files before they are committed to the repository, ensuring code quality and security.
Core Features & Use Cases
- Pre-commit Validation: Performs checks on staged files to prevent common issues like sensitive data exposure and large files from being committed.
- Automated Hook: Sets up a git pre-commit hook to run these checks automatically on every commit.
- Customizable: Allows for additional checks and custom logic to be added for specific project needs.
Quick Start
Run the install.sh script from the scripts/ directory to set up the pre-commit hook.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 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: smaqit.infrastructure-hook-pre-commit-validate Download link: https://github.com/ruifrvaz/local-image-generator/archive/main.zip#smaqit-infrastructure-hook-pre-commit-validate 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 620,000+ vetted skills library on demand.