architecture-paradigm-cqrs-es
Installation
SKILL.md
The CQRS and Event Sourcing Paradigm
When To Use
- Designing event-sourced systems with complex domain logic
- Systems requiring full audit trails of state changes
When NOT To Use
- Simple CRUD applications without complex domain logic
- Small projects where event sourcing adds unnecessary complexity
When to Employ This Paradigm
- When read and write workloads have vastly different performance characteristics or scaling requirements.
- When all business events must be captured in a durable, immutable history or audit trail.
- When a business needs to rebuild projections of data or support temporal queries (e.g., "What did the state of this entity look like yesterday?").
Adoption Steps
- Identify Aggregates: Following Domain-Driven Design principles, specify the bounded contexts and the business invariants that each command must enforce on an aggregate.
Related skills
More from athola/claude-night-market
project-planning
Turn a specification into a phased implementation plan with dependency ordering.
127code-quality-principles
KISS, YAGNI, and SOLID code quality principles for clean code, reducing complexity and preventing over-engineering.
95project-brainstorming
Guide project ideation via Socratic questioning to generate project briefs.
93doc-generator
Generate or remediate documentation with human-quality writing and style.
82rigorous-reasoning
Anti-sycophancy reasoning checklist.
80project-specification
Transform project briefs into testable specifications with user stories, acceptance criteria, and measurable outcomes.
79