Comprehensive guide to implementing CQRS (Command Query Responsibility Segregation) patterns.
Use this skill when
Separating read and write concerns
Scaling reads independently from writes
Building event-sourced systems
Optimizing complex query scenarios
Different read/write data models are needed
High-performance reporting is required
Do not use this skill when
The domain is simple and CRUD is sufficient
You cannot operate separate read/write models
Strong immediate consistency is required everywhere
Instructions
Identify read/write workloads and consistency needs.
Define command and query models with clear boundaries.
Implement read model projections and synchronization.
Validate performance, recovery, and failure modes.
If detailed patterns are required, open resources/implementation-playbook.md.
Resources
resources/implementation-playbook.md for detailed CQRS patterns and templates.
1---2name: cqrs-implementation3description: CQRS Implementation4---5# CQRS Implementation67Comprehensive guide to implementing CQRS (Command Query Responsibility Segregation) patterns.89## Use this skill when1011- Separating read and write concerns12- Scaling reads independently from writes13- Building event-sourced systems14- Optimizing complex query scenarios15- Different read/write data models are needed16- High-performance reporting is required1718## Do not use this skill when1920- The domain is simple and CRUD is sufficient21- You cannot operate separate read/write models22- Strong immediate consistency is required everywhere2324## Instructions2526- Identify read/write workloads and consistency needs.27- Define command and query models with clear boundaries.28- Implement read model projections and synchronization.29- Validate performance, recovery, and failure modes.30- If detailed patterns are required, open `resources/implementation-playbook.md`.3132## Resources3334- `resources/implementation-playbook.md` for detailed CQRS patterns and templates.
Run npx skillmds@latest add comeonoliver/cqrs-implementation in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
CQRS Implementation It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
ComeOnOliver (@comeonoliver) published this skill. Their other Agent Skills are listed on their SkillMD profile.