vinvcn/mattpocock-skills-zh-cn/setup-pre-commit
在当前仓库设置 Husky pre-commit hooks,集成 lint-staged (Prettier)、类型检查和测试。适用于用户想添加 pre-commit hooks、设置 Husky、配置 lint-staged,或在提交时运行格式化、类型检查和测试时。
Agent skill · version 1.3.2 · from vinvcn/mattpocock-skills-zh-CN
Install
npx yarkr-cli add skill:vinvcn/mattpocock-skills-zh-cn/setup-pre-commitWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:vinvcn/mattpocock-skills-zh-cn/setup-pre-commit
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:vinvcn/mattpocock-skills-zh-cn/setup-pre-commitOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:vinvcn/mattpocock-skills-zh-cn/setup-pre-commitWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.