Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Integration Patterns

ASecurity

Design SaaS integrations — data sync strategies, embedded experiences, marketplace apps, and partner ecosystems.

2 stars
0 votes
0 copies
0 views
Added 9/29/2026
ai-agentsgoreactdebuggingapidocumentation

Works with

api

Security Analysis

A100/100

Scanned 9/29/2026

$npx -y skills add aicodedecode/awesome-muse-skills --skill integration-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Integration Patterns?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Integration Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aicodedecode-integration-patterns/badge)](https://www.skillsdirectory.com/skills/aicodedecode-integration-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: integration-patterns
description: Design SaaS integrations — data sync strategies, embedded experiences, marketplace apps, and partner ecosystems.
category: curviate
---

## Overview

Integrations make SaaS products stickier: connecting to the tools customers already use. This skill covers integration strategy and design — build vs. partner, data sync patterns, embedded experiences, integration marketplaces, and developer ecosystems. General platform guidance, vendor-neutral.


Integration patterns are the reusable designs for connecting systems: how data flows, how services communicate, and how failures are contained.
Whether integrating SaaS tools, internal services, or partner APIs, the same patterns recur — sync vs. async, orchestration vs. choreography, polling vs. events.
Knowing the patterns (and their trade-offs) is what separates robust integrations from fragile ones.
## When to use

- Planning an integration roadmap
- Choosing sync strategies (real-time vs. batch)
- Designing embedded integrations
- Building an integration marketplace
- Evaluating build vs. buy vs. partner
- Creating developer documentation

- Connecting SaaS tools into automated workflows
- Designing microservice communication
- Building data pipelines between systems
- Choosing between REST, webhooks, and message queues
- Diagnosing flaky or failing integrations
## Core concepts

**Integration strategy.** Prioritize by: customer demand (what do deals require?), strategic value (which integrations win deals?), and effort. Common tiers: native deep integrations (top 5–10 tools), partner-built (long tail via APIs), and platform marketplaces (let others build). You can't build everything — choose the wedge.

**Sync patterns.** Real-time (webhooks/events — for time-sensitive data), scheduled batch (hourly/daily — for reporting, bulk), on-demand (user-triggered refresh), and hybrid (real-time for critical, batch for the rest). Match pattern to data freshness needs — real-time everything is expensive overkill.

**Data mapping.** Field mapping (their schema ↔ yours), transformation rules, conflict resolution (last-write-wins? source-of-truth hierarchy?), and dedup keys. Document mappings explicitly — implicit assumptions break silently.

**Embedded experiences.** In-app integration UIs: OAuth connect flows, configuration screens, sync status indicators, and error states with recovery actions. The integration should feel native, not bolted-on. Handle disconnects gracefully (data preserved, clear re-auth path).

**Marketplace.** App directory with: listings (clear value props, screenshots), installation flows, reviews/ratings, categories, and developer revenue share if applicable. Marketplaces scale ecosystems — but need curation to avoid junk.

**Developer experience.** For partner-built integrations: great API docs, sandbox environments, SDKs, webhook support, and responsive developer support. Your API's usability determines your ecosystem's size.


**Synchronous vs. asynchronous.** Sync (request/response): simple, immediate, but couples systems — slowness cascades.
Async (queues, events): decoupled, resilient, but eventually consistent and harder to debug.
Rule: sync for queries needing immediate answers; async for commands and notifications.
Never chain more than 2–3 sync calls — latency and failure multiply.
**Orchestration vs. choreography.** Orchestration: a central controller calls services in sequence (explicit, easier to trace).
Choreography: services react to events independently (decoupled, harder to follow).
Orchestrate complex multi-step flows; choreograph simple event reactions.
**Polling vs. webhooks vs. streaming.** Polling: simple, delayed, wasteful at scale.
Webhooks: real-time, efficient, requires receiver infrastructure and retry design.
Streaming (Kafka, Kinesis): high-volume, ordered, replayable — for serious data infrastructure.
Match the pattern to freshness needs and volume.
**Idempotency.** Operations safe to retry: use idempotency keys for writes, design consumers to handle duplicates.
Networks fail — retries are inevitable, so duplicates must be harmless.
Every integration contract should state its delivery semantics explicitly.
**Circuit breakers and bulkheads.** Breakers: stop calling failing services (fail fast, recover automatically).
Bulkheads: isolate failures so one bad integration cannot sink the whole system.
Timeouts on every call — no timeout means one slow dependency freezes everything.
## Practical workflow

1. **Prioritize.** Survey customers and sales: which integrations block deals? Score by demand × strategic value ÷ effort. Roadmap the top 5–10; API-enable the rest.
2. **Design sync.** Per integration: data direction (one-way/two-way), freshness requirements → sync pattern, field mappings, conflict resolution, and error handling. Document the contract.
3. **Build the UX.** Connect flow (OAuth, permissions clearly explained), configuration (mapping UI where needed), status visibility (last sync, health), and error recovery (re-auth prompts, retry).
4. **Handle the hard parts.** Initial historical sync (backfill), ongoing delta sync, deletes (how do deletions propagate?), rate limits on both sides, and schema changes (version tolerance).
5. **Launch and support.** Beta with friendly customers, docs and troubleshooting guides, monitoring (sync success rates, error patterns), and a feedback channel for integration issues.
6. **Grow the ecosystem.** Marketplace launch, partner program (co-marketing, revenue share), developer docs and support, and integration health dashboards.

**Integration spec template:** systems → direction → sync pattern → field mappings → conflict rules → error handling → monitoring → owner → review date.


**Integration design checklist:** map data flows (what moves where, how often) → choose patterns per flow → define contracts (schemas, auth, errors) → design failure handling (retries, dead-letters, alerts) → build observability (trace IDs across systems) → test failure modes (not just happy paths) → document for operators.
**Debugging playbook:** check the integration's health dashboard → inspect recent payloads and errors → verify credentials and rate limits → test the remote API directly → check for upstream changes (APIs change!) → review logs with correlation IDs.
Most integration failures are: expired credentials, rate limits, or upstream API changes — check these first.
## Common pitfalls

- **Two-way sync naivety.** Bidirectional sync without conflict resolution creates data corruption. Define source-of-truth per field.
- **Ignoring deletes.** Syncing creates/updates but not deletions. Decide delete propagation explicitly.
- **No backfill plan.** "It'll sync going forward" isn't enough. Historical data matters — plan the initial sync.
- **Silent failures.** Syncs breaking without alerts. Monitor success rates; alert on drops.
- **Schema change blindness.** Partner APIs change; integrations break. Version tolerance + change monitoring.
- **Bolted-on UX.** Integrations hidden in settings with no status. Native-feeling UX with visibility.
- **Building everything.** Native integrations for 50 tools. Prioritize; API-enable the long tail.
- **No timeout configuration.** Default timeouts (or none) letting slow dependencies cascade. Set aggressive timeouts with retries — fail fast, recover faster.
- **Ignoring upstream changelogs.** APIs deprecate fields and change behavior. Monitor changelogs; version-pin where possible.
- **Sync chains.** Five services calling each other synchronously. One slowdown becomes a total outage — break chains with async boundaries.
- **Missing dead-letter queues.** Failed messages vanishing silently. Every queue needs a dead-letter path and alerts.
- **No end-to-end tracing.** Failures untraceable across systems. Propagate correlation IDs through every hop.

Attribution

aicodedecodeaicodedecode
View sourceSee grades on GitHubMore from aicodedecode →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698621 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →