setup-pre-commit
Pass
Audited by Gen Agent Trust Hub on Jul 27, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill performs standard repository maintenance tasks using well-known development tools.
- [EXTERNAL_DOWNLOADS]: The skill installs common, legitimate packages from the npm registry:
husky(Git hooks management)lint-staged(Run linters on git staged files)prettier(Code formatter)- [COMMAND_EXECUTION]: The skill executes shell commands to initialize tools and manage the repository state:
- Detects the project's package manager by checking for lockfiles.
- Runs initialization commands like
npx husky init. - Creates a
.husky/pre-commitscript to automate code quality checks during commits.
Audit Metadata