What problem does it solve? Manually wiring up pre-commit hooks is repetitive and error-prone: you need to install Husky, configure lint-staged, create a Prettier config, and hook in typecheck and test scripts. This Skill automates the entire setup so every commit is automatically formatted, type-checked, and tested. ## Core Features & Use Cases - Husky Hook Setup: Initializes Husky (v9+) and creates a .husky/pre-commit hook that runs lint-staged, typecheck, and tests. - lint-staged + Prettier: Configures lint-staged to run Prettier on all staged files, with a sensible default .prettierrc created only if none exists. - Package Manager Detection: Detects npm, pnpm, yarn, or bun from lockfiles and adapts all commands accordingly. - Use Case: You just scaffolded a new TypeScript project and want every commit to be formatted and verified. Run this Skill to install Husky, wire up lint-staged with Prettier, and add typecheck/test gates in one pass. ## Quick Start Set up pre-commit hooks in this repo with Husky, lint-staged, Prettier, and my typecheck and test scripts.