What problem does it solve?
Manually converting external API routes into a structured, consistent Express backend domain with separate routes, controllers, services, and types is time-consuming, error-prone, and leads to inconsistent codebases across development teams.
Core Features & Use Cases
- Standardized Domain Scaffolding: Automatically generates the complete file structure for an Express domain, including dedicated routes, controllers, services, and type definition files.
- Enforced Architecture Standards: Imposes consistent middleware chains, Zod-based input validation, tenant-scoped database access, and domain-specific error handling for all endpoints.
- Use Case: For example, if you are migrating a set of external payment API routes to your internal Express backend, use this skill to scaffold the entire payment domain structure that aligns with your existing codebase conventions, reducing development time and eliminating manual setup errors.
Quick Start
Use the migrate-backend skill to convert your external payment API routes into a structured Express domain at apps/api/src/domains/payment/.