npx claudepluginhub nsalvacao/nsalvacao-claude-code-plugins --plugin agile-lifecycleDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/validate-artefact.sh",
"timeout": 10,
"description": "Validate artefact structure before writing"
}
],
"matcher": "Write|Edit"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/lf-check.sh",
"timeout": 5,
"description": "Warn on CRLF line endings"
}
],
"matcher": "Write|Edit"
},
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/check-phase-state.sh",
"timeout": 10,
"description": "Verify phase state consistency after writes"
}
],
"matcher": "Write|Edit"
}
]
}"Validates primitive I/O via validate-primitive-io.sh: PreToolUse blocks/modifies Read tools; PostToolUse checks Write tools. Involves file writes."