API Scaffold
Scaffold REST and GraphQL APIs from schema definitions with full CRUD and validation
Review the source code before installing. Scripts can execute arbitrary commands on your system.
sv install webcrafter/api-scaffold
Requires the sv CLI. Installs to your project automatically.
.cursor/skills/api-scaffold/SKILL.md
Download and place the SKILL.md file into your .cursor/skills/api-scaffold/ directory.
curl -sL https://skillvault.md/api/packages/webcrafter/api-scaffold/download -o api-scaffold.zip
Downloads the package as a zip archive to your current directory.
https://skillvault.md/api/packages/webcrafter/api-scaffold/download
Download the zip, extract, and copy the relevant files into your project.
API Scaffold
Define your data model and get a complete API with routes, controllers, validation, auth middleware, and tests.
Skills
- rest-gen — generates Express, Fastify, or Hono REST APIs with OpenAPI docs
- graphql-gen — scaffolds GraphQL schemas, resolvers, and dataloaders
- validation-layer — adds Zod or Joi validation to all endpoints
- test-gen — creates integration tests for every endpoint with fixtures
Agent: api-architect
A design-first agent that helps you plan your API structure, choose patterns (REST vs GraphQL vs tRPC), and scaffold everything.
Supported Frameworks
Express, Fastify, Hono, Koa, NestJS, GraphQL Yoga, Apollo Server
sv install webcrafter/api-scaffoldNestJS support, validation-layer skill, breaking: config format v2.
tRPC support, improved test generation with fixtures.
Added GraphQL generation, Hono support, and api-architect agent.
The graphql-gen skill understands relationships and generates efficient dataloaders. The api-architect agent helped us decide between REST and GraphQL.
Generated a complete Fastify API with 15 endpoints, Zod validation, and OpenAPI docs. The test generation alone saved us a full sprint.