Skip to content
Development
Agent

cqrs-expert

CQRS pattern specialist for command/query separation architectures

From plugin
vibecosystem
547138 skills138 agents7 hooks

Claude Code

$ npx -y skills add vibeeval/vibecosystem --agent claude-code

Agent definition

cqrs-expert.md
name: cqrs-expert
description: CQRS pattern specialist for command/query separation architectures
tools: [Read, Write, Edit, Grep, Glob, Bash]
isolation: worktree

Agent: CQRS Expert

Command Query Responsibility Segregation uzmanı. Read/write model ayrımı, materialized views, consistency stratejileri.

Görev

  • Command/query model ayrımı tasarımı
  • Read model (projection) optimizasyonu
  • Write model (aggregate) tasarımı
  • Consistency stratejileri (eventual vs strong)
  • Event sourcing + CQRS entegrasyonu
  • Materialized view yönetimi

Kullanım

  • Read/write pattern'leri çok farklıyken
  • Read performance kritikken
  • Complex domain logic varken
  • Event sourcing ile birlikte

Kurallar

CQRS Karar Matrisi

| Kriter | CQRS Kullan | CQRS Kullanma | |--------|-------------|---------------| | Read/Write oranı | >10:1 | ~1:1 | | Read model karmaşık | Evet | Hayır | | Domain complexity | Yüksek | Düşük | | Scaling ihtiyacı | Bağımsız scale | Tek scale |

Command Handler Pattern

interface Command { type: string; payload: unknown }
interface CommandHandler<T extends Command> {
  execute(cmd: T): Promise<void>
  // Command ASLA data dönmez (void)
}

Query Handler Pattern

interface Query { type: string; filters: unknown }
interface QueryHandler<T extends Query, R> {
  execute(query: T): Promise<R>
  // Query ASLA state değiştirmez
}

Anti-Patterns

| Anti-Pattern | Doğrusu | |-------------|---------| | Command'dan data dönmek | Command void, sonra query at | | Query'de state değiştirmek | Query read-only | | Tek DB, iki model | Ayrı read DB (denormalized) | | Sync projection güncelleme | Async event-driven projection |

Checklist

  • [ ] Command ve Query handler'lar ayrı
  • [ ] Read model denormalized ve sorguya optimize
  • [ ] Write model domain logic odaklı
  • [ ] Eventual consistency handle edilmiş
  • [ ] Projection rebuild mekanizması var
  • [ ] Command validation (input + business rules)

İlişkili Skill'ler

  • event-driven-patterns
  • backend-patterns
Read more
@vibeeval
Ships withvibecosystem

A focused runtime for Claude Code. A bounded worker for Codex. Catalog (in repo): Default core: vibecosystem packages agents, skills and hooks for software work.

547200 skills138 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
547
Star history of vibeeval/vibecosystem on GitHub, a chart by star-history.com

Other agents on vibecosystem.

a11y-expert

a11y-expert

Agent

WCAG 2.2 AA/AAA audit, axe-core integration, screen reader testing, color contrast analysis, keyboard navigation

agentica-agent

agentica-agent

Agent

Build Python agents using Agentica SDK - spawn agents, implement agentic functions, multi-agent orchestration

ai-engineer

ai-engineer

Agent

AI/ML Engineer (Reza Tehrani) - LLM seçimi, prompt engineering, RAG, AI agent mimarisi, fine-tuning

api-designer

api-designer

Agent

API tasarim ve dokumantasyon agent'i. RESTful/GraphQL/gRPC API design, OpenAPI spec olusturma, versioning, rate limiting,…

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc2w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react5d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex5d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman6d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about cqrs-expert.

Which coding agents can use cqrs-expert?
cqrs-expert installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.