hooks-patterns
OfficialAutomate code quality and security with hooks.
AuthorJNZader-Vault
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps developers automate code quality checks, formatting, and security measures by recommending and configuring pre-commit and post-tool-use hooks, preventing common errors and improving code consistency.
Core Features & Use Cases
- Automated Formatting: Integrates with tools like Prettier, ESLint, Black, and gofmt to ensure consistent code style.
- Type Checking: Recommends hooks for TypeScript and Python type checkers (mypy, pyright) to catch errors early.
- Security Enforcement: Suggests hooks to block edits to sensitive files (e.g.,
.env,credentials.json) and lock files. - Test Automation: Recommends hooks to automatically run tests (Jest, pytest) after code changes.
- Notification Hooks: Configures alerts for permission requests or idle states in AI coding assistants.
Quick Start
Configure auto-formatting hooks for Prettier and ESLint by adding the recommended settings to your .claude/settings.json file.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: hooks-patterns Download link: https://github.com/JNZader-Vault/project-starter-framework/archive/main.zip#hooks-patterns 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 223,000+ vetted skills library on demand.