setup-pre-commit
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
Tasks: 代码开发与重构, 代码审查与质量, 测试与调试, Git、PR 与团队协作
Creator Heat: 38.5; commercial use: commercial_allowed.