跳转到主要内容

setup-pre-commit

星标208,500
分支24,603
更新时间2026年7月13日 11:38

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.

· 实时索引

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

想先保存到本地?可下载 RuleHub 当前索引到的 GitHub 仓库压缩包。

下载 Zip
文件资源管理器2 个文件
SKILL.mdreadonly
namesetup-pre-commit
descriptionSet up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user w...

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.

When to use

Use this skill when the user needs help with tasks related to setup pre commit.

Guidelines

  • Follow repository conventions in mattpocock/skills
  • Prefer minimal, focused changes
  • Validate outputs before finishing