Audit an existing Sim integration against the service API docs and repository conventions, then report and fix issues across tools, blocks, outputs, OAuth scopes, triggers, and registry entries. Use when validating or repairing a service integration under `apps/sim/tools`, `apps/sim/blocks`, or `apps/sim/triggers`.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Une commande directe contourne le prompt de vérification. Examinez la source avant de l'exécuter.
Audit an existing Sim integration against the service API docs and repository conventions, then report and fix issues across tools, blocks, outputs, OAuth scopes, triggers, and registry entries. Use when validating or repairing a service integration under `apps/sim/tools`, `apps/sim/blocks`, or `apps/sim/triggers`.
Validate Integration Skill
You are an expert auditor for Sim integrations. Your job is to thoroughly validate that an existing integration is correct, complete, and follows all conventions.
Your Task
When the user asks you to validate an integration:
Read the service's API documentation (via WebFetch or Context7)
Read every tool, the block, and registry entries
Cross-reference everything against the API docs and Sim conventions
Report all issues found, grouped by severity (critical, warning, suggestion)
Fix all issues after reporting them
Step 1: Gather All Files
Read every file for the integration — do not skip any:
apps/sim/tools/{service}/ # All tool files, types.ts, index.ts
apps/sim/blocks/blocks/{service}.ts # Block definition
apps/sim/tools/registry.ts # Tool registry entries for this service
apps/sim/blocks/registry.ts # Block registry entry for this service
apps/sim/components/icons.tsx # Icon definition
apps/sim/lib/auth/auth.ts # OAuth config — should use getCanonicalScopesForProvider()
apps/sim/lib/oauth/oauth.ts # OAuth provider config — single source of truth for scopes
apps/sim/lib/oauth/utils.ts # Scope utilities, SCOPE_DESCRIPTIONS for modal UI
Step 2: Pull API Documentation
Fetch the official API docs for the service. This is the source of truth for:
Endpoint URLs, HTTP methods, and auth headers
Required vs optional parameters
Parameter types and allowed values
Response shapes and field names
Pagination patterns (which param name, which response field)
Rate limits and error formats
Hard Rule: No Guessed Response Schemas
If the official docs do not clearly show the response JSON shape for an endpoint, you MUST tell the user instead of guessing.
Do NOT assume field names from nearby endpoints
Do NOT infer nested JSON paths without evidence
Do NOT treat "likely" fields as confirmed outputs
Do NOT accept implementation guesses as valid just because they are defensive
If a response schema is unknown, the validation must explicitly call that out and require:
sample responses from the user,
live test credentials for verification, or
trimming the tool/block down to only documented fields.
Step 3: Validate Tools
For every tool file, check:
Tool ID and Naming
Tool ID uses snake_case: {service}_{action} (e.g., x_create_tweet, slack_send_message)
Tool name is human-readable (e.g., 'X Create Tweet')
Tool description is a concise one-liner describing what it does
Tool version is set ('1.0.0' or '2.0.0' for V2)
Params
All required API params are marked required: true
All optional API params are marked required: false
Every param has explicit required: true or required: false — never omitted
Param types match the API ('string', 'number', 'boolean', 'json')
Visibility is correct:
'hidden' — ONLY for OAuth access tokens and system-injected params
'user-only' — for API keys, credentials, and account-specific IDs the user must provide
'user-or-llm' — for everything else (search queries, content, filters, IDs that could come from other blocks)
Every param has a description that explains what it does
Request
URL matches the API endpoint exactly (correct base URL, path segments, path params)
HTTP method matches the API spec (GET, POST, PUT, PATCH, DELETE)