Stats
Actions
Tags
From Directives Toolkit
Runs shell scripts before Write/Edit/Bash to remind of skills, and after Skill events to mark completion. Executes bash commands and writes files.
2 events · 3 hooks
Safety signals detected in this hook configuration
Where this hook configuration is defined
Defined in hooks/hooks.json
Event handlers and matchers — expand Raw Configuration for the full JSON
Bash"${CLAUDE_PLUGIN_ROOT}"/scripts/push-gate.shEdit|MultiEdit|Writeif grep -qE '"file_path": ?"[^"]*(index\.html|/docs/[^"]*\.html|\.css)"'; then echo 'Edited a GitHub Pages file - apply the update-pages skill: ship it, watch the pages build for the pushed SHA, and report live/stuck/failed proactively.' >&2; exit 2; fi; exit 0in=$(cat); msg=''; if echo "$in" | grep -qE '"file_path": ?"[^"]*CLAUDE\.md"'; then msg='CLAUDE.md changed - the copy injected at session start is now stale; re-read the file before relying on project instructions.'; elif echo "$in" | grep -qE '"file_path": ?"[^"]*\.claude/(settings\.json|agents/)'; then msg='Hook/agent configuration changed - it loads only at session start; takes effect next session, do not assume it is live.'; fi; if [ -n "$msg" ]; then echo "$msg" >&2; exit 2; fi; exit 0npx claudepluginhub akyachtsman/claude.directives --plugin directives-toolkit