Skip to content

kumiko create

Terminal window
kumiko create <camelCaseName> [--path <dir>]

Creates a new feature workspace with the conventional layout (src/feature.ts, package.json, bunfig.toml, README.md).

  • <camelCaseName> — required. Validated as camelCase (myFeature, userInvite). The CLI converts it to kebab-case for paths and to PascalCase for type names.
  • --path <dir> — destination. Defaults to samples/recipes/<kebab-name>/.
Terminal window
kumiko create userInvite
# → samples/recipes/user-invite/
# ├─ src/feature.ts
# ├─ package.json
# ├─ bunfig.toml
# └─ README.md

package.json is named @cosmicdrift/kumiko-recipes-user-invite (or @<scope>/<your-prefix>-<kebab> if you’ve configured a different convention).

Terminal window
bun install # picks up the new workspace
# … edit src/feature.ts …
kumiko codegen # if you added events
kumiko test samples/recipes/user-invite/