Skip to main content

build-computed

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

معلومات المصدر

المستودع
adobe/data
آخر نشاط في المصدر
٦ أكتوبر ٢٠٢٦ في ١٦:٥٥
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
١٢
التفرعات
٨

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
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.
عرض على GitHub