Skip to main content

build-systems

Build a real-time feature's ecs/systems layer — the per-frame tick loop. Optional.

来源信息

仓库
adobe/data
最近来源活动
2026年10月6日 16:55
检测到的 SKILL.md 语言
英语
星标
12
Forks
8

安装方式

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

检查来源文件

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

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
build-systems
description
Build a real-time feature's ecs/systems layer — the per-frame tick loop. Optional.
input
feature
output
feature
Legacy feature (has `data/state/` or `services/main-service/`)? Extend it in place per the legacy rules; don't migrate unless asked. Skip unless the feature is real-time (games, simulations). Create `ecs/systems/system-database.ts`: `Database.Plugin.create({ extends: Database.Plugin.combine(<currentTop>.plugin, scheduler), systems: { … } })`, with the `systems` map declared **inline** so `db` and the system names are inferred. Hot per-row work writes columns in place; discrete events dispatch transactions. Order systems under `schedule`; it is the only statement of order. Add `frame: { args, unmodelled?, cases? }` to the implementation: a writer per frame arg, each system the spec can't model (wasm, init-only) with its reason, and whole-frame cases in `ecs/conformance/frame.cases.ts`. Gate: every system's own cases and the frame cases pass. The how is in the auto-loading `features/ecs/systems.md` rule.
在 GitHub 查看