Files
2025-11-29 18:19:22 +08:00

60 lines
1.7 KiB
JSON

{
"description": "Scans your entire project and collects all TODO, FIXME, HACK, XXX, NOTE, and BUG comments",
"version": "1.2.0",
"author": "Dev GOM",
"lastUpdated": "2025-10-20",
"hooks": {
"SessionStart": [
{
"description": "Initialize TODO Collector configuration",
"priority": 10,
"enabled": true,
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/init-config.js",
"description": "Creates user configuration file if it doesn't exist",
"timeout": 5000,
"continueOnError": true,
"suppressOutput": false
}
]
}
],
"PostToolUse": [
{
"description": "Track modified files for TODO scanning",
"matcher": "Write|Edit|NotebookEdit",
"priority": 50,
"enabled": true,
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/track-todos.js",
"description": "Records modified files for TODO comparison",
"timeout": 5000,
"continueOnError": true,
"suppressOutput": true
}
]
}
],
"Stop": [
{
"description": "Scan and collect all TODO-style comments when session ends",
"priority": 90,
"enabled": true,
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/collect-todos.js",
"description": "Scans project for TODO, FIXME, HACK, BUG, XXX, NOTE comments and generates reports",
"timeout": 15000,
"continueOnError": true
}
]
}
]
}
}