Event Hooks

tailwind-4

3 events · 4 hooks

From tailwind-4
Install
1
Run in your terminal
$
npx claudepluginhub djankies/claude-configs --plugin tailwind-4
Risk Indicators
Modifies files
Source

Defined in hooks/hooks.json

Configuration
{
  "PreToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/recommend-skills.sh",
          "timeout": 1000,
          "description": "Recommend relevant Tailwind v4 skills based on file patterns"
        }
      ],
      "matcher": "Read|Write|Edit"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/validate-config.sh",
          "timeout": 1000,
          "description": "Block deprecated tailwind.config.js files in Tailwind v4"
        }
      ],
      "matcher": "Write"
    }
  ],
  "PostToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/validate-tailwind-v4.sh",
          "timeout": 5000,
          "description": "Validate Tailwind v4 patterns and suggest fixes"
        }
      ],
      "matcher": "Write|Edit"
    }
  ],
  "SessionStart": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/init-session.sh",
          "timeout": 1000,
          "description": "Initialize session state for skill recommendations"
        }
      ]
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": true
  },
  "typeStats": {
    "command": 4
  },
  "eventStats": {
    "PreToolUse": 2,
    "PostToolUse": 1,
    "SessionStart": 1
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 4,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 0
  }
}
Stats
Parent Repo Stars0
Parent Repo Forks0
Last CommitNov 25, 2025