Api client gen
Skill NSBen/skillfoundry/src/skillfoundry/data/starter_skills/api-client-gen
Use when you have an OpenAPI/Swagger spec and need to generate a typed API client instead of hand-writing HTTP calls.From its SKILL.md
npx -y skills add NSBen/skillfoundry --skill api-client-genAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.1 KB, 173 tokens by cl100k_base, as published. Nobody here has run it
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
- Locate the OpenAPI/Swagger spec (local file or URL).
- Choose a generator or hand-roll a thin client matching the project's stack.
- Map each operation to a typed method with request/response models.
- Centralize auth, base URL, retries, and error handling.
- 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.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.