npx claudepluginhub dykyi-roman/awesome-claude-code --plugin accDefined in hooks/hooks.json
{
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "file=$(echo \"$CLAUDE_FILE_PATHS\"); if [[ \"$file\" == *.php ]]; then php -l \"$file\"; fi"
}
],
"matcher": "Write|Edit"
}
]
}"After Edit tool uses, runs learn-from-edits.sh script to process changes. Involves file writes via shell command."