Designer Create Module

Plan or scaffold a new Elsa Studio (designer) module: manifest, registry + route-manifest registration, routes, i18n, and the Settings toggle. Use when adding, porting, or scaffolding a studio module/feature in elsa-foundation-designer.

elsa-workflows d932ec7 1.3 KB Updated

File contents

User Input

$ARGUMENTS

Outline

  1. Read docs/skills/catalog.md#create-module.
  2. Read docs/modules.md — the StudioModule contract and the 5 touchpoints.
  3. Pin down the module shape: id (kebab-case), navGroup, leaf-vs-parent nav, ownedPaths, required, defaultEnabled, and whether the first page is a real list page or a ComingSoon placeholder.
  4. Produce the exact file list before editing: features/<id>/module.ts, lib/modules/registry.ts, lib/modules/route-manifest.ts, app/(app)/<owned-path>/page.tsx, messages/en.json + messages/nl.json.

If the user has not explicitly approved implementation, stop with the plan and file list. After approval, implement all five touchpoints, keeping registry.ts and route-manifest.ts in lock-step (the dev-only drift check throws otherwise) and route-manifest.ts icon-free/React-free. Then run the designer-verify routine and confirm the new nav entry and Settings toggle behave.

elsa-workflows/elsa-foundation-designer/tree/main/.claude/skills/designer-create-module commit d932ec7e61

Frequently asked questions

npx skillmds@latest add elsa-workflows/designer-create-module