Event Hooks
Community

proagent-platform

2 events · 3 hooks

Install
1
Install the plugin
$
npx claudepluginhub diegouis/provectus-marketplace --plugin proagent-platform

Want just this hook?

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

Risk Indicators
Modifies files
Source

Defined in hooks/hooks.json

Configuration
{
  "PreToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "which jq >/dev/null 2>&1 || exit 0; jq -r '.tool_input.file_path // empty' | { read fp; if echo \"$fp\" | grep -q '/scaffold/'; then echo '[proagent-platform] Scaffolding output detected. Ensure generated files follow golden path conventions and include required components (tests, docs, CI config).'; fi; }",
          "timeout": 10
        }
      ],
      "matcher": "Write"
    }
  ],
  "PostToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "which jq >/dev/null 2>&1 || exit 0; jq -r '.tool_input.file_path // empty' | { read fp; if echo \"$fp\" | grep -q 'plugin.json$'; then echo '[proagent-platform] Plugin manifest written. Verify: (1) name follows naming convention, (2) version uses semver, (3) all resource paths are valid.'; elif echo \"$fp\" | grep -q 'SKILL.md$'; then echo '[proagent-platform] Skill file written. Verify: (1) YAML frontmatter has name and description, (2) description includes trigger terms, (3) body is under 500 lines.'; elif echo \"$fp\" | grep -q '/templates/'; then echo '[proagent-platform] Template written. Verify: (1) placeholders use consistent syntax, (2) invariants separated from variables, (3) usage examples included.'; fi; }",
          "timeout": 10
        }
      ],
      "matcher": "Write"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "which jq >/dev/null 2>&1 || exit 0; jq -r '.tool_input.prompt // empty' | { read prompt; if echo \"$prompt\" | grep -qi 'platform-specialist\\|dx.review\\|tooling.review'; then echo '[proagent-platform] Review completed. Check findings for critical DX issues before proceeding.'; fi; }",
          "timeout": 5
        }
      ],
      "matcher": "Task"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": false,
    "matchAllTools": false,
    "touchesFileWrites": true
  },
  "typeStats": {
    "command": 3
  },
  "eventStats": {
    "PreToolUse": 1,
    "PostToolUse": 2
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 0,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 0
  }
}
Stats
Stars2
Forks1
Last CommitFeb 24, 2026

Similar Hooks