Skip to main content

build-core-database

Build a feature's ECS schema (ecs/core) and its conformance wiring. The first ecs layer.

소스 정보

저장소
adobe/data
최근 소스 활동
2026년 10월 6일 16:55
감지된 SKILL.md 언어
영어
스타
13
포크
8

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
build-core-database
description
Build a feature's ECS schema (ecs/core) and its conformance wiring. The first ecs layer.
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. Create: - `ecs/core/archetypes.ts` — `Database.archetypes(components, { … })`, spreading each `data/entities` tuple and adding implementation-only columns (never a `nonPersistent` column without a real default). - `ecs/core/core-database.ts` — `Database.Plugin.create({ extends?, components?, resources?, archetypes? })` from the `data/` barrels, exporting the `CoreDatabase` namespace. A feature built on another extends that feature's core. - `ecs/main-service.ts` — `export { CoreDatabase as MainService }`, moved up as layers are added. - `ecs/conformance/` — `projection.ts`, `implementation.ts` (`Conformance.implementation(spec, …)`) and `conformance.test.ts` (`Conformance.checkFeature`). Gate: the samples round-trip through the projection. Until the later layers exist, `checkFeature` lists each spec op without an implementation by name; that list is the work remaining. The how is in the auto-loading `features/ecs/index.md`, `core.md` and `conformance.md` rules.
GitHub에서 보기