What problem does it solve? Unformatted or broken code reaches a repository's history because formatting and checks rely on developers remembering to run them. This Skill installs a Husky pre-commit gate that enforces Prettier, ESLint, typecheck, and fast staged-scoped tests automatically on every commit. ## Core Features & Use Cases - Two installation modes: Minimal mode runs lint-staged with Prettier on staged files only; full mode adds typecheck and fast staged-scoped tests (e.g. vitest related --run) for client production repos. - Staged-files-only speed discipline: Keeps the gate sub-second by scoping all checks to staged files and moving slow suites like Playwright e2e to pre-push or CI, preventing --no-verify bypass habits. - Config detection and preservation: Detects package manager from lockfiles, preserves existing Prettier and Husky configurations, and audits existing hooks instead of reinstalling. - Use Case: A client Next.js/TypeScript repo with no protection keeps getting unformatted diffs and type errors on main; the Skill installs a full-mode gate that formats staged files, typechecks, and runs only affected unit tests in under a second. ## Quick Start Set up Husky pre-commit hooks with lint-staged and Prettier on this repo, using full mode with typecheck and staged-scoped tests if the scripts exist.