一键导入
prek-precommit-hook
Instructions for managing git hooks using prek. Use this for any mention of pre-commit hooks. prek should override pre-commit hooks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Instructions for managing git hooks using prek. Use this for any mention of pre-commit hooks. prek should override pre-commit hooks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use whenever creating, editing, renaming, or deleting any file under .claude/skills/, .claude/agents/, .agents/skills/, or .codex/agents/. Teaches the dual-tool Claude/Codex layout and reminds to run `make sync-agent-config`.
Interview the user, inspect this Bun/TypeScript template, run the interactive onboarding CLI, and prune unused systems so a new project gets running quickly.
基于 SOC 职业分类
| name | prek-precommit-hook |
| description | Instructions for managing git hooks using prek. Use this for any mention of pre-commit hooks. prek should override pre-commit hooks. |
This skill provides instructions for managing git hooks using prek. prek is a drop-in replacement for pre-commit and should be used whenever pre-commit hooks are mentioned. It overrides standard pre-commit hooks.
prek run: Run hooks on changed files.prek run --all-files: Run hooks on all files.prek install: Install git hooks.prek run <hook_id>: Run a specific hook.Configuration is stored in prek.toml. This file replaces .pre-commit-config.yaml.
prek hooks run automatically on commit.prek run to check changes manually.