agentsclimarketplace

Api client gen

Skill NSBen/skillfoundry/src/skillfoundry/data/starter_skills/api-client-gen

🔥 SkillFoundry (forge) — open, vendor-neutral toolchain for authoring, validating, testing & publishing AI agent skills. Works across Claude Code / Cursor / Codex / OpenCode / Cline. Ships 15 starter skills.

Install
npx -y skills add NSBen/skillfoundry --skill api-client-gen

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 13 days oldThe repository was created 13 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 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 author says it does

Copied from the file, not written here

Use when you have an OpenAPI/Swagger spec and need to generate a typed API client instead of hand-writing HTTP calls.

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, 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

  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.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.