Skip to main content

build-data

Build a feature's data/ layer — data-type namespaces and the State spec. The first, foundational feature phase.

ソース情報

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

インストール方法

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

ソースファイルを確認

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

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
build-data
description
Build a feature's data/ layer — data-type namespaces and the State spec. The first, foundational feature phase.
input
feature
output
feature
Create the feature's `data/` layer (pure spec; depends on nothing but `@adobe/data` and other `data/` declarations): - one namespace folder per data type — `<type>/{<type>.ts, schema.ts, public.ts, <helper>.ts}`; - `data/state/` — the `State` aggregate plus its pure transforms/derivations. The schema is the single source of truth; the type derives from it (`Schema.ToType`). Helpers are pure and unit-tested. Run this first — every other layer imports `data/`. The how is in the auto-loading rules: `features/data/index.md`, `data/state.md`, and `namespace.md`.
GitHubで見る