SKILL5.5K installs5.3K

Setup Pre Commit

在当前仓库设置 Husky pre-commit hooks,集成 lint-staged (Prettier)、类型检查和测试。适用于用户想添加 pre-commit hooks、设置 Husky、配置 lint-staged,或在提交时运行格式化、类型检查和测试时。

Type
Skill
Author
vinvcn
GitHub stars
5.3K
Installs
5.5K
Last updated
October 28, 2026

Install

npx skills add https://github.com/vinvcn/mattpocock-skills-zh-cn --skill setup-pre-commit

About this skill

Sets up Husky pre-commit hooks in the current repository, integrating lint-staged with Prettier, type checking, and tests. Useful when adding pre-commit hooks or configuring formatting and checks to run on commit. It's a one-time repository setup.

Summary written with AI assistance from the project's public description.


Categories


More from vinvcn


Similar Skills