Files
everything-claude-code/rules/zh/hooks.md
xingzihai da74f85c10 fix: address review feedback from PR #929
- Add missing code-review.md and development-workflow.md to zh/README.md directory listing
- Add mkdir -p command before copy in manual install instructions
- Fix TypeScript test command path in SKILL-DEVELOPMENT-GUIDE.md
- Add Anti-Patterns section to SKILL.md template
- Add Template category to Skill Categories table in CONTRIBUTING.md
- Add Pre-Review Requirements section to code-review.md (both en and zh)
- Add Pre-Review Checks step to development-workflow.md (both en and zh)
- Add trailing newlines to all files that were missing them
2026-03-26 04:37:08 +00:00

725 B

钩子系统

钩子类型

  • PreToolUse:工具执行前(验证、参数修改)
  • PostToolUse:工具执行后(自动格式化、检查)
  • Stop:会话结束时(最终验证)

自动接受权限

谨慎使用:

  • 为可信、定义明确的计划启用
  • 探索性工作时禁用
  • 永远不要使用 dangerously-skip-permissions 标志
  • 改为在 ~/.claude.json 中配置 allowedTools

TodoWrite 最佳实践

使用 TodoWrite 工具:

  • 跟踪多步骤任务的进度
  • 验证对指令的理解
  • 启用实时引导
  • 显示细粒度的实现步骤

待办列表揭示:

  • 顺序错误的步骤
  • 缺失的项目
  • 多余的不必要项目
  • 错误的粒度
  • 误解的需求