`graphify claude install` im Monorepo: graphify-Abschnitt an (neue) CLAUDE.md angehängt und PreToolUse-Hooks in .claude/settings.json registriert (Graph-Check vor Such-/Lesetools, Auto-Rebuild nach Code-Änderungen). Der generierte graphify-out/ (AST-Graph über 741 Code-Dateien, ~10 MB) wird nicht versioniert. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0155v2aT8AG1kZDQEZiCLBWC
24 lines
469 B
JSON
24 lines
469 B
JSON
{
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Bash|Grep",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "/Users/stwaidele/.local/bin/graphify hook-guard search"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": "Read|Glob",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "/Users/stwaidele/.local/bin/graphify hook-guard read"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |