What problem does it solve? Manually wiring up Git pre-commit hooks is error-prone and often skipped, letting unformatted or broken code slip into the repository. This Skill automates the entire setup of commit-time quality gates in a JavaScript/TypeScript project. ## 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: Configures .lintstagedrc to auto-format staged files with Prettier, and creates a .prettierrc with sensible defaults 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 Node.js project and want every commit to be automatically formatted and verified. Run this Skill to install Husky, wire up lint-staged, and commit the working configuration in one pass. ## Quick Start Set up pre-commit hooks with Husky, lint-staged, and Prettier in this repository.