Event Hooks

hook-todo-collector

3 events · 3 hooks

From hook-todo-collector
Install
1
Run in your terminal
$
npx claudepluginhub Dev-GOM/claude-code-marketplace --plugin hook-todo-collector
Risk Indicators
Modifies files
Source

Defined in hooks/hooks.json

Configuration
{
  "Stop": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/collect-todos.js",
          "timeout": 15000,
          "description": "Scans project for TODO, FIXME, HACK, BUG, XXX, NOTE comments and generates reports",
          "continueOnError": true
        }
      ],
      "enabled": true,
      "priority": 90,
      "description": "Scan and collect all TODO-style comments when session ends"
    }
  ],
  "PostToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/track-todos.js",
          "timeout": 5000,
          "description": "Records modified files for TODO comparison",
          "suppressOutput": true,
          "continueOnError": true
        }
      ],
      "enabled": true,
      "matcher": "Write|Edit|NotebookEdit",
      "priority": 50,
      "description": "Track modified files for TODO scanning"
    }
  ],
  "SessionStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/init-config.js",
          "timeout": 5000,
          "description": "Creates user configuration file if it doesn't exist",
          "suppressOutput": false,
          "continueOnError": true
        }
      ],
      "enabled": true,
      "priority": 10,
      "description": "Initialize TODO Collector configuration"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": true
  },
  "typeStats": {
    "command": 3
  },
  "eventStats": {
    "Stop": 1,
    "PostToolUse": 1,
    "SessionStart": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 3,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 0
  }
}
Stats
Parent Repo Stars56
Parent Repo Forks0
Last CommitOct 20, 2025