来源信息
- 仓库
- adobe/data
- 最近来源活动
- 2026年10月6日 16:55
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 12
- Forks
- 8
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- build-app-entry
- description
- Build an application's src/app/ composition root.
- input
- app
- output
- app
A legacy feature (has `data/state/` or `services/main-service/`) exposes its `MainService` from `services/main-service/`; compose it from there.
Create `src/app/`:
- `schema.ts` — the composed plugin: the base feature's `MainService.plugin`, `imports`
of the core schema of each feature that loads lazily (single-feature apps skip this).
- `versioning/` — `versions.ts` + `versions.test.ts` over the composed schema, when
the app persists.
- `persistence.test.ts` — a save/load round-trip, when the app persists.
- `main.ts` — creates the database, injects every service whose `create` throws, and
mounts the root UI. Point `index.html` at it.
The how is in the auto-loading `app.md` and `versioning.md` rules, and
`features/index.md` (one app, many features).
在 GitHub 查看