integrations
Use this skill when the user needs to connect third-party services, set up APIs, add OAuth, configure webhooks, or integrate tools like Slack, Zapier, email providers, or payment processors. Covers API integration patterns, auth flows, webhook handling, and building integrations that non-technical founders can maintain.
Best use case
integrations is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Use this skill when the user needs to connect third-party services, set up APIs, add OAuth, configure webhooks, or integrate tools like Slack, Zapier, email providers, or payment processors. Covers API integration patterns, auth flows, webhook handling, and building integrations that non-technical founders can maintain.
Teams using integrations should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/integrations/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How integrations Compares
| Feature / Agent | integrations | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Use this skill when the user needs to connect third-party services, set up APIs, add OAuth, configure webhooks, or integrate tools like Slack, Zapier, email providers, or payment processors. Covers API integration patterns, auth flows, webhook handling, and building integrations that non-technical founders can maintain.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Third-Party Integrations The simplest integration that works is the best integration. If Zapier can do it, don't build a custom one. This skill helps you decide which integrations to build, how to build them simply, and how to handle the inevitable breakage. ## Core Principles - Build integrations your customers ask for, not ones you think are cool. - The simplest integration that works is the best integration. Zapier before custom code. - Every integration is a maintenance burden. Each one can break when the third party changes their API. - Authentication is the hardest part. Get OAuth right or use pre-built libraries. - Always handle the failure case. APIs go down. Webhooks get lost. Plan for it. ## Integration Decision Framework ### Build vs. Buy vs. Skip ``` Should I build this integration? 1. Are 3+ customers asking for it? No → Skip it. Revisit when demand exists. Yes ↓ 2. Can Zapier/Make/n8n handle it? Yes → Tell users to use Zapier. Don't build it yourself. No ↓ 3. Is there a well-documented API with a good SDK? Yes → Build it (or have AI build it). No → Evaluate if the effort is worth the churn it prevents. ``` ### Integration Priority for SaaS **Build these first (most SaaS apps need them):** | Integration | Why | Difficulty | |-------------|-----|-----------| | Stripe | Payments are core to your business | Medium (good docs, SDKs) | | Email provider (Resend, SendGrid) | Transactional emails are required | Easy | | Auth provider (Supabase Auth, Clerk) | Login is required | Easy (use their SDK) | | Analytics (PostHog, Mixpanel) | You need to track usage | Easy (drop-in script) | **Build these when customers ask:** | Integration | Why | Difficulty | |-------------|-----|-----------| | Slack | Notifications where teams already work | Easy | | Zapier | Lets users build their own integrations | Medium | | Google/Microsoft OAuth | "Sign in with Google" is expected | Medium | | Webhooks (outgoing) | Let customers receive events in their systems | Medium | **Skip these until $10k+ MRR:** | Integration | Why to Wait | |-------------|------------| | Salesforce | Complex API, long sales cycles to close deals that need it | | Custom enterprise SSO (SAML) | Only needed for enterprise deals | | Data warehouse exports | Build when you have data-heavy customers | --- ## Common Integration Patterns ### Pattern 1: OAuth Sign-In (Google, GitHub, etc.) **What it does:** Let users log in with existing accounts. **Tell AI:** ``` Add Google OAuth sign-in to my app. I'm using [Supabase Auth / Clerk / NextAuth]. Requirements: - "Sign in with Google" button on login page - Create user record on first sign-in - Link to existing account if email matches - Handle the error case gracefully ``` **Setup checklist:** ``` - [ ] Create OAuth app in provider's developer console - [ ] Set redirect URI to your production AND localhost URLs - [ ] Store client ID and secret in environment variables (never in code) - [ ] Test the full flow: sign in → callback → user created - [ ] Test edge case: user signs up with email, then tries Google with same email ``` ### Pattern 2: Sending Emails (Transactional) **What it does:** Welcome emails, password resets, notifications. **Recommended providers:** - **Resend** — Simple API, good free tier, built for developers - **SendGrid** — Established, more features, higher free tier - **Postmark** — Best deliverability, focused on transactional email **Tell AI:** ``` Set up transactional email with [Resend/SendGrid] for my [framework] app. I need to send: - Welcome email on signup - Password reset email - [Other emails you need] Use environment variables for API keys. Include error handling if the email fails to send. ``` ### Pattern 3: Webhooks (Receiving) **What it does:** Third-party services notify your app when something happens (e.g., Stripe payment succeeded). **Tell AI:** ``` Create a webhook endpoint for [Stripe/service] in my [framework] app. Requirements: - Verify the webhook signature (critical for security) - Handle these events: [list events, e.g., checkout.session.completed] - Respond with 200 quickly, process async if needed - Log the raw payload for debugging - Handle duplicate events (idempotency) ``` **Webhook checklist:** ``` - [ ] Endpoint URL is configured in the third party's dashboard - [ ] Webhook signature is verified on every request - [ ] Endpoint responds with 200 within 5 seconds - [ ] Failed processing retries gracefully - [ ] Events are idempotent (processing the same event twice is safe) - [ ] Raw payloads are logged for debugging ``` ### Pattern 4: Webhooks (Sending) **What it does:** Your app notifies customer systems when something happens. **Tell AI:** ``` Add outgoing webhooks to my app so customers can receive events. Requirements: - Customers can register a webhook URL in settings - Send POST requests with JSON payload when [events] occur - Include a signature header for verification - Retry failed deliveries 3 times with exponential backoff - Show delivery status in the customer's dashboard ``` ### Pattern 5: Zapier Integration **What it does:** Lets your customers connect your app to 5,000+ other apps without you building each integration. **When to build:** When multiple customers ask for integrations you don't want to build individually. **Tell AI:** ``` Help me plan a Zapier integration for [product]. My app can: - Triggers (things that happen): [e.g., new project created, task completed] - Actions (things Zapier can do in my app): [e.g., create a task, update a record] What API endpoints do I need to expose for Zapier? ``` --- ## API Key Management ### For Your API Keys (Connecting to Services) ``` Rules: - [ ] NEVER put API keys in code. Use environment variables. - [ ] Different keys for development and production. - [ ] Rotate keys if you accidentally commit one (immediately). - [ ] Document which keys are needed in a .env.example file. - [ ] Use the narrowest permissions possible for each key. ``` ### For Your Customers' API Keys (If You Offer an API) ``` - [ ] Generate unique keys per customer - [ ] Allow customers to revoke and regenerate keys - [ ] Rate limit by API key - [ ] Log usage by API key - [ ] Hash stored keys (don't store in plain text) ``` --- ## Error Handling for Integrations Every integration will fail at some point. Plan for it: ``` Integration Error Handling Checklist: - [ ] What happens if the API is down? (Queue and retry? Show error to user?) - [ ] What happens if auth credentials expire? (Re-auth flow? Alert the user?) - [ ] What happens if the API returns unexpected data? (Log and fail gracefully?) - [ ] What happens if rate limits are hit? (Backoff and retry? Queue?) - [ ] Is there a timeout? (Don't wait forever for a response) - [ ] Are errors logged with enough context to debug? ``` --- ## Common Mistakes | Mistake | Fix | |---------|-----| | Building custom integrations nobody asked for | Wait for 3+ customer requests before building | | API keys in source code | Environment variables, always | | No webhook signature verification | Verify every incoming webhook. Unverified = security hole | | No error handling on API calls | Every external call needs try/catch and a fallback | | Building what Zapier can handle | Recommend Zapier to customers. Build only what Zapier can't | | No retry logic for failed webhooks | Retry 3x with exponential backoff | | Testing only the happy path | Test: API down, bad credentials, rate limited, timeout | --- ## Success Looks Like - Core integrations (payments, email, auth) working reliably in production - Third-party API keys stored securely in environment variables - Webhook endpoints verified, idempotent, and logged - Customers can connect the tools they need (directly or via Zapier) - You can debug integration failures quickly with proper logging --- ## Related Skills - **build** — Hand integration specs to AI tools for implementation - **database** — Schema design for storing integration data - **secure** — Secure API key storage and OAuth implementation - **debug** — Diagnose integration failures
Related Skills
validate
Use this skill when the user needs to validate a business idea, test demand before building, run a smoke test, create an MVP experiment, or decide whether an idea is worth pursuing. Covers demand validation, smoke tests, fake-door tests, landing page experiments, and go/no-go decision frameworks for bootstrapped founders.
ux-design
Use this skill when flows feel clunky, users are confused, navigation needs planning, onboarding needs design, or accessibility needs implementation. Covers information architecture, user flows, interaction patterns, progressive disclosure, and error handling UX.
ui-patterns
Use this skill when the user needs to build a dashboard, settings page, data table, or any page layout. Also use when choosing component libraries, implementing responsive design, dark mode, or handling UI states (loading, empty, error). Covers component selection, page composition, and responsive implementation.
translate
Use this skill when the user is a domain expert (lawyer, doctor, contractor, accountant, etc.) who wants to turn their professional knowledge into a software product. Also use when the user says 'I have an idea for my industry,' 'I know this problem exists,' 'I want to build something for [profession],' or is struggling to describe what they want the software to do. Helps identify which professional pain is worth building for, then translates it into requirements AI tools can execute.
test
Use this skill when the user needs to test features before deployment, create test scenarios, find edge cases, or verify bug fixes. Covers manual testing workflows, cross-browser testing, edge case identification, and testing checklists for non-technical founders.
technical-seo
Use this skill to implement technical SEO optimizations in code — meta tags, schema markup, Core Web Vitals, crawlability, robots.txt, sitemaps, and GEO (Generative Engine Optimization) for AI search engines. This is the implementation skill — for strategy see seo, for content writing see seo-content, for auditing see seo-audit.
support
Use this skill when the user needs to create help docs, build a knowledge base, set up self-serve support, or reduce support tickets. Covers documentation strategy, help center structure, support tone, and scaling support without hiring.
social-media
Use this skill when the user needs to grow a social media presence, create content for Twitter/X, LinkedIn, or other platforms, build a founder brand, or use social media as a distribution channel. Covers platform strategy, content frameworks, posting cadence, and audience building for bootstrapped SaaS founders.
seo
Use this skill when the user needs to plan SEO content, do keyword research, build a content calendar, map search intent to page types, or create an internal linking strategy. Also use when the user says 'how do I rank higher,' 'what should I write about for SEO,' 'SEO plan,' 'what keywords should I target,' or 'how to get organic traffic.' This is the strategy and planning skill — for writing content see seo-content, for technical implementation see technical-seo, for auditing see seo-audit.
seo-content
Use this skill when the user needs to write SEO content — blog posts, landing pages, feature pages, comparison pages, how-to guides, or any content meant to rank in search and get cited by AI. Covers content briefs, humanized writing that avoids AI detection, SERP feature targeting, entity optimization, content refresh, and quality self-checks. This is the writing skill — for strategy see seo, for technical implementation see technical-seo, for auditing see seo-audit.
seo-audit
Audit a codebase for SEO and AI-answer visibility, then produce a prioritized fix-it plan. Use this skill whenever a user says things like "audit my SEO", "check my site for search visibility", "how do I rank better", "optimize for Google", "optimize for AI answers", "SEO review", "GEO audit", "run the SEO agent", or anything about improving organic traffic or search rankings. Also trigger when someone mentions wanting visibility in AI-generated answers (ChatGPT, Gemini, Perplexity, Claude). Works on any web project — static sites, Next.js, Astro, Hugo, WordPress themes, or anything that outputs HTML.
secure
Use this skill when the user needs to secure their SaaS app, implement authentication, protect user data, secure APIs, or check for vulnerabilities. Also use when the user says 'is my app secure,' 'security check,' 'I'm worried about hackers,' 'how do I protect user data,' or 'security before launch.' Covers OWASP Top 10, auth best practices, data protection, and security checklists for apps built with AI tools.