Skip to main content

build-data

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

Informações da origem

Repositório
adobe/data
Última atividade na origem
24 de julho de 2026 às 01:18
Idioma detectado do SKILL.md
inglês
Estrelas
12
Forks
8

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
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`.
Ver no GitHub