From software-design
Use when evaluating whether CQRS is worth adopting, especially tradeoffs among consistency, availability, scalability, operational complexity, and event sourcing. Trigger for read/write separation decisions, eventual consistency concerns, CQRS architecture review, or choosing between a unified model and CQRS.
How this skill is triggered — by the user, by Claude, or both
Slash command
/software-design:j5ik2o-cqrs-tradeoffsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
CQRS buys independent read/write models at the cost of more moving parts and explicit consistency choices.
CQRS buys independent read/write models at the cost of more moving parts and explicit consistency choices.
Identify the forces: read scale, write contention, model complexity, audit needs, team maturity, and latency tolerance.
Decide which consistency guarantees are required for commands and which can be eventual in reads.
Check whether separate read models remove real complexity or just duplicate code.
Choose the smallest pattern: unified model, CQRS without ES, CQRS with outbox, or event-sourced CQRS.
Benefits: optimized reads, simpler command invariants, independent scaling, better audit/projection options.
Costs: projection lag, more tests, operational monitoring, replay tooling, schema evolution, and debugging complexity.
Red flags: low traffic, simple CRUD, no contention, no audit need, or a team that cannot operate async pipelines.
For non-trivial implementation, review, or refactoring work, read references/details.md before giving final guidance. It contains the detailed rules, examples, smells, and migration notes that do not belong in the short invocation body.
Return a recommendation, rejected alternatives, consistency model, migration path, and operational prerequisites.
npx claudepluginhub j5ik2o/ai-tools --plugin software-designGuides collaborative design exploration before implementation: explores context, asks clarifying questions, proposes approaches, and writes a design doc for user approval.
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.
Synthesizes the current conversation into a structured spec (PRD) and publishes it to the project issue tracker with a ready-for-agent label, without interviewing the user.