# Build Transactions

> Build a feature's ecs transaction-database — atomic mutations over the store.

- Skill: `adobe/build-transactions-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add adobe/build-transactions-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/adobe/build-transactions-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Adobe (https://skillmd.com/u/adobe)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/adobe/build-transactions-2

---


Create `ecs/transaction-database/`: `transaction-database.ts` (extends `IndexDatabase`, adds
`transactions` from `./transactions/index.js`) plus a `transactions/` folder — one mutation per
file + barrel. Type the store param `CoreDatabase.Store` (entities/resources/archetypes) or
`IndexDatabase.Store` (reads an index).

Comes after `index-database` (or `core-database` if no indexes).

The how is in the auto-loading `features/ecs/transactions.md` rule.

