claude-code-best-practices hooks

30 tagged claude-code-best-practices, measured the same way as everything else here.

Browse within: agentic-engineering 30best-practices 30claude-ai 30

PreToolUse

01

shanraisshan/claude-code-best-practice

Hook Claude Code

One of 50 in settings.json

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

not rated 66k +74 today A tokens not measured original MIT

Setup

02

shanraisshan/claude-code-best-practice

Hook Claude Code

One of 50 in settings.json

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

not rated 66k +74 today A tokens not measured original MIT

FileChanged

03

shanraisshan/claude-code-best-practice

Hook Claude Code

One of 50 in settings.json

Runs on the FileChanged event for .envrc, .env and .env.local tool calls, executing hooks.py via python3. From shanraisshan/claude-code-best-practice.

not rated 66k +74 today A tokens not measured original 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: