Executes automated bash commands and modifies files before, during, and after tool use, sessions, and key user interactions.
npx claudepluginhub harmaalbers/claude-requirements-frameworkDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/handle-stop.py",
"statusMessage": "Verifying requirements..."
}
],
"matcher": "*"
}
],
"PreCompact": [
{
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/handle-pre-compact.py",
"statusMessage": "Saving requirement state..."
}
],
"matcher": "*"
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/check-requirements.py",
"statusMessage": "Checking requirements..."
}
],
"matcher": "Edit|Write|MultiEdit|Bash|EnterPlanMode|ExitPlanMode|mcp__.*"
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/handle-session-end.py",
"statusMessage": "Cleaning up session..."
}
],
"matcher": "*"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/auto-satisfy-skills.py",
"statusMessage": "Processing skill completion..."
}
],
"matcher": "Skill"
},
{
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/clear-single-use.py",
"statusMessage": "Updating requirement state..."
}
],
"matcher": "Bash"
},
{
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/handle-plan-exit.py",
"statusMessage": "Validating plan requirements..."
}
],
"matcher": "ExitPlanMode"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/handle-session-start.py",
"statusMessage": "Initializing requirements framework..."
}
],
"matcher": "*"
}
],
"SubagentStart": [
{
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/handle-subagent-start.py",
"statusMessage": "Injecting review context..."
}
],
"matcher": "*"
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/handle-prompt-submit.py",
"statusMessage": "Checking requirement context..."
}
],
"matcher": "*"
}
],
"PermissionRequest": [
{
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/handle-permission-request.py",
"statusMessage": "Checking command safety..."
}
],
"matcher": "*"
}
],
"PostToolUseFailure": [
{
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/handle-tool-failure.py",
"statusMessage": "Recording failure metrics..."
}
],
"matcher": "*"
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": true,
"touchesFileWrites": true
},
"typeStats": {
"command": 12
},
"eventStats": {
"Stop": 1,
"PreCompact": 1,
"PreToolUse": 1,
"SessionEnd": 1,
"PostToolUse": 3,
"SessionStart": 1,
"SubagentStart": 1,
"UserPromptSubmit": 1,
"PermissionRequest": 1,
"PostToolUseFailure": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 12
}
}