create-unit-of-work

Installation
SKILL.md

Unit of Work Generator

Creates Unit of Work pattern infrastructure for transactional consistency across multiple aggregates.

When to Use

Scenario Example
Multi-aggregate transactions Order + Payment + Inventory in single transaction
Batch persistence Flush multiple entity changes at once
Change tracking Detect dirty entities for selective updates
Domain event collection Collect and dispatch events after successful commit
Repository coordination Ensure all repositories share the same transaction

Component Characteristics

UnitOfWorkInterface

  • Application layer port
  • begin(), commit(), rollback() transaction methods
Related skills
Installs
4
GitHub Stars
71
First Seen
Mar 17, 2026