clxzl/claude-code-best-practice-cn

Claude Code 最佳实践中文版

127Stars on the repository
62Mods indexed here, across every type
3mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

PreToolUse

01

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs before the agent uses a tool, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 100% MIT

PermissionRequest

02

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs when the agent asks permission for an action, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 84% MIT

PostToolUse

03

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs after a tool call finishes, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 77% MIT

UserPromptSubmit

05

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 83% MIT

Notification

06

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs when the agent sends a notification, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 81% MIT

Stop

07

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs when the agent finishes a response, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 83% MIT

SubagentStart

08

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs when a subagent starts, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 86% MIT

SubagentStop

09

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs when a subagent finishes, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 84% MIT

PreCompact

10

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs before the context is compacted, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 84% MIT

PostCompact

11

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs after the context is compacted, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 78% MIT

SessionStart

12

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs when a session starts, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 88% MIT

SessionEnd

13

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs when a session ends, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 80% MIT

Setup

14

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs once when the project is set up, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 100% MIT

TeammateIdle

15

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs on the TeammateIdle event, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 80% MIT

TaskCompleted

16

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs when a task is marked completed, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 78% MIT

ConfigChange

17

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs on the ConfigChange event, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 81% MIT

WorktreeCreate

18

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs when a git worktree is created, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 83% MIT

WorktreeRemove

19

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs when a git worktree is removed, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 83% MIT

Elicitation

21

clxzl/claude-code-best-practice-cn

Hook Claude Code

Runs when the agent asks you a question, executing hooks.py via python3. From clxzl/claude-code-best-practice-cn.

127 3mo ago A tokens not measured copy · 88% MIT

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: