generate-precommit-hooks

Installation
SKILL.md

Generate Pre-commit Hooks

Analyze the current project and generate appropriate pre-commit hooks based on the tech stack.

Instructions

  1. Detect project type by checking for:

    • package.json (Node/TypeScript/JavaScript)
    • Cargo.toml (Rust)
    • pyproject.toml or requirements.txt (Python)
    • go.mod (Go)
    • foundry.toml (Solidity/Foundry)
    • hardhat.config.js/ts (Solidity/Hardhat)
  2. Check existing setup:

    • Look for .husky/ directory
    • Check for lint-staged config in package.json
    • Check for .pre-commit-config.yaml
    • Check for existing git hooks in .git/hooks/
Installs
20
GitHub Stars
2
First Seen
May 23, 2026
generate-precommit-hooks — adwilkinson/claude-code-tools