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-commitAbout 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
Grill Me
一个用来打磨计划或设计的持续追问式访谈。
by vinvcn
Grill With Docs
一个用来打磨计划或设计的持续追问式访谈,并在过程中创建文档(ADRs 和词汇表)。
by vinvcn
Setup Matt Pocock Skills
为此仓库配置 engineering skills——设置其 issue tracker、triage labels 词汇与 domain docs 布局。在首次使用其他 engineering skills 前运行一次。
by vinvcn
Tdd
测试驱动开发。适用于用户想用先写测试的方式构建功能或修复缺陷、提到 “red-green-refactor”,或需要集成测试时。
by vinvcn
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh