Back to Skills

sdk-development

verified

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 GitHub

Marketplace

pokayokay

srstomp/pokayokay

Plugin

pokayokay

productivity

Repository

srstomp/pokayokay
2stars

plugins/pokayokay/skills/sdk-development/SKILL.md

Last Verified

January 23, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/srstomp/pokayokay/blob/main/plugins/pokayokay/skills/sdk-development/SKILL.md -a claude-code --skill sdk-development

Installation paths:

Claude
.claude/skills/sdk-development/
Powered by add-skill CLI

Instructions

# 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 

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
7280 chars