What problem does it solve? Manually wiring up Git pre-commit hooks, staged-file formatting, and commit-time checks is repetitive and error-prone. This Skill automates the entire setup so every commit is automatically formatted, type-checked, and tested before it lands in the repository. ## Core Features & Use Cases - Husky Hook Setup: Initializes Husky (v9+) and creates a .husky/pre-commit hook that runs lint-staged, typecheck, and tests. - lint-staged + Prettier: Adds a .lintstagedrc that runs Prettier on all staged files, 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 JavaScript/TypeScript project and want every commit auto-formatted and validated. Run this Skill once and the hooks, configs, and an initial smoke-test commit are done for you. ## Quick Start Set up pre-commit hooks with Husky, lint-staged, and Prettier in this repository.