sdk-development

Design and publish TypeScript SDKs with multi-target npm builds.

8|2|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/srstomp/pokayokay --skill sdk-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sdk-development
Source: https://github.com/srstomp/pokayokay/tree/main/plugins/pokayokay/skills/sdk-development
Command: npx skills add https://github.com/srstomp/pokayokay --skill sdk-development

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Teams building TypeScript SDKs struggle with designing stable public APIs, ensuring comprehensive type coverage, and delivering multi-target builds for distribution. This Skill provides a principled blueprint to craft API surfaces, robust typings, and reliable packaging.

Core Features & Use Cases

  • Public API design with clean exports and minimal surface area.
  • Strong typing across config, requests, responses, and errors.
  • Multi-target builds (ESM/CJS/typings) with automated testing and documentation.
  • Publication readiness for npm (public or private).

Quick Start

Create a starter SDK scaffold with a barrel index, a public API surface, typed models, error classes, internal utilities, and a ready build configuration for tsup and TypeScript.

Frequently Asked Questions about sdk-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a clean public API surface for a TypeScript SDK?

Strong typing in a TypeScript SDK covers config, requests, responses, and errors to guarantee type safety across the library. This comprehensive coverage prevents runtime failures and provides robust typings for reliable developer usage.

How do I set up multi-target builds for npm publishing?

To scaffold a TypeScript SDK starter project, create a barrel index, public API surface, typed models, and error classes. This provides a ready build configuration using tsup and TypeScript for immediate end-to-end SDK workflow development.

What is the best way to ensure type safety in a TypeScript SDK?

Strong typing in a TypeScript SDK covers config, requests, responses, and errors to guarantee type safety across the library. This comprehensive coverage prevents runtime failures and provides robust typings for reliable developer usage.

How do I scaffold a TypeScript SDK starter project?

To scaffold a TypeScript SDK starter project, create a barrel index, public API surface, typed models, and error classes. This provides a ready build configuration using tsup and TypeScript for immediate end-to-end SDK workflow development.