api-generator

Generate CRUD API endpoints with validation, error handling, auth middleware, and OpenAPI specs.

6|Updated Dec 7, 2025
One-click install
npx skills add https://github.com/timequity/plugins --skill api-generator-timequity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-generator
Source: https://github.com/timequity/plugins/tree/main/vibe-coder/skills/api-generator
Command: npx skills add https://github.com/timequity/plugins --skill api-generator-timequity

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Backend features often outgrow manual route creation. This Skill automatically generates CRUD API endpoints from requirements, without exposing routes to users.

Core Features & Use Cases

  • Resource discovery: Identify resources like expenses or user profiles.
  • CRUD generation: Create GET, POST, PUT/PATCH, DELETE endpoints.
  • OpenAPI generation: Auto-document endpoints for future integrations.

Quick Start

Tell the tool to generate CRUD endpoints for expenses and its OpenAPI spec.

Frequently Asked Questions about api-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically generate CRUD API endpoints from requirements?

CRUD API generation automates creation of GET, POST, PUT, PATCH, and DELETE endpoints from resource specifications without writing individual routes. This Skill generates complete endpoint logic, validation schemas, error handling, and authentication middleware for resources like expenses or users across Next.js, FastAPI, and Hono frameworks.

Can I generate OpenAPI documentation automatically with my API endpoints?

Yes. OpenAPI spec generation produces complete endpoint documentation as endpoints are created, eliminating manual documentation maintenance. The generated specs are ready for third-party integrations and developer reference.

Does API endpoint generation include input validation and error handling?

Yes. Generated endpoints include validation schemas that enforce data integrity and structured error handling for invalid requests, failed operations, and edge cases across all CRUD operations.

What frameworks does automated CRUD API generation support?

CRUD API generation supports Next.js API routes, FastAPI, and Hono. Each framework receives endpoints tailored to its native patterns and conventions while maintaining consistent CRUD functionality and middleware support.

Do I need to write authentication middleware for generated APIs?

No. Authentication middleware is generated and integrated into CRUD endpoints automatically. The Skill handles auth logic implementation, eliminating manual middleware configuration.

How does resource identification work in API endpoint generation?

Resource identification maps business entities like expenses or user profiles to API routes—expenses become /api/expenses, user profiles become /api/users/me. The Skill infers correct paths and endpoint structures from resource names.