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), adds the path alias to the root tsconfig.json, and adds the module scope to .commitlintrc.ts when present.
Usage
Examples
Run with no flags to be prompted for the module name and destination module:app destination:
Options
| Option | Description | Default |
|---|---|---|
--name | Module name (normalized to PascalCase, the Module suffix is stripped). | Prompted if omitted |
--destination | Destination module to register the new module into. | Prompted if omitted |
AI Skill
This command ships a matchingmodule: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.
- Claude
- Codex