Skip to main content

build-transactions

Build a feature's ecs/transactions layer.

Informações da origem

Repositório
adobe/data
Última atividade na origem
6 de outubro de 2026 às 16:55
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-transactions
description
Build a feature's ecs/transactions 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 `ecs/transactions/`: `transaction-database.ts` (extends the previous layer, adds `transactions` from `./index.js`), one mutation per file, and a barrel. Type the store `CoreDatabase.Store`, or `IndexDatabase.Store` once it reads an index. Guard by entity kind, and apply `data/values/` helpers; never import `spec/`. Build the transactions the spec actions will need. They are conformed through the actions that call them, so their gate is `build-actions`; add any missing one there. The how is in the auto-loading `features/ecs/transactions.md` rule.
Ver no GitHub