What problem does it solve? Setting up pre-commit quality checks manually involves juggling Husky initialization, lint-staged configuration, Prettier defaults, and package manager differences, which is error-prone and easy to skip. This Skill automates the entire setup so every commit runs formatting, type checking, and tests consistently. ## Core Features & Use Cases - Automated Husky Setup: Installs Husky, initializes the .husky/ directory, and wires the prepare script in package.json. - lint-staged + Prettier Integration: Creates .lintstagedrc to run Prettier on staged files and generates a .prettierrc with sensible defaults if none exists. - Package Manager Detection: Detects npm, pnpm, yarn, or bun from lockfiles and adapts all commands accordingly. - Use Case: You inherit a JavaScript repo with no commit-time checks. Run this Skill to add a pre-commit hook that formats staged files, runs typecheck, and executes tests before every commit. ## Quick Start Set up Husky pre-commit hooks with lint-staged, Prettier, typecheck, and tests in this repository.