best practices hooks

21 tagged best practices, measured the same way as everything else here.

Browse within: agentic-coding 5

PreToolUse

04

Totoro-jam/battle-tested-patterns

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From Totoro-jam/battle-tested-patterns.

339 1mo ago A tokens not measured original MIT

PreToolUse

06

VeryGoodOpenSource/vgv-ai-flutter-plugin

Hook

Runs before the agent uses a tool for mcp__.*very-good-cli__.* and Bash tool calls, executing check-vgv-cli.sh and block-cli-workarounds.sh via bash (2 commands). From VeryGoodOpenSource/vgv-ai-flutter-plugin.

157 12d ago A tokens not measured original MIT

PostToolUse

07

VeryGoodOpenSource/vgv-ai-flutter-plugin

Hook

Runs after a tool call finishes for Edit and Write tool calls, executing analyze.sh and format.sh via bash (2 commands). From VeryGoodOpenSource/vgv-ai-flutter-plugin.

157 12d ago A tokens not measured copy · 58% MIT

PreToolUse

08

MuhammadUsmanGM/claude-code-best-practices

Hook Claude Code

Runs before the agent uses a tool for Write and Edit tool calls, executing block-secrets.sh via bash. From MuhammadUsmanGM/claude-code-best-practices.

74 2mo ago A tokens not measured original MIT

PostToolUse

09

MuhammadUsmanGM/claude-code-best-practices

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, executing format-on-write.sh via bash. From MuhammadUsmanGM/claude-code-best-practices.

74 2mo ago A tokens not measured original MIT

UserPromptSubmit

10

AsiaOstrich/universal-dev-standards

Hook Claude Code

Runs when you submit a prompt, before the agent sees it, executing inject-standards.js via node. From AsiaOstrich/universal-dev-standards.

72 3d ago A tokens not measured

SessionStart

11

oribarilan/97

Hook

Runs when a session starts on startup, clear and compact, executing session-start.mjs via node. From oribarilan/97.

24 3mo ago A tokens not measured

SessionStart

12

martinholovsky/SOTA-skills

Hook

Runs when a session starts, executing plugin-notice.sh and update-reminder.sh (2 commands). From martinholovsky/SOTA-skills.

17 2d ago A tokens not measured CC-BY-4.0

Stop

13

SPHINX998/forged-in-prod

Hook Claude Code

Runs when the agent finishes a response, executing worklog_reminder.py via python. From SPHINX998/forged-in-prod.

11 1mo ago A tokens not measured original MIT

UserPromptSubmit

14

zircote-plugins/sdlc-quality

Hook

Runs when you submit a prompt, before the agent sees it, executing test-wrapper.sh. From zircote-plugins/sdlc-quality.

10 28d ago A tokens not measured original MIT

PreToolUse

15

juan294/cc-rpi

Hook Claude Code

Runs before the agent uses a tool for Bash tool calls, executing guard-bash.sh via bash. From juan294/cc-rpi.

5 12d ago A tokens not measured original MIT

PostToolUse

16

juan294/cc-rpi

Hook Claude Code

Runs after a tool call finishes for Write and Edit tool calls, executing verify-edit.sh via bash. From juan294/cc-rpi.

5 12d ago A tokens not measured original MIT

SessionStart

17

choiyounggi/dev-loop

Hook

Runs when a session starts on startup, executing preflight.sh, insight-instruction.sh and config-nudge.sh via bash (3 commands). From choiyounggi/dev-loop.

4 2d ago A tokens not measured copy · 66% MIT

PreToolUse

18

choiyounggi/dev-loop

Hook

Runs before the agent uses a tool for Bash tool calls, executing pre-flush-pr-gate.sh and orchestrate-ask-gate.sh via bash (2 commands). From choiyounggi/dev-loop.

4 2d ago A tokens not measured original MIT

Stop

19

choiyounggi/dev-loop

Hook

Runs when the agent finishes a response, executing loop-gate.sh, harvest-insights.sh and auto-flush.sh via bash (3 commands). From choiyounggi/dev-loop.

4 2d ago A tokens not measured copy · 56% MIT

SessionStart

20

gjalla/engineering

Hook

Runs when a session starts, running an inline shell check. From gjalla/engineering.

3 15d ago A tokens not measured