Skill Wiki v0.1.0
pattern @backend-architecture/pattern-cqrs

Cqrs

Command Query Responsibility Segregation. The model that handles writes (commands) is separated from the model(s) that handle reads (queries).…

Skill
@backend-architecture
Domain
backend-architecture
Version
1.0.0
Quality
4.0
Edges
3 out · 2 in
Tokens
105/364/660
$ prime install @backend-architecture/pattern-cqrs

Projection

Always in _index.xml · the agent never has to ask for this.

CQRS [pattern] v1.0.0

Command Query Responsibility Segregation. The model that handles writes (commands) is separated from the model(s) that handle reads (queries). The write model owns the invariants and emits events; one or more read models subscribe to those events and shape themselves for the queries the UI actually runs. The two sides scale, evolve, and are stored independently.

Source

prime-system/examples/backend-architecture/primes/compiled/@backend-architecture/pattern-cqrs/atom.yaml

Compiled at 2026-05-10