/plugin marketplace add ooiyeefei/ccc/plugin install product-management@cccDefined in hooks/hooks.json
{
"SessionStart": [
{
"hooks": [
{
"type": "prompt",
"prompt": "Check if this project has PM data that needs attention:\n\n1. Check if `.pm/` directory exists\n2. If exists, read `.pm/cache/last-updated.json`\n3. Check staleness:\n - If `github_sync` >24 hours ago: Suggest running `/pm:sync`\n - If `competitors` >30 days old: Warn about stale competitor data\n - If `gaps` >14 days old: Note gap analysis may be outdated\n\nIf `.pm/` doesn't exist, skip silently (user hasn't started PM workflow).\n\nOnly report issues if found. Be concise.",
"timeout": 10
}
],
"matcher": "*"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"prompt": 1
},
"eventStats": {
"SessionStart": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}