Skip to main content

build-transactions

Build a feature's ecs/transactions layer.

Informations de source

Dépôt
adobe/data
Dernière activité de la source
6 octobre 2026 à 16:55
Langue détectée de SKILL.md
anglais
Étoiles
12
Forks
8

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
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.
Voir sur GitHub