What problem does it solve? Manually wiring up pre-commit hooks in a JavaScript or TypeScript repo is repetitive and error-prone: you must pick the right package manager, install Husky and lint-staged, write hook files, and keep Prettier config consistent. This Skill automates the entire setup so every commit is formatted, type-checked, and tested before it lands. ## Core Features & Use Cases - Package manager detection: Detects npm, pnpm, yarn, or bun from lockfiles and adapts all commands accordingly. - Hook scaffolding: Installs husky, lint-staged, and prettier, runs husky init, and writes a .husky/pre-commit hook that runs lint-staged, typecheck, and tests. - Config generation: Creates .lintstagedrc and a sensible .prettierrc only when no Prettier config already exists. - Use Case: You clone a fresh TypeScript project with no commit automation. Invoke this Skill and it installs the tooling, writes the hook files, verifies the setup, and commits everything through the new hooks as a smoke test. ## Quick Start Set up Husky pre-commit hooks with lint-staged, Prettier, typecheck, and tests in this repository.