What problem does it solve? Setting up commit-time quality checks in a JavaScript or TypeScript repository involves wiring together Husky, lint-staged, and Prettier with the right configuration files, which is repetitive and easy to misconfigure. This Skill automates the entire setup so every commit is automatically formatted, type-checked, and tested. ## Core Features & Use Cases - Package Manager Detection: Detects npm, pnpm, yarn, or bun from lockfiles and adapts all commands accordingly. - Husky + lint-staged Setup: Installs devDependencies, initializes Husky, and creates a .husky/pre-commit hook that runs lint-staged, typecheck, and tests. - Prettier Configuration: Creates .lintstagedrc and a .prettierrc with sensible defaults only when no existing config is found. - Use Case: You just scaffolded a new Node.js project and want every commit to auto-format staged files with Prettier and block commits that fail type checking or tests, without manually writing hook scripts. ## Quick Start Set up Husky pre-commit hooks with lint-staged, Prettier, typecheck, and tests in this repository.