Skip to main content

build-data

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

Datos de origen

Repositorio
adobe/data
Última actividad en el origen
24 de julio de 2026 a las 01:18
Idioma detectado de SKILL.md
inglés
Estrellas
12
Forks
8

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
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 en GitHub