mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-03-12 21:23:05 -07:00
Adds a Bash PostToolUse hook that detects the prek documentation audit warning and injects additionalContext into Claude's session, prompting it to invoke the readme-documentarian agent automatically. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
16 lines
235 B
JSON
16 lines
235 B
JSON
{
|
|
"hooks": {
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Bash",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": ".claude/hooks/doc-audit-trigger.sh"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|