What problem does it solve? Manually setting up pre-commit hooks involves coordinating Husky, lint-staged, and Prettier configuration files, which is error-prone and easy to misconfigure. 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 and creates a .husky/pre-commit hook that runs lint-staged, typecheck, and tests. - lint-staged + Prettier: Creates a .lintstagedrc that formats all staged files with Prettier, plus a default .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 verified. Run this Skill to install the tooling, write the config files, and commit the setup through the new hooks as a smoke test. ## Quick Start Set up Husky pre-commit hooks with lint-staged and Prettier in this repository.