Event Hooks
Community

proagent-mobile

2 events · 6 hooks

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

Want just this hook?

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

Risk Indicators
Executes bash commandsModifies 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.command // empty' | { read cmd; if echo \"$cmd\" | grep -qE 'eas (build|submit|deploy)'; then echo '[proagent-mobile] EAS operation detected. Verify: (1) eas whoami is authenticated, (2) expo.version and buildNumber/versionCode are updated in app.json, (3) required credentials are configured.'; fi; }",
          "timeout": 10
        },
        {
          "type": "command",
          "command": "which jq >/dev/null 2>&1 || exit 0; jq -r '.tool_input.command // empty' | { read cmd; if echo \"$cmd\" | grep -qE '(npx )?expo install' && ! echo \"$cmd\" | grep -q '\\-\\-check'; then echo '[proagent-mobile] expo install detected without --check flag. Run \"npx expo install --check\" first to verify package compatibility with your SDK version.'; fi; }",
          "timeout": 10
        }
      ],
      "matcher": "Bash"
    }
  ],
  "PostToolUse": [
    {
      "hooks": [
        {
          "type": "command",
          "command": "which jq >/dev/null 2>&1 || exit 0; jq -r '.tool_input.file_path // empty' | { read fpath; if echo \"$fpath\" | grep -qiE 'app\\.json|eas\\.json|app\\.config\\.(js|ts)'; then echo '[proagent-mobile] App config updated. If this is your first EAS build, run \"eas build:configure\" to generate eas.json. Verify your bundle identifier and package name match your store listings.'; fi; }",
          "timeout": 5
        },
        {
          "type": "command",
          "command": "which jq >/dev/null 2>&1 || exit 0; jq -r '.tool_input.file_path // empty' | { read fpath; if echo \"$fpath\" | grep -qiE '\\.env|\\.env\\.local|\\.env\\.production|secret|credential|token'; then echo '[proagent-mobile] Sensitive file written. Ensure this file is in .gitignore and never committed. For mobile secrets, use expo-secure-store instead of environment files.'; fi; }",
          "timeout": 10
        }
      ],
      "matcher": "Write"
    },
    {
      "hooks": [
        {
          "type": "command",
          "command": "which jq >/dev/null 2>&1 || exit 0; jq -r '.tool_input.file_path // empty' | { read fpath; if echo \"$fpath\" | grep -qiE 'package\\.json$'; then echo '[proagent-mobile] package.json edited. Run \"npx expo install --fix\" to ensure dependencies are compatible with your Expo SDK version.'; fi; }",
          "timeout": 10
        }
      ],
      "matcher": "Edit"
    },
    {
      "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 'mobile-specialist\\|eas.build\\|deploy\\|submit'; then echo '[proagent-mobile] Mobile session completed. Test on a physical device via Expo Go or your dev client before submitting to stores.'; fi; }",
          "timeout": 5
        }
      ],
      "matcher": "Task"
    }
  ]
}
Summary
{
  "riskFlags": {
    "touchesBash": true,
    "matchAllTools": false,
    "touchesFileWrites": true
  },
  "typeStats": {
    "command": 6
  },
  "eventStats": {
    "PreToolUse": 2,
    "PostToolUse": 4
  },
  "originCounts": {
    "absolutePaths": 0,
    "pluginScripts": 0,
    "projectScripts": 0
  },
  "timeoutStats": {
    "commandsWithoutTimeout": 0
  }
}
Stats
Stars2
Forks1
Last CommitMar 13, 2026

Similar Hooks