api-builder
OfficialAuto-generate FastAPI backends from OpenAPI specs
AuthorH2OSLabs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the creation of a full FastAPI backend scaffold from an OpenAPI specification, eliminating repetitive boilerplate and accelerating API delivery.
Core Features & Use Cases
- Generates SQLAlchemy models, Pydantic schemas, FastAPI routers, CRUD operations, and Alembic migrations.
- Outputs tests and an optional Next.js TypeScript client for end-to-end full-stack tooling.
- Use Case: Provide an OpenAPI YAML/JSON file (e.g., petstore.yaml) to produce a ready-to-run backend and client, then customize business logic.
Quick Start
To generate code, run the CLI with your spec file. Example:
- python3 cli.py --spec your-api.yaml --output ./generated
- Add --generate-client to create a Next.js API client.
- Review the generated code in the output directory and implement domain logic.
Dependency Matrix
Required Modules
pyyamljinja2
Components
scriptsreferencesassets
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: api-builder Download link: https://github.com/H2OSLabs/SynnovatorZero/archive/main.zip#api-builder Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.