Automatically runs commands before editing or writing Markdown files.
npx claudepluginhub outfitter-dev/outfitterDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/validate-skill-frontmatter.ts",
"timeout": 10
}
],
"matcher": "Write(**/SKILL.md)|Edit(**/SKILL.md)"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 1
},
"eventStats": {
"PreToolUse": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 1,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}