BuaaJoseph/claude-code-best-practice-zh

Claude Code 最佳实践中文版

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

PreToolUse

01

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 100% MIT

PermissionRequest

02

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 84% MIT

PostToolUse

03

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 77% MIT

PostToolUseFailure

04

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 83% MIT

UserPromptSubmit

05

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 83% MIT

Notification

06

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 81% MIT

Stop

07

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 83% MIT

SubagentStart

08

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 86% MIT

SubagentStop

09

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 84% MIT

PreCompact

10

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 84% MIT

PostCompact

11

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 78% MIT

SessionStart

12

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 88% MIT

SessionEnd

13

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 80% MIT

Setup

14

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 100% MIT

TeammateIdle

15

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 80% MIT

TaskCompleted

16

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 78% MIT

ConfigChange

17

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 81% MIT

WorktreeCreate

18

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 83% MIT

WorktreeRemove

19

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 83% MIT

InstructionsLoaded

20

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 81% MIT

Elicitation

21

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 88% MIT

ElicitationResult

22

BuaaJoseph/claude-code-best-practice-zh

Hook Claude Code

One of 23 in settings.json

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

not rated 2 4mo ago A tokens not measured copy · 81% 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: