/developer-platform-skills:sdk-portfolio-strategyfrom developer-platform-skills
Decides which languages get official SDKs for a public API, in what order, build model (generated vs handwritten), support tiers with promotion gate, deprecation/EOL, and decoupling SDK SemVer from API versioning. Use when discussing client libraries, SDK generators, community SDKs, or sunsetting SDKs.
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 SDK portfolio strategist for a platform team. Decide which language SDKs the platform ships, in what order, built how, supported at what tier, versioned on what scheme, and retired by what process - as one written, approved strategy document, not a pile of per-SDK improvisations.
This is a portfolio decision, upstream of any single SDK's design. The distinct question of whether SDKs belong in the integration mix at all is owned by the umbrella surface-selection skill (see References); start here only once that answer is yes.
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 multiple-choice options where given.
User-Agent or SDK headers)? If not, plan to instrument it - decisions below want that data.Answers 7-9 re-rank both option menus below - a hard deadline promotes generated coverage; a compounding mandate promotes policy work over shipping one more SDK.
The split that changes the strategy is the target-developer vertical, and it is the clearest documented pattern in the field:
Map your interview answer 1 onto this contrast before looking at any generic language ranking.
Before writing the strategy, present 2-3 candidate portfolio shapes with trade-offs and a recommendation, and let the user pick or blend. Typical candidates:
Then draft the strategy document section by section (one section per workflow step below), validating each section with the user before moving to the next. Do not finalize until every section is approved. If your harness has persistent memory, record the approved decisions - language order, build model, tier policy, versioning split, EOL thresholds - so later tactical runs load them instead of re-interviewing.
Each step has a section below, in order. Every step ends in a written policy - a step that ends in a conversation is not done.
Verify that SDKs were actually chosen as an integration surface, and for which audiences - that decision belongs to the umbrella surface-strategy skill, not here. If it hasn't been made, stop and make it first; an SDK portfolio built for a surface nobody chose is pure maintenance debt. Record which audiences the SDK surface serves, because step 2 prioritizes for exactly those audiences.
Rank per-language coverage options by what each language's demand actually justifies. Three coverage rungs per language:
effort: official SDK > community tier with promotion gate > spec-driven self-service
value (integration success and support burden absorbed): official SDK > community tier > spec-driven self-service
efficiency: spec-driven self-service > community tier > official SDK
Default rung: spec-driven self-service for every language, official SDKs only for the 2-5 languages your vertical map and telemetry confirm. Publish the spec and point the long tail at open-source generators - the documented "official core + generated long tail" pattern (Twilio grew from a few languages to 7 official ones deliberately, adding Go as a named, sequenced expansion; Plaid caps official support at 5).
The middle rung, a community tier with a promotion gate, extends coverage without the standing commitment; step 7 defines it.
The starved option: an official SDK in a language below the traffic threshold. High value to the accounts that ask, high effort forever, so it loses every efficiency round. What promotes it anyway: repeated enterprise-deal requests naming that language, or a strategic vertical you are entering ahead of the traffic.
Add-a-language threshold: a sustained double-digit share of API traffic in that language, or those repeated named deal requests. Label this self-set when you write it down - no vendor publishes a numeric threshold, and none names Stack Overflow, TIOBE, or Octoverse as a decision input. Telemetry-driven prioritization is inferred best practice across the field, not a documented company policy. Instrument client-language telemetry (interview answer 6) so it confirms the audience mapping rather than originates it.
This ranking is a default, not a law. Re-rank against the interview: a team already fluent in a language gets its official SDK nearly free (answer 4), and a deal deadline (answer 7) can promote one language over the telemetry order.
See references/language-order-and-versioning-cases.md for the documented Twilio, Plaid, Stripe, and OpenAI/Anthropic sequencing cases.
Define what "official" buys the user and what any other tier explicitly does not. Pick a shape and write it down:
Write the promotion gate - the checkable criteria for a community SDK to become official - before you need it. Anthropic's Ruby SDK is the only cleanly documented promotion on record: community maintainer Alex Rudall donated the canonical anthropic gem name when Anthropic shipped its official SDK, and the official README credits him.
That case shows promotion turns on namespace transfer and maintainer cooperation, not just a vendor decision. Any fuller promotion rubric (usage volume, feature completeness, support commitment) is inferred synthesis - label it that way in your policy.
See references/tier-promotion-and-eol-playbooks.md for the full tier frameworks, gate criteria, and disclaimer language worth copying.
The build model is one decision applied portfolio-wide, with at most one flagship exception. Three rungs:
effort (what you spend, standing): handwritten or in-house pipeline > free OpenAPI Generator > commercial codegen
value (idiomatic output and full control): handwritten or in-house pipeline > commercial codegen > free OpenAPI Generator
efficiency: commercial codegen > free OpenAPI Generator > handwritten or in-house pipeline
review and reversibility cost: commercial codegen > free OpenAPI Generator == handwritten. A commercial generator triggers procurement and security review and costs reversibility if the vendor exits (see failure modes). The tie is genuine because both other rungs are fully self-owned, with no vendor to lose.
Default rung: a commercial generator driven by the OpenAPI spec. It removes work an in-house pipeline would only relocate, and multi-language idiomatic output is exactly what it sells. Condition on the spec being a real source of truth (interview answer 2). Fix the spec first if it drifts.
Step down to the free OpenAPI Generator when procurement rules out vendors, air-gapped generation is required, or the language set is small and the team accepts the maintenance load - its output is widely described as technically correct but non-idiomatic, so budget curation effort. It is fully official-grade: Plaid generates its five official SDKs with it (documented in plaid/plaid-openapi) - "official" is a support commitment, not a build method.
The starved option: the handwritten flagship (or an in-house pipeline, Stripe's path). Highest value, highest standing effort - vendor-order-of-magnitude estimates put hand-maintaining many languages at multiple engineer-years, and the per-language review and release work stays even where writing the code gets faster - so it loses every efficiency round. What promotes it: the API is the core product and one language carries the bulk of revenue traffic. Handwrite that one, generate the rest.
Guardrails at every rung: keep the OpenAPI spec - not a vendor DSL - the single source of truth, prefer generators that can run self-hosted, and write the exit plan (who regenerates the SDKs if this vendor disappears?) into the decision record before signing.
This ranking is a default, not a law: re-rank against interview answers 4, 5, and 9. A hard self-host requirement deletes the hosted rung outright rather than demoting it.
See references/build-model-vendor-landscape.md for the vendor table, the 2026 consolidation case studies, and the in-house-beats-vendor criteria.
Stripe states the split directly: SDKs use SemVer; the API is versioned by release date. Write three separate policies and refuse to merge them:
Publish a mapping table from SDK major version to supported API version(s) - Stripe and AWS both maintain this artifact, and it is what lets the two schemes stay decoupled without confusing integrators. Then set release cadence:
Cadence is a predictability promise to integrators, not a productivity metric.
See references/language-order-and-versioning-cases.md for the Stripe mechanics and cadence norms.
Retiring a whole language SDK is a distinct, heavier process than deprecating one API inside it. Adopt the evidence-gated shape of Sentry's published playbook (develop.sentry.dev, the most rigorous public one):
Set the timeline numbers from published floors, and cite them honestly.
See references/tier-promotion-and-eol-playbooks.md for the full AWS phases, Sentry playbook detail, and worked timeline examples.
Decide, in writing, how community SDKs are treated: welcomed and listed with an explicit non-guarantee (Twilio: "not supported by Twilio, and we can't speak to their accuracy/completeness"), ignored, or discouraged. Listing them with a disclaimer is the documented norm and the cheapest coverage extension - it staffs your long tail for free and feeds the step-3 promotion gate. State where support requests route (their repo, not your tickets), and revisit the list when a community SDK's language crosses the step-2 threshold: that is the moment to invoke the promotion gate rather than building a competitor from scratch.
Registry publishing mechanics (trusted publishing, dist-tags, rollback, private feeds) belong to samber/developer-platform-skills@sdk-package-publishing: this skill decides which SDKs exist, that one ships each package. The third-party sdk-dx skill on skills.sh covers single-SDK ergonomics and polish - this skill decides the portfolio, not any one SDK's developer experience.
See also, same owner:
samber/developer-platform-skills@api-integration-surface-strategy - the umbrella surface-selection decision that step 1 assumes already answered yes for SDKs; run it first if that hasn't been decided.samber/developer-platform-skills@api-versioning-policy - owns the API-side versioning and deprecation policy that step 5 deliberately decouples SDK versioning from.samber/developer-platform-skills@api-reference-quality - audits per-language code-snippet parity in the reference docs, which the SDK portfolio feeds.samber/developer-platform-skills@public-api-design-review - reviews the API surface consistency every generated SDK inherits and projects into its language.samber/developer-platform-skills@integration-health-monitoring - finds which integrations still run an SDK version you have set an end-of-life date for, and chases their owners before it.samber/developer-relations-skills@coding-agent-docs-optimization - structuring SDK source and docstrings so coding agents integrate them unattended; the agent-consumption angle of the SDKs this portfolio ships.What SKILL.md sets; muted values are Claude Code's defaults
62 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./api-auth-key-managementDesign the API-key authentication surface a platform issues to its own API consumers - key format with prefix+checksum conventions, hashed (irretrievable) vs encrypted (retrievable) storage, zero-downtime rotation with dual-key overlap, least-privilege scoping, individual vs org vs service-account ownership, self-service key dashboard behavior, and SOC 2 / PCI-DSS 4.0 lifecycle governance. Use whenever the user mentions API keys, secret keys, key prefixes, key rotation, key scoping, or revoking keys after an employee departure - even if they never say "API key management". Provider side only, not consuming another vendor's API. Do NOT use for OAuth authorization-server design - use samber/developer-platform-skills@oauth2-provider-design instead./api-beta-programRuns an early-access, preview, beta or design-partner program for a new API feature: program shape, what each pre-GA label guarantees (SLA, support, breaking-change notice, pricing, data terms), stage on the wire, partner selection, per-account access, feedback cadence, exit to GA or kill, and rescuing betas that never ended. Use whenever the user mentions an API beta or preview program, design partners, beta labels or allowlists, production traffic on their own beta endpoint, or when to go GA - even if they only say "let a few customers try the new endpoint before it's final". Not for whole-app beta testing, a vendor's beta you consume, or canary rollouts of a GA change. Do NOT use for the stable version lifecycle - use samber/developer-platform-skills@api-versioning-policy./api-changelog-automationDesigns the provider-side pipeline that turns contract diffs of an API you publish (OpenAPI, GraphQL SDL, protobuf, AsyncAPI) into a breaking-change CI gate and a traced, per-version API changelog feed, classified by your own policy. Use whenever the user mentions oasdiff, openapi-diff, graphql-inspector diff, buf breaking, API schema checks, failing a PR on breaking changes to a published API contract, or an auto-generated API changelog. Do NOT use for release-note prose (samber/developer-relations-skills@changelog-writing), consumer-side upgrades (samber/developer-relations-skills@version-migration-guide), deprecation policy (samber/developer-platform-skills@api-versioning-policy) or callers of deprecated endpoints (samber/developer-platform-skills@integration-health-monitoring)./api-ephemeral-token-issuanceDesign the platform side of minting short-lived, narrowly scoped API tokens from the API itself - one per sandbox or AI-agent run, from hundreds to 1M+ mints per second - and expiring or revoking them on time at that scale. Covers the mint endpoint, permission x resource-scope attenuation, token format, lazy expiry, and per-run kill switches. Use whenever the user mentions ephemeral or per-run tokens, per-sandbox credentials, a token-minting API, or expiring millions of tokens - even without saying "token issuance". Provider side only, never consuming another vendor's tokens. Do NOT use for long-lived keys - use samber/developer-platform-skills@api-auth-key-management; nor user sessions, consent or refresh tokens - use samber/developer-platform-skills@oauth2-provider-design.npx claudepluginhub samber/developer-platform-skills --plugin developer-platform-skillsOther plugins' skills for the same job