Skip to main content
Generates a new backend module under modules/<name>/. It writes the src/<PascalName>Module.ts, package.json, tsconfig.json, <name>.yml config, and a mirrored tests/<PascalName>Module.spec.ts, registers the module into its destination (AppModule and SharedModule for the app destination, otherwise the chosen destination module), and adds the path alias to the root tsconfig.json.

Usage

Examples

Run with no flags to be prompted for the module name and destination module:
Create a module non-interactively into the app destination:

Options

AI Skill

This command ships a matching module:create skill. The skill scaffolds a complete backend business-domain module and then drives the per-artifact create skills to fill in its first vertical slice: entity, repository, service, controller, and any other artifacts the domain needs. Your AI agent uses it when creating a whole new domain such as billing, catalog, or order, rather than a single artifact.
bash talos agent:skills:create