- Replace bash escape_json + printf with Python json.dump for reliable handling of Unicode and special characters in SKILL.md - Output follows superpowers pattern: hookSpecificOutput.additionalContext - 55KB context, 1230 lines, 8 mandatory skills injected at session start - Tested: JSON valid, content complete
23 lines
515 B
JSON
23 lines
515 B
JSON
{
|
|
"hooks": {
|
|
"SessionStart": [{
|
|
"hooks": [{
|
|
"type": "command",
|
|
"command": "\"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/detect-project.sh\"",
|
|
"shell": "bash",
|
|
"timeout": 10,
|
|
"async": false
|
|
}]
|
|
}],
|
|
"PreToolUse": [{
|
|
"matcher": "Write|Edit",
|
|
"hooks": [{
|
|
"type": "command",
|
|
"command": "\"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/detect-file-type.sh\" \"$TOOL_INPUT\"",
|
|
"shell": "bash",
|
|
"timeout": 10
|
|
}]
|
|
}]
|
|
}
|
|
}
|