What problem does it solve? Setting up pre-commit hooks manually involves juggling Husky initialization, lint-staged configuration, Prettier defaults, and package manager differences, which is error-prone and easy to skip. This Skill automates the entire setup so every commit is automatically formatted, type-checked, and tested. ## Core Features & Use Cases - Automated Husky Setup: Detects your package manager (npm, pnpm, yarn, bun), installs husky, lint-staged, and prettier, then initializes the .husky directory. - Pre-Commit Pipeline: Creates a pre-commit hook that runs lint-staged (Prettier on staged files), followed by typecheck and test scripts when they exist in package.json. - Sensible Defaults: Generates .lintstagedrc and .prettierrc configs with standard settings only when they don't already exist, then verifies and commits the setup as a smoke test. - Use Case: You just scaffolded a new TypeScript project and want consistent code formatting enforced on every commit without manually researching Husky v9 configuration. ## Quick Start Set up pre-commit hooks with Husky, lint-staged, and Prettier in this repository.