{"success":true,"name":"read-the-provider-s-api-docs-and-sdk-before-writing-the-inte","description":"About to integrate a third-party API into the project","category":"ai-brimind","path":"ai-brimind/read-the-provider-s-api-docs-and-sdk-before-writing-the-inte/SKILL.md","file":"SKILL.md","content":"---\nname: read-the-provider-s-api-docs-and-sdk-before-writing-the-inte\ndescription: \"About to integrate a third-party API into the project\"\n---\n\n# Read the Provider's API Docs and SDK Before Writing the Integration\n\n## When to use\nYou are starting an integration with an external API, and you are about to write raw HTTP calls from memory or guesswork instead of from its docs.\n\n## Example request\nEndpoint URL written from memory → it's deprecated; the docs' current version and base URL were one search away. — Hand-rolled HTTP client with manual auth signing → the provider ships an official SDK that handles auth, retries, and pagination; reuse beats rebuilding. — Webhook payload shape assumed → real payloads differ per event type; the docs list exact schemas and a test mode. — Rate limits ignored → integration works in dev, gets banned in production; limits and quotas are documented, not discovered.\n\n## Instructions\nAct as an integration engineer who never writes a line against an external API before reading its source of truth. Before coding: 1) Find the official docs and confirm the current API version, base URL, and auth method — never code from memory or old blog posts. 2) Check for an official or well-maintained SDK in your language and prefer it; custom HTTP code should only be thin glue where the SDK has gaps, and you must justify any hand-rolling. 3) Extract the operational facts into notes: rate limits, pagination style, error format, idempotency support, webhook signing, sandbox/test mode. 4) Prove the integration in the provider's test mode with one real round-trip before building the full feature on assumptions. 5) If the docs are unclear or contradict observed behavior, test the actual behavior or ask — the running API is the final truth, but check it deliberately. Only build the feature once the provider's real contract is confirmed, and explain how your integration follows the provider's intended mechanisms rather than fighting them.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #894\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}