Implement Command Query Responsibility Segregation for scalable architectures. Use when separating read and write models, optimizing query performance, or building event-sourced systems.
Add this skill
npx mdskills install sickn33/cqrs-implementationHigh-level guidance lacking actionable step-by-step implementation instructions for agents
1---2name: cqrs-implementation3description: Implement Command Query Responsibility Segregation for scalable architectures. Use when separating read and write models, optimizing query performance, or building event-sourced systems.4---56# CQRS Implementation78Comprehensive guide to implementing CQRS (Command Query Responsibility Segregation) patterns.910## Use this skill when1112- Separating read and write concerns13- Scaling reads independently from writes14- Building event-sourced systems15- Optimizing complex query scenarios16- Different read/write data models are needed17- High-performance reporting is required1819## Do not use this skill when2021- The domain is simple and CRUD is sufficient22- You cannot operate separate read/write models23- Strong immediate consistency is required everywhere2425## Instructions2627- Identify read/write workloads and consistency needs.28- Define command and query models with clear boundaries.29- Implement read model projections and synchronization.30- Validate performance, recovery, and failure modes.31- If detailed patterns are required, open `resources/implementation-playbook.md`.3233## Resources3435- `resources/implementation-playbook.md` for detailed CQRS patterns and templates.36
Full transparency — inspect the skill content before installing.