npx claudepluginhub infraspecdev/tesseract --plugin shieldDefined in hooks/hooks.json
{
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "\"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/post-edit.sh\""
}
],
"matcher": "Write|Edit"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "\"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/session-start.sh\""
}
],
"matcher": "startup|resume"
}
]
}"Ensures Node.js 20+ and runs ensure-deps.mjs on SessionStart. After PostToolUse on Edit/Write/MultiEdit, executes post-edit-check.sh. Accesses files."