Set up Husky pre-commit hooks with lint-staged running Prettier + ESLint, plus a full typecheck/lint/format/test gate, using the detected package manager. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, add commit-time formatting/linting/typechecking/testing, or mentions "/setup-pre-commit".
$npx -y skills add josortmel/ecorelay --skill setup-pre-commitInstalls into the current project.
Run `npx skills use "https://github.com/josortmel/ecorelay" --skill "josortmel/ecorelay/setup-pre-commit"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/josortmel/ecorelay" that are relevant to the current task. Run `npx skills add "https://github.com/josortmel/ecorelay"` and select the relevant skills, then follow their instructions.