Skip to main content

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/elsa-foundation
最近来源活动
2026年6月29日 00:35
检测到的 SKILL.md 语言
英语
星标
7
Forks
3

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
designer-create-module
description
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.
argument-hint
Module description (name + what it does)
compatibility
Requires elsa-foundation-designer docs and module system
metadata
{"author":"elsa-foundation-designer","source":"docs/skills/catalog.md#create-module"}
user-invocable
true
disable-model-invocation
false
## User Input ```text $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.
在 GitHub 查看