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.
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
- Matches
Bashnode "${CLAUDE_PLUGIN_ROOT}/dist/hooks/fec-security-check.js"
PostToolUse
- Matches
Write|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"
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
Stats
21
Stars
3
Forks
Active
Maintenance
JavaScript
Language
MIT
License
21d ago
Last commit
6mo ago
Created
Repo: bovinphang/frontend-craft

