What problem does it solve? Manually wiring up pre-commit quality checks is error-prone and inconsistent across projects. This Skill automates the full setup of Husky pre-commit hooks so every commit is automatically formatted, type-checked, and tested before it lands in the repository. ## 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 .lintstagedrc to run Prettier on all staged files and creates 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 just scaffolded a new TypeScript project and want every commit to be auto-formatted and type-checked. Run this Skill to install Husky, wire up lint-staged with Prettier, and verify the hook works with a smoke-test commit. ## Quick Start Set up pre-commit hooks with Husky, lint-staged, and Prettier in this repository.