{
  "description": "DSS Developer Hooks - React/UI Development & QA Tools",
  "version": "1.0.0",
  "author": "DSS Team",
  "hooks": {
    "PreToolUse": [
      {
        "description": "Security pattern validation for file edits",
        "matcher": "Edit|Write",
        "priority": 100,
        "enabled": true,
        "hooks": [
          {
            "type": "command",
            "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-check.py",
            "timeout": 5000,
            "continueOnError": true
          }
        ]
      },
      {
        "description": "Design token compliance validation",
        "matcher": "Edit|Write",
        "priority": 90,
        "enabled": true,
        "hooks": [
          {
            "type": "command",
            "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/token-validator.py",
            "timeout": 5000,
            "continueOnError": true
          }
        ]
      }
    ],
    "PostToolUse": [
      {
        "description": "React component best practices and accessibility",
        "matcher": "Edit|Write",
        "priority": 80,
        "enabled": true,
        "hooks": [
          {
            "type": "command",
            "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/component-checker.py",
            "timeout": 5000,
            "continueOnError": true
          }
        ]
      },
      {
        "description": "Code complexity tracking",
        "matcher": "Edit|Write",
        "priority": 70,
        "enabled": true,
        "hooks": [
          {
            "type": "command",
            "command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/complexity-monitor.js",
            "timeout": 5000,
            "continueOnError": true
          }
        ]
      },
      {
        "description": "Storybook coverage reminder for components",
        "matcher": "Edit|Write",
        "priority": 60,
        "enabled": true,
        "hooks": [
          {
            "type": "command",
            "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/storybook-reminder.py",
            "timeout": 3000,
            "continueOnError": true
          }
        ]
      }
    ],
    "SessionEnd": [
      {
        "description": "Generate session summary report",
        "priority": 100,
        "enabled": true,
        "hooks": [
          {
            "type": "command",
            "command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/session-summary.js",
            "timeout": 10000,
            "continueOnError": true
          }
        ]
      }
    ],
    "Stop": [
      {
        "description": "Auto-backup changes to git",
        "priority": 100,
        "enabled": true,
        "hooks": [
          {
            "type": "command",
            "command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/git-backup.js",
            "timeout": 10000,
            "continueOnError": false
          }
        ]
      }
    ]
  }
}
