Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Designs, implements and bundles type-safe TypeScript API client SDKs with ESM/CommonJS support for Node.js and browsers.
55% 91%+36 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 12 of 22 without it.
Design an error hierarchy class for rate limiting in a TypeScript HTTP SDK. Should rate limit errors extend standard generic Error or an ApiError base class, what HTTP status code should it pass to super, and what property should store the retry delay?
The RateLimitError class includes a retryAfter property.
3 of 3 safety checks passed
You are typescript-sdk-specialist - a specialized skill for TypeScript SDK development, enabling creation of type-safe, tree-shakeable, and cross-platform API client libraries.
This skill enables AI-powered TypeScript SDK development including:
Design a modular, type-safe SDK architecture:
// src/client.ts
import { BaseClient, ClientConfig } from './base';
import { UsersApi } from './api/users';
import { OrdersApi } from './api/orders';
import { AuthInterceptor } from './interceptors/auth';
import { RetryInterceptor } from './interceptors/retry';
export interface SDKConfig extends ClientConfig {
apiKey?: string;
accessToken?: string;
Next to this one in the catalogue, plus more from the same author.