claudegoodies
Hook

Claude-Code-Game-Studios hooks

From Donchitos

Hooks on SessionStart, PreToolUse, PostToolUse, Notification, PreCompact, PostCompact, Stop, SubagentStart, SubagentStop

Facts

Status
Actively maintained
Last commit

Source preview

The instructions Claude Code reads when this hook runs.

{
  "SessionStart": [
    {
      "matcher": "",
      "hooks": [
        {
          "type": "command",
          "command": "bash .claude/hooks/session-start.sh",
          "timeout": 10
        },
        {
          "type": "command",
          "command": "bash .claude/hooks/detect-gaps.sh",
          "timeout": 10
        }
      ]
    }
  ],
  "PreToolUse": [
    {
      "matcher": "Bash",
      "hooks": [
        {
          "type": "command",
          "command": "bash .claude/hooks/validate-commit.sh",
          "timeout": 15
        },
        {
          "type": "command",
          "command": "bash .claude/hooks/validate-push.sh",
          "timeout": 10
        }
      ]
    }
  ],
  "PostToolUse": [
    {
      "matcher": "Write|Edit",
      "hooks": [
        {
          "type": "command",
          "command": "bash .claude/hooks/validate-assets.sh",
          "timeout": 10
        },
        {
          "type": "command",
          "command": "bash .claude/hooks/validate-skill-change.sh",
          "timeout": 5
        }
      ]
    }
  ],
  "Notification": [
    {
      "matcher": "",
      "hooks": [
        {
          "type": "command",
          "command": "bash .claude/hooks/notify.sh",
          "timeout": 10
        }
      ]
    }
  ],
  "PreCompact": [
    {
      "matcher": "",
      "hooks": [
        {
          "type": "command",
          "command
View full source on GitHub →

Other hooks