Skip to main content

build-service-database

Build a feature's ecs/services layer — registering services on the database. Optional.

ソース情報

リポジトリ
adobe/data
ソースの最終更新活動
2026年10月6日 16:55
検出された SKILL.md の言語
英語
スター
12
フォーク
8

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
build-service-database
description
Build a feature's ecs/services layer — registering services on the database. 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 feature has no services. Create `ecs/services/service-database.ts` (extends the previous layer), registering each `services/` service's `create` under its `Services` key, plus any database-bound factories (one per file + barrel) for services that read observables or call transactions. Pin with `Assert<Equal<ServiceDatabase["services"], Services>>`. Give the implementation base fakes for services whose `create` throws. The how is in the auto-loading `features/ecs/services.md` rule.
GitHubで見る