/developer-platform-skills:api-integration-surface-strategyfrom developer-platform-skills
Decides which integration surfaces (REST, GraphQL, gRPC, webhooks, SDKs, CLI, MCP, etc.) a platform should offer and in what build order, sequenced by reversal cost and audience. Use when planning an API roadmap, adding a new surface, or deciding API-first vs embedded-first.
Ships in developer-platform-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an integration-surface strategist for a platform team. Decide which surfaces the platform offers external developers and AI agents - REST, webhooks, GraphQL, gRPC, SQL access, bulk data sharing, SDKs, CLI, MCP, embedded components - and in what order to build them, as one written, sequenced plan with a named audience and demand signal per surface.
This is the umbrella decision above every per-surface skill in this collection. Each surface's design belongs to a sibling (see References); this skill decides whether and when a surface enters the mix, then hands off. The organizing principle throughout is reversal cost plus audience, never novelty: additive REST changes are cheap to unwind, while a public contract someone already depends on is near-impossible to change.
Hyrum's Law - "with a sufficient number of users of an API, all observable behaviors of your system will be depended on by somebody" - is the mechanism. It is why mature platforms delay committing to higher-abstraction surfaces until the layer underneath stabilizes.
Memory (advised): When memory lives in a file, consider using developer-platform-context.md; if a different memory system is in use, rely on that instead. The file is an advisory reference, not a mandatory requirement. Separate task info in different sections. Remove finished tasks. Add a date to a task; no date for general project context. Some interview responses may differ between 2 tasks.
Ask one question per message and wait for the answer - each one changes a later step. Offer the multiple-choice options where given.
Answers 7-9 re-rank the menu in step 4 - a hard deadline promotes the fastest additive surface; a compounding mandate promotes spec work that every later surface derives from.
The sourced split that changes the strategy is buyer type: whether a developer chooses the tool or a non-technical buyer does.
Map interview answer 1 onto the condition table in references/surface-condition-tables.md before ranking anything. Treat API-first vs embedded-first as layers, not rivals.
The documented pattern is API-first as the durable foundation, with an embedded/no-code layer added on top for the non-technical side of the deal. Stripe itself did both - a surface choice that reaches only the technical user or only the economic buyer stalls the deal.
Before writing the plan, present 2-3 candidate sequences with trade-offs and a recommendation, and let the user pick or blend. Build candidates from the step-4 postures:
Then draft the plan section by section (one per workflow step below), validating each with the user before moving on. Do not finalize until every section is approved.
If your harness has persistent memory, record the approved decisions so later per-surface runs load them instead of re-interviewing:
Each step has a section below, in order. Every step ends in a written section of the plan - a step that ends in a conversation is not done.
List every consumer class the platform serves or wants:
For each, record who writes the calling code (a person, a generator, an agent) and which buyer from interview answer 1 they belong to.
Different surfaces persist for different consumers rather than replacing one another:
The plan is a per-audience map, not a single ladder every consumer climbs.
Table every existing surface, with a column for each:
Flag shallow coverage explicitly - an API that covers intake but leaves later steps manual is a named failure mode, not a checkbox ticked.
Record the spec's state (interview answer 3) as the plan's central dependency. SDKs, MCP tools, and reference docs are all generated from one OpenAPI source of truth at Stripe, Twilio, and Cloudflare, so one change propagates everywhere instead of needing a migration per surface. A drifting spec is fixed before any derived surface is scheduled.
Weigh the signals. Do not just collect them:
If answer 4 was "none instrumented", make instrumenting per-client telemetry an early plan item - later re-ranks want that data.
Rank the lead postures - which surface family anchors the sequence - before ordering individual surfaces:
effort (standing, what you spend): GraphQL-led > embedded-first > REST+webhooks-first
reversal cost (what a wrong commitment costs to unwind): GraphQL-led > embedded-first > REST+webhooks-first
value (downstream surfaces unlocked from the same contract): REST+webhooks-first > GraphQL-led > embedded-first
efficiency: REST+webhooks-first > embedded-first > GraphQL-led
Default rung: REST plus webhooks first. REST is the near-universal substrate (93% adoption vs 33% for GraphQL, Postman 2025) and extends additively - new endpoints and optional params are safe, so early mistakes stay cheap. Webhooks ride the same infrastructure rather than opening a new paradigm. Everything later derives from this contract.
Embedded-first - white-label components or an embedded-iPaaS layer leading. Promote it when interview answer 1 says the buyer is non-technical and time-to-value must be hours, not days (the condition table); it trades raw flexibility for integrations that "just work". Even then, plan the API foundation underneath - retrofitting one later is the expensive direction.
The starved option: GraphQL-led. Highest per-client value where client-driven data access, mobile over/under-fetching, or N+1 pain is real - and high standing effort (teams report roughly 20-40% overhead on the initial build, plus N+1 and authorization complexity) with a schema that is a tight, binding public contract. It loses every efficiency round. That named pain, confirmed by integrators, is what promotes it anyway. Shopify went GraphQL-first for its Admin API and drew significant developer pushback over verbosity - cite it in both directions.
MCP-first and SDK-first are not on this menu at all, not merely demoted: both derive from a contract that must already exist and be stable. Sequence them inside the plan instead - SDKs generated once the contract stabilizes, MCP last as a thin derived layer whose timing is set by the step-3 agent signals. Every named platform that shipped MCP (Stripe February 2025, the Cloudflare May-2025 cohort, AWS at GA in May 2026) generated it over an existing API rather than hand-building a separate product.
This ranking is a default, not a law - it shifts with context and with who executes it. Re-rank against the interview:
Then sequence within the winning posture, one surface at a time - never several concurrently beyond the capacity number from answer 6. Opening many at once yields several half-measured surfaces and no clean signal from any.
Twilio added SDK languages only once tooling let it support them sustainably. Two surfaces done properly beat six done badly.
See references/surface-condition-tables.md for the per-surface reversal-cost tiers, the buyer-type condition table, and the MCP build-vs-buy thresholds; see references/build-order-case-studies.md for the Segment, Twilio, Stripe, and Plaid sequences the default order comes from.
For every surface the plan schedules, record:
The division of labor is fixed:
The gRPC surface's design belongs to samber/developer-platform-skills@public-grpc-api-design; the bulk-data/lake surface's belongs to samber/developer-platform-skills@bulk-data-sharing-design (file/lake exports) or @etl-connector-strategy (rows synced through an ELT tool), depending on which shape the demand signal points to.
Embedded components have no dedicated sibling - record their design decisions in the plan itself. A CLI's design belongs to samber/developer-platform-skills@cli-interface-design; record here only its audience and the dual-audience promise (Plaid's 2025 pattern - readable tables for humans, JSON with clean stdout/stderr separation for agents).
A technology-specific agent skill shipped with a CLI, SDK or library belongs to samber/developer-platform-skills@agent-skill-offering, which keeps it versioned with the code.
Once agents are a named audience, the agent-class plan (which agents reach which surface, how they authenticate and act for users, sign up, and get counted) belongs to samber/developer-platform-skills@agent-integration-surfaces; record here only whether and when MCP and the CLI enter the build order.
A Terraform/OpenTofu provider for the platform's long-lived configuration objects belongs to samber/developer-platform-skills@terraform-provider-offering. It derives from the REST contract like SDKs do, so schedule it after that contract is stable; record here only its audience (platform and infrastructure teams) and demand signal.
A surface plan decays as signals change. Set a review date (quarterly is a reasonable default) and the triggers that reopen it early:
Record what evidence next review must re-check rather than re-arguing the whole plan.
samber/developer-platform-skills@public-api-design-review - the REST surface's whole-contract consistency review.samber/developer-platform-skills@webhook-platform-design - the webhook surface: delivery, signing, retries, subscription lifecycle.samber/developer-platform-skills@sdk-portfolio-strategy - which SDK languages and build model, once SDKs are chosen as a surface here.samber/developer-platform-skills@public-graphql-api-design - the GraphQL surface's schema, pagination, and security design.samber/developer-platform-skills@sql-jdbc-access-design - the SQL/JDBC surface: tenant isolation, schema stability for BI consumers.samber/developer-platform-skills@mcp-server-offering - building the MCP surface itself, once agent signals schedule it here.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub samber/developer-platform-skills --plugin developer-platform-skills61 skills in this plugin
/agent-integration-surfacesPlans how a SaaS or developer platform opens itself to AI agents, provider side - which agent classes may reach which surface, how an agent proves its identity and acts for a user (Web Bot Auth, delegated tokens, provision-then-claim signup), which execution path each gets, where agents find it (Context7, api-catalog) and how agent usage is counted. Use whenever someone asks if their product is agent-ready, why agents get blocked or cannot sign up, or how agents should authenticate to it. Do NOT use for MCP tool design (samber/developer-platform-skills@mcp-server-offering), surface build order (samber/developer-platform-skills@api-integration-surface-strategy) or agent-readable docs (samber/developer-relations-skills@coding-agent-docs-optimization)./agent-skill-offeringShips an Agent Skill (SKILL.md) inside the GitHub repo of the library, CLI or SDK it documents, versioned with the code - repo placement, metadata.version bumped every release, CI that fails a release on a stale skill, tag-pinned installs (skills.sh, gh skill, ClawHub, plugin marketplaces), plugin manifests, OpenClaw gating, skill vs MCP vs CLI. Use whenever a tool maintainer mentions shipping a skill with their tool, a SKILL.md for their library, keeping a skill in sync with releases, or plugin.json versions for a skill beside code - even if they never say "agent skill". Not for standalone skill collections. Do NOT use for CLI command or --json design - use samber/developer-platform-skills@cli-interface-design; nor for MCP servers - use samber/developer-platform-skills@mcp-server-offering.