api-client-gen
SolidUse when you have an OpenAPI/Swagger spec and need to generate a typed API client instead of hand-writing HTTP calls.
AI & Automation 1 stars
0 forks Updated 4 days ago MIT
Install
Quality Score: 78/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# API Client Gen
## When to use
Invoke this skill when integrating with a REST API that ships an OpenAPI document, or when HTTP calls are scattered and error-prone.
## Steps
1. Locate the OpenAPI/Swagger spec (local file or URL).
2. Choose a generator or hand-roll a thin client matching the project's stack.
3. Map each operation to a typed method with request/response models.
4. Centralize auth, base URL, retries, and error handling.
5. Emit one usage example per major resource so the caller copy-pastes safely.
## Examples
- "Generate a typed client from openapi.yaml"
- "Create a fetch-based SDK for this spec"
## References
Prefer generated models over `any`; keep the client stateless and let callers own transport config so it stays testable.
Details
- Author
- NSBen
- Repository
- NSBen/skillfoundry
- Created
- 4 days ago
- Last Updated
- 4 days ago
- Language
- Python
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
api-documentation-generator
Generate comprehensive, developer-friendly API documentation from code, including endpoints, parameters, examples, and best practices
5 Updated 3 days ago
rootcastleco AI & Automation Solid
api-designer
Use when designing REST or GraphQL APIs, creating OpenAPI specifications, or planning API architecture. Invoke for resource modeling, versioning strategies, pagination patterns, error handling standards.
4 Updated today
zacklecon AI & Automation Listed
api-client
Authenticated HTTP API client with retry logic, rate limiting, response parsing, and structured error handling. Supports OAuth2, API key, and bearer token auth.
4 Updated 4 days ago
AreteDriver