What problem does it solve? Manually wiring up pre-commit hooks is error-prone: developers must install Husky, configure lint-staged, create Prettier configs, and remember to run type checks and tests before every commit. This Skill automates the entire setup so commits are consistently formatted and validated. ## Core Features & Use Cases - Husky Hook Setup: Installs Husky, initializes the .husky/ directory, and creates a pre-commit hook that runs lint-staged, typecheck, and tests. - lint-staged + Prettier Configuration: Creates .lintstagedrc to run Prettier on staged files and generates a sensible .prettierrc 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 Husky pre-commit hooks that format staged files with Prettier and block commits that fail type checking or tests. ## Quick Start Set up Husky pre-commit hooks with lint-staged, Prettier, typecheck, and tests in this repository.