Skip to content
Development
Hook

Hooks

What frontend-craft runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
frontend-craft
2156 skills14 agents11 commands5 hooks
+1
Install
> /plugin marketplace add bovinphang/frontend-craft
> /plugin install frontend-craft@frontend-craft

Ships with frontend-craft. Installing the plugin gets these hooks.

What fires, and when

PreToolUse

  • MatchesBashnode "${CLAUDE_PLUGIN_ROOT}/dist/hooks/fec-security-check.js"

PostToolUse

  • MatchesWrite|Edit|MultiEditnode "${CLAUDE_PLUGIN_ROOT}/dist/hooks/fec-format-changed-file.js"

SessionStart

Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.

  • Matches.*node "${CLAUDE_PLUGIN_ROOT}/dist/hooks/fec-cleanup-claude-cache.js"node "${CLAUDE_PLUGIN_ROOT}/dist/hooks/fec-session-start.js"

Stop

  • Matches.*node "${CLAUDE_PLUGIN_ROOT}/dist/hooks/fec-run-tests.js"

Notification

  • Matches.*node "${CLAUDE_PLUGIN_ROOT}/dist/hooks/fec-notify.js"
Read hooks/hooks.json
Ships withfrontend-craft

frontend-craft is a universal frontend plugin that brings the same opinionated engineering standards to all 15 AI coding assistants.

Get the whole plugin