Skip to main content

build-data

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

Source facts

Repository
adobe/data
Last source activity
July 24, 2026 at 01:18
Detected SKILL.md language
English
Stars
12
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-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`.
View on GitHub