rongxinzy/claude-code-best-practice-zh

Claude code 最佳实践中文精修版本

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

PreToolUse

01

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 100% MIT

PermissionRequest

02

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 84% MIT

PostToolUse

03

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 77% MIT

PostToolUseFailure

04

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

Runs when a tool call fails, executing hooks.py via python3. From rongxinzy/claude-code-best-practice-zh.

not rated 6 +1 4mo ago A tokens not measured copy · 83% MIT

UserPromptSubmit

05

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 83% MIT

Notification

06

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 81% MIT

Stop

07

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 83% MIT

SubagentStart

08

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 86% MIT

SubagentStop

09

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 84% MIT

PreCompact

10

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 84% MIT

PostCompact

11

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 78% MIT

SessionStart

12

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 88% MIT

SessionEnd

13

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 80% MIT

Setup

14

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 100% MIT

TeammateIdle

15

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 80% MIT

TaskCreated

16

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

Runs on the TaskCreated event, executing hooks.py via python3. From rongxinzy/claude-code-best-practice-zh.

not rated 6 +1 4mo ago A tokens not measured copy · 83% MIT

TaskCompleted

17

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 78% MIT

ConfigChange

18

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 81% MIT

WorktreeCreate

19

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 83% MIT

WorktreeRemove

20

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 83% MIT

InstructionsLoaded

21

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

Runs after instructions files are loaded, executing hooks.py via python3. From rongxinzy/claude-code-best-practice-zh.

not rated 6 +1 4mo ago A tokens not measured copy · 81% MIT

Elicitation

22

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

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

not rated 6 +1 4mo ago A tokens not measured copy · 88% MIT

ElicitationResult

23

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

Runs on the ElicitationResult event, executing hooks.py via python3. From rongxinzy/claude-code-best-practice-zh.

not rated 6 +1 4mo ago A tokens not measured copy · 81% MIT

StopFailure

24

rongxinzy/claude-code-best-practice-zh

Hook Claude Code

One of 28 in settings.json

Runs on the StopFailure event, executing hooks.py via python3. From rongxinzy/claude-code-best-practice-zh.

not rated 6 +1 4mo ago A tokens not measured copy · 83% 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: