From nickcrew-claude-ctx-plugin
Provides expert guidance for implementing CQRS and Event Sourcing patterns with separated read/write models, complete audit trails, and temporal queries.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nickcrew-claude-ctx-plugin:cqrs-event-sourcingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Expert guidance for implementing Command Query Responsibility Segregation (CQRS) and Event Sourcing patterns to build scalable, auditable systems with complete historical tracking and optimized read/write models.
Expert guidance for implementing Command Query Responsibility Segregation (CQRS) and Event Sourcing patterns to build scalable, auditable systems with complete historical tracking and optimized read/write models.
Separate operations that change state (commands) from operations that read state (queries).
| Commands (Write) | Queries (Read) |
|---|---|
| Express intent (CreateOrder, UpdatePrice) | Return data, never change state |
| Can be rejected (validation failures) | Can be cached and optimized |
| Return success/failure, not data | Multiple models for different needs |
| Change system state | Eventually consistent with writes |
Store state changes as immutable events rather than current state snapshots.
Traditional: Store what IS → UPDATE users SET email = '[email protected]'
Event Sourcing: Store what HAPPENED → APPEND UserEmailChanged event
Result: Complete history, temporal queries, audit trail
Accept temporary inconsistency between write and read models for scalability.
| Task | Load reference |
|---|---|
| CQRS implementation patterns | skills/cqrs-event-sourcing/references/cqrs-patterns.md |
| Event sourcing & snapshots | skills/cqrs-event-sourcing/references/event-sourcing.md |
| EventStoreDB & Axon Framework | skills/cqrs-event-sourcing/references/event-store-tech.md |
| Consistency patterns | skills/cqrs-event-sourcing/references/consistency-patterns.md |
| Best practices checklist | skills/cqrs-event-sourcing/references/best-practices.md |
npx claudepluginhub nickcrew/claude-cortex2plugins reuse this skill
First indexed Jul 7, 2026
Designs event-sourced systems using CQRS, event stores, projections, sagas, and eventual consistency patterns. Useful for audit trails, temporal queries, and complex workflows.
Designs event-sourced systems with CQRS, event stores, projections, and sagas. Use for audit trails, temporal queries, and complex domain modeling.
Implements event sourcing and CQRS patterns with event stores, aggregates, projections, and snapshots. Use for audit trails, temporal queries, and systems requiring full history.