Event Hooks
Community

go-dev

1 event · 2 hooks

Install
1
Install the plugin
$
npx claudepluginhub solrac97gr/marketplace-plugins --plugin go-dev

Want just this hook?

Then install: npx claudepluginhub u/[userId]/[slug]

Risk Indicators
Modifies files
Source

Defined inline in plugin.json manifest

Configuration
{
  "PreToolUse": [],
  "PostToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "${CLAUDE_PLUGIN_ROOT}/scripts/validate-domain-purity.sh",
          "description": "Validate domain layer has no external dependencies"
        }
      ],
      "matcher": "Write|Edit",
      "matchPath": "internal/.*/domain/.*\\.go$"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "go test ./test/architecture/... -v",
          "description": "Run architecture tests after updating them"
        }
      ],
      "matcher": "Write|Edit",
      "matchPath": "test/architecture/.*_test\\.go$"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": true
  },
  "typeStats": {
    "command": 2
  },
  "eventStats": {
    "PostToolUse": 2
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 1,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 2
  }
}

Similar Hooks