kumiko add
kumiko add feature <kebab-name>Scaffolds src/features/<name>/ inside the current app and auto-mounts
the feature in src/run-config.ts via ts-morph — no hand-editing the import
list.
When to use which scaffold
Section titled “When to use which scaffold”| Command | Scope | Output |
|---|---|---|
kumiko new app | New product | Full app workspace |
kumiko add feature | Existing app | src/features/<name>/ + run-config mount |
kumiko create | Framework repo | samples/recipes/<name>/ |
Example
Section titled “Example”cd my-shopkumiko add feature product-catalog# → src/features/product-catalog/# → auto-mounted in src/run-config.ts
# edit src/features/product-catalog/feature.tskumiko codegenkumiko testIf src/run-config.ts is missing, the feature files are still created but
you must mount the import manually.
See also
Section titled “See also”kumiko codegen— after defining events/entitieskumiko create— recipe/feature workspace in the framework repo