{ "description": "Planning with Files lifecycle integration for Claude Code", "hooks": { "SessionStart": [ { "matcher": "startup|resume|clear|compact", "hooks": [ { "type": "command", "command": "sh", "args": [ "${CLAUDE_PLUGIN_ROOT}/hooks/claude-hook.sh", "session-start" ], "timeout": 10, "statusMessage": "Restoring planning context" } ] } ], "UserPromptSubmit": [ { "hooks": [ { "type": "command", "command": "sh", "args": [ "${CLAUDE_PLUGIN_ROOT}/hooks/claude-hook.sh", "user-prompt-submit" ], "timeout": 10 } ] } ], "PreToolUse": [ { "matcher": "Write|Edit|Bash|Read|Glob|Grep", "hooks": [ { "type": "command", "command": "sh", "args": [ "${CLAUDE_PLUGIN_ROOT}/hooks/claude-hook.sh", "pre-tool-use" ], "timeout": 10 } ] } ], "PostToolUse": [ { "matcher": "Write|Edit", "hooks": [ { "type": "command", "command": "sh", "args": [ "${CLAUDE_PLUGIN_ROOT}/hooks/claude-hook.sh", "post-tool-use" ], "timeout": 10 } ] } ], "PreCompact": [ { "matcher": "*", "hooks": [ { "type": "command", "command": "sh", "args": [ "${CLAUDE_PLUGIN_ROOT}/hooks/claude-hook.sh", "pre-compact" ], "timeout": 10 } ] } ], "Stop": [ { "hooks": [ { "type": "command", "command": "sh", "args": [ "${CLAUDE_PLUGIN_ROOT}/hooks/claude-hook.sh", "stop" ], "timeout": 10, "statusMessage": "Checking planning completion" } ] } ] } }