What problem does it solve?
This Skill removes the repetitive and error-prone work of creating a new backend domain module in an Express + TypeScript codebase with strict architectural rules. It helps you generate a full module consistently across routes, controllers, services, repositories, optional Mongo models, and API documentation.
Core Features & Use Cases
- End-to-end module scaffolding: Generates the required files for a new domain, including routes, controller, service, repository interface, Mongo implementation, and instance wiring.
- Architecture enforcement: Preserves separation of concerns by keeping business logic in services, HTTP handling in controllers, and database access in repositories only.
- Swagger/OpenAPI integration: Detects the project’s existing documentation pattern and adds valid endpoint and schema docs in the matching style.
- Use Case: When adding a new domain like nutrition, activity, or weight tracking, use this Skill to create a production-aligned scaffold with CRUD endpoints and docs without violating import boundaries or naming conventions.
Quick Start
Ask the AI to use the add-domain-module skill to create a kebab-case domain with your endpoints and specify whether it needs a Mongo model.