Event Hooks

vitest-4

3 events · 4 hooks

Install
1
Install the plugin
$
npx claudepluginhub djankies/claude-configs --plugin vitest-4

Want just this hook?

Add to a custom plugin, then install with one command.

Risk Indicators
Modifies files
Source

Defined in ./hooks/hooks.json

Configuration
{
  "PreToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/recommend-skills.sh"
        }
      ],
      "matcher": "Read|Write|Edit"
    }
  ],
  "PostToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/validate-vitest-config.sh"
        },
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/validate-vitest-tests.sh"
        }
      ],
      "matcher": "Write|Edit"
    }
  ],
  "SessionStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/init-session.sh"
        }
      ]
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": true
  },
  "typeStats": {
    "command": 4
  },
  "eventStats": {
    "PreToolUse": 1,
    "PostToolUse": 2,
    "SessionStart": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 4,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 4
  }
}
Stats
Stars0
Forks0
Last CommitNov 25, 2025
Actions

Similar Hooks