一键导入
setup-git-hooks
Sets up git hooks for this project. Use only when the user explicitly asks to set up git hooks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Sets up git hooks for this project. Use only when the user explicitly asks to set up git hooks.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Creates or updates a nested CLAUDE.md for a complex feature or platform layer. Use when creating one for the first time or when updating after significant changes to a feature.
Appends an entry to docs/decisions.md when an architectural or cross-cutting decision is made. Use when committing to a tech choice that other agents might re-litigate (e.g. SSE vs WebSockets, RLS vs service-role, a library choice). Don't use for single-file implementation choices.
| name | setup-git-hooks |
| description | Sets up git hooks for this project. Use only when the user explicitly asks to set up git hooks. |
Copy @pre-commit.sh to .git/hooks/pre-commit and make it executable with chmod +x.
Tell the user it's installed and will run on every commit.