wshobson avatar

Cqrs Implementation

Solid foundation for implementing CQRS patterns with complete command and query infrastructure templates. Includes command buses, handlers, event sourcing integration, and read model projections. The code examples cover real scenarios like order management with proper separation of write operations (CreateOrder, CancelOrder) and optimized queries (paginated results, filtering). Most useful when you need to scale reads independently from writes or handle complex reporting requirements. The templates are production-ready with proper validation, error handling, and async support. Skip if you're dealing with simple CRUD operations where the complexity overhead isn't justified.

skills.sh installs
11.4K
GitHub stars
42.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add wshobson/agents --skill cqrs-implementation --agent claude-code

Installs into .claude/skills of the current project.

Files

CQRS Implementation

Comprehensive guide to implementing CQRS (Command Query Responsibility Segregation) patterns.

When to Use This Skill

  • Separating read and write concerns
  • Scaling reads independently from writes
  • Building event-sourced systems
  • Optimizing complex query scenarios
  • Different read/write data models needed
  • High-performance reporting requirements

Core Concepts

1. CQRS Architecture

Sponsors

Details

Repository
github.com/wshobson/agents
Category
Debugging

More from wshobson/agents

All 174

Recommended

More Debugging
1wshobson avatartemporal-python-testingwshobson/agentsTest Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing, replay testing, and local development setu11.3Kskills.sh installs
2wshobson avatarscreen-reader-testingwshobson/agentsTest web applications with screen readers including VoiceOver, NVDA, and JAWS. Use when validating screen reader compatibility, debugging accessibility issues, 11.1Kskills.sh installs
3wshobson avatarhybrid-cloud-networkingwshobson/agentsConfigure secure, high-performance connectivity between on-premises infrastructure and cloud platforms using VPN and dedicated connections. Use when building hy11Kskills.sh installs
4wshobson avatarprojection-patternswshobson/agentsBuild read models and projections from event streams. Use when implementing CQRS read sides, building materialized views, or optimizing query performance in eve10.9Kskills.sh installs
5aws avataraws-observabilityaws/agent-toolkit-for-awsBuilds, configures, debugs, and optimizes AWS observability with CloudWatch (Log Insights, Metrics, Alarms, Dashboards, EMF), X-Ray, CloudTrail, and ADOT (AWS D10.7Kskills.sh installs
6wshobson avatarservice-mesh-observabilitywshobson/agentsImplement comprehensive observability for service meshes including distributed tracing, metrics, and visualization. Use when setting up mesh monitoring, debuggi10.7Kskills.sh installs