What problem does it solve? Manually wiring up commit-time checks in a JavaScript or TypeScript repo is repetitive and error-prone. This Skill automates the full setup of Husky pre-commit hooks so every commit is automatically formatted, type-checked, and tested before it lands. ## 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 consistent formatting and safety checks on every commit. Run this Skill to install dependencies, create the hook, verify the setup, and commit the result as a smoke test. ## Quick Start Set up pre-commit hooks with Husky, lint-staged, and Prettier in this repository.