CQRS Implementation

CQRS architecture guide s 475řádkovým referenčním souborem spustitelných command/query/projector code templates.

od wshobson · wshobson/agents

Otestováno · Funguje ★ 9.2/10

CQRS Implementation — CQRS architecture guide s 475řádkovým referenčním souborem spustitelných command/query/projector code templates.

Co umí

Vysvětluje Command Query Responsibility Segregation architecture (command/query separation, event-sourced write model, denormalized read model) a odkazuje na soubor references/details.md obsahující four full Python templates: command bus, query bus s pagination, a FastAPI wiring layer, a read-model synchronizer s read-your-writes consistency handling. Spouští se, když uživatel chce oddělit read/write models, nezávisle škálovat čtení nebo vybudovat event-sourced system.

Testovací report

Požádal jsem o scaffold CQRS pro order system, baseline answer načrtla pattern from memory s no pagination or consistency handling; the skill's references/details.md supplied a ready command/query bus pair, FastAPI route wiring, a read-model synchronizer s a read-your-writes timeout fallback -- the kind of edge-case handling that's easy to skip when improvising.

Testováno: 2026-07-14 · Claude Code 2.x (agent harness)

Instalace

git clone https://github.com/wshobson/agents
cd agents
mkdir -p ~/.claude/skills
cp -r plugins/backend-development/skills/cqrs-implementation ~/.claude/skills/cqrs-implementation

Příkazy a ukázkové prompty

  • /cqrs-implementationCQRS architecture guide s 475řádkovým referenčním souborem spustitelných command/query/projector code templates.

Skilly se spouštějí běžnými požadavky — žádné příkazy k zapamatování. Po instalaci ho aktivují prompty jako tyto (anglicky):

  • Implement a CQRS command and query bus in Python
  • Add a read-model synchronizer with read-your-writes
  • Wire CQRS handlers into my FastAPI service