cqrs

Installation
SKILL.md

CQRS

Use this skill when

  • Separating read and write models when they diverge
  • Scaling reads independently with read models
  • Simplifying writes by removing read building from the write path
  • Using event sourcing with projections

Do not use this skill when

  • Reads are the same shape as writes
  • The added complexity is not justified

Instructions

  1. Model commands as intent, with validation and idempotency.
  2. Model queries as purpose-built read models.
  3. Choose storage per side: relational for commands, materialized for reads.
  4. Synchronize read models via events or projections.
  5. Handle consistency: define acceptable lag for reads.
  6. Keep command handling transactional and auditable.
Installs
1
First Seen
Oct 22, 2026
Security Audits