Skip to main content

build-transactions

Build a feature's ecs/transactions layer.

Source facts

Repository
adobe/data
Last source activity
October 6, 2026 at 16:55
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-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.
View on GitHub