Skip to main content

build-computed

Build a feature's ecs/computed layer. Optional.

Source facts

Repository
adobe/data
Last source activity
October 6, 2026 at 16:55
Detected SKILL.md language
English
Stars
13
Forks
8

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
build-computed
description
Build a feature's ecs/computed layer. 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 if the spec has no derivations and the UI needs no derived values. Create `ecs/computed/`: `computed-database.ts` (extends the previous layer, adds `computed` from `./index.js`), one `cached` derived value per file, and a barrel. Wire `data/values/` helpers to the minimal observables. Name each entity-id-list computed in the implementation's `hydrate`, and pass `computedPlugin: ComputedDatabase.plugin`. Gate: each derivation's computed conforms. The how is in the auto-loading `features/ecs/computed.md` rule.
View on GitHub