api-integration
Installation
SKILL.md
API Integration
Build robust, type-safe API clients from specs and documentation.
Key Principles
- Type everything — Runtime-validated types for all requests and responses
- Fail explicitly — No silent failures; throw typed errors with context
- Auth is first-class — Handle auth in the client layer, not scattered in calls
- Retry intelligently — Only idempotent methods, only transient failures, with backoff
- Isolate the boundary — Transform API shapes at the integration layer, not in app code
When NOT to Use
- Designing your own APIs — Use
api-designfor building endpoints others will consume - Writing API test suites — Use
testing-strategyfor test architecture, contract tests, mocking - Building SDKs for your API — Use
sdk-developmentfor packaging your own API as a client library