Skip to main content

build-ui

Build a feature's ui/ layer.

Datos de origen

Repositorio
adobe/data
Última actividad en el origen
6 de octubre de 2026 a las 16:55
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-ui
description
Build a feature's ui/ layer.
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. Create `ui/`: one folder per UI unit — `<name>/{<name>.ts (lazy wrapper), <name>-element.ts (container), <name>-presentation.ts (pure render), <name>.css.ts}`. The element subscribes to `MainService` state and calls `service.actions.*`; the presentation imports only `data/` and sibling `ui/` lazy wrappers. No business logic here. Comes last. Gate: presentation tests. The how is in the auto-loading `features/ui/index.md` rule (and `element.md`, `lazy-element.md`, `presentation.md`).
Ver en GitHub