ddd-api-generator

Community

Seed REST API scaffolding with OpenAPI docs.

Authormoasadi
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the scaffolding of REST API endpoints for DDD contexts, generating DTOs, controllers, and OpenAPI documentation, reducing repetitive boilerplate and speeding up delivery.

Core Features & Use Cases

  • DTOs & Validation: Create request DTOs with class-validator decorators and response serializers with JSON Schema for Swagger docs.
  • Controllers & Routes: Generate controllers with versioned routes and standardized CRUD/OpenAPI annotations.
  • OpenAPI Docs: Auto-generated Swagger/OpenAPI docs for all endpoints.
  • Use Case Scenarios: Create API endpoints for new use cases or extend existing contexts (e.g., "Create user API" or "Product API with search").

Quick Start

Run the generator for the Order context to produce the full REST API scaffold with v1 routing and Swagger docs.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: ddd-api-generator
Download link: https://github.com/moasadi/ddd-bun-api-boilerplate/archive/main.zip#ddd-api-generator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.