api-endpoint-generator

Generate CRUD REST API endpoints with validation and TypeScript types.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/Camilo8902/GabyCosmetics --skill api-endpoint-generator-camilo8902
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: api-endpoint-generator
Source: https://github.com/Camilo8902/GabyCosmetics/tree/main/.claude/skills/api-contract-normalizer
Command: npx skills add https://github.com/Camilo8902/GabyCosmetics --skill api-endpoint-generator-camilo8902

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of robust, production-ready CRUD REST API endpoints, significantly reducing boilerplate code and ensuring consistency.

Core Features & Use Cases

  • Automated Endpoint Generation: Creates standard POST, GET, PUT/PATCH, DELETE routes for any resource.
  • Integrated Validation: Implements request validation using Zod or Joi for data integrity.
  • Type Safety: Generates TypeScript types for requests, responses, and DTOs.
  • Consistent Responses: Enforces a standardized success/error response format.
  • Use Case: When starting a new microservice or adding a new resource to an existing API, use this Skill to quickly scaffold all necessary endpoints with built-in validation and type safety.

Quick Start

Use the api-endpoint-generator skill to create CRUD endpoints for a 'product' resource with Zod validation.

Frequently Asked Questions about api-endpoint-generator

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

FAQPage Schema
How do I generate CRUD REST API endpoints with TypeScript types and validation?

To generate CRUD REST API endpoints with TypeScript types, use this Skill to scaffold route handlers, Zod or Joi validation schemas, and standardized response formats automatically. It creates production-ready code for frameworks like Express, NestJS, and FastAPI, reducing boilerplate and ensuring type safety.

Can I scaffold API routes for Express or NestJS with built-in validation?

Yes, you can scaffold API routes for Express or NestJS with built-in validation. The Skill generates route handlers integrated with Zod or Joi validation schemas, ensuring data integrity and consistent success or error response formats across your chosen framework.

What is the best way to create consistent REST API response formats across microservices?

The best way to create consistent REST API response formats is to automate endpoint generation with standardized success and error structures. This Skill enforces a uniform response format, generates typed DTOs, and includes usage examples to maintain consistency across new microservices.

Does the generated CRUD code include request validation schemas using Zod or Joi?

Yes, the generated CRUD code includes request validation schemas using Zod or Joi. The Skill integrates these validation libraries directly into the route handlers to enforce data integrity and generate corresponding TypeScript types for requests and responses.

How do I add a new resource to an existing REST API without writing boilerplate code?

To add a new resource to an existing REST API without boilerplate, use this Skill to quickly scaffold all necessary CRUD endpoints. It automatically generates POST, GET, PUT/PATCH, and DELETE routes with integrated validation, error handling, and TypeScript types.