Create, extract, and publish TypeScript SDKs. Covers analyzing existing applications to extract reusable logic, designing clean SDK APIs, implementing typed clients with proper error handling, bundling for multiple targets (ESM/CJS/browser), and publishing to npm (public or private registries). Use this skill when building SDKs, extracting shared code into packages, or creating developer tooling libraries.
View on GitHubsrstomp/pokayokay
pokayokay
January 23, 2026
Select agents to install to:
npx add-skill https://github.com/srstomp/pokayokay/blob/main/plugins/pokayokay/skills/sdk-development/SKILL.md -a claude-code --skill sdk-developmentInstallation paths:
.claude/skills/sdk-development/# SDK Development Create professional TypeScript SDKs from scratch or by extraction. ## Development Process ``` ┌─────────────────────────────────────────────────────────────┐ │ SDK DEVELOPMENT PROCESS │ ├─────────────────────────────────────────────────────────────┤ │ │ │ 1. ANALYZE 2. DESIGN 3. IMPLEMENT │ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │ │ Find code │ → │ Define API │ → │ Build SDK │ │ │ │ Map deps │ │ Plan types │ │ Add types │ │ │ │ Set bounds │ │ Error strat │ │ Handle errs │ │ │ └─────────────┘ └─────────────┘ └─────────────┘ │ │ │ │ 4. BUILD 5. TEST 6. PUBLISH │ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │ │ Bundle │ → │ Unit tests │ → │ npm publish │ │ │ │ ESM/CJS │ │ Integration │ │ Docs │ │ │ │ Types │ │ Examples │ │ Changelog │ │ │ └─────────────┘ └─────────────┘ └─────────────┘ │ │ │ └─────────────────────────────────────────────────────────────┘ ``` ## Extraction Workflow When extracting SDK from existing application: ``` ┌─────────────────────────────────────────────────────────────┐ │ EXTRACTION WORKFLOW │ ├─────────────────────────────────────────────────────────────┤ │ │ │ EXISTING APP NEW SDK PACKAGE │ │ ┌─────────────────────┐ ┌─────────────────────┐│ │ │ src/ │ │ @org/auth-sdk/ ││ │ │ ├── services/ │ │ ├── src/ ││ │ │ │ └── auth/ │ ────────► │ │ ├── client.ts ││ │ │ │ ├── client