Automated Pre-Commit Hooks
Enforces mandatory code quality gates and security checks by automating linting, formatting, and testing before every git commit.
The Automated Pre-Commit Hooks skill implements 'The Iron Law' of professional development: no project should exist without automated quality enforcement. It provides domain-specific configurations for JavaScript, Python, and PHP environments to ensure that unformatted code, type errors, and broken tests never reach your repository. By standardizing the use of tools like Husky, pre-commit, and Gitleaks, this skill helps teams maintain a clean codebase, prevent credential leaks, and streamline the onboarding process for new developers.
主な機能
01Multi-language support for JS/TS, Python, and PHP projects
02Standardized linting and formatting enforcement (Prettier, Black, etc.)
03Tailored test execution patterns for frontend and backend changes
04Automated secret leak detection using Gitleaks integration
05Conventional commit message validation for clean git histories
060 GitHub stars
ユースケース
01Standardizing quality gates during the initialization of new software projects
02Preventing sensitive credentials and API keys from being committed to version control
03Automating code style and type checking to reduce friction during code reviews