[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-2b19c733-7d7f-464a-94c6-9351043f8302":3,"$fbBOMJX8Zad62HILHaBpVvQGzMjAnHswLJfSnElQRIR8":42},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":33},"2b19c733-7d7f-464a-94c6-9351043f8302","cqrs-implementation","实现命令查询责任分离以构建可扩展架构。在分离读取和写入模型、优化查询性能或构建事件源系统时使用。","cat_coding_backend","mod_coding","sickn33,coding","---\nname: cqrs-implementation\ndescription: \"Implement Command Query Responsibility Segregation for scalable architectures. Use when separating read and write models, optimizing query performance, or building event-sourced systems.\"\nrisk: unknown\nsource: community\ndate_added: \"2026-02-27\"\n---\n\n# CQRS Implementation\n\nComprehensive guide to implementing CQRS (Command Query Responsibility Segregation) patterns.\n\n## Use this skill when\n\n- Separating read and write concerns\n- Scaling reads independently from writes\n- Building event-sourced systems\n- Optimizing complex query scenarios\n- Different read\u002Fwrite data models are needed\n- High-performance reporting is required\n\n## Do not use this skill when\n\n- The domain is simple and CRUD is sufficient\n- You cannot operate separate read\u002Fwrite models\n- Strong immediate consistency is required everywhere\n\n## Instructions\n\n- Identify read\u002Fwrite workloads and consistency needs.\n- Define command and query models with clear boundaries.\n- Implement read model projections and synchronization.\n- Validate performance, recovery, and failure modes.\n- If detailed patterns are required, open `resources\u002Fimplementation-playbook.md`.\n\n## Resources\n\n- `resources\u002Fimplementation-playbook.md` for detailed CQRS patterns and templates.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,236,1645,"2026-05-16 13:13:32",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"编程开发","coding","mdi-code-braces","代码生成、调试、审查，提升开发效率",2,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":25,"skillCount":32,"createdAt":26},"后端开发","backend","mdi-server","API、数据库、服务端架构",296,[34],{"id":35,"skillId":4,"version":36,"fileName":37,"fileSize":38,"filePath":39,"fileHash":40,"manifest":41,"createdAt":19},"4f911afa-1352-497f-b2bc-241c3c493d1f","1.0.0","cqrs-implementation.zip",5115,"uploads\u002Fskills\u002F2b19c733-7d7f-464a-94c6-9351043f8302\u002Fcqrs-implementation.zip","1991d2f92fda12446cd42fda99ec6f7c31e5e45a9489e0158007463ba326ac89","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":1590},{\"path\":\"resources\u002Fimplementation-playbook.md\",\"isDirectory\":false,\"size\":15546}]",{"code":43,"message":44,"data":45},200,"success",{"items":46,"stats":47,"page":50},[],{"averageRating":48,"totalRatings":48,"ratingCounts":49},0,[48,48,48,48,48],{"limit":51,"offset":48,"hasMore":52,"nextOffset":51,"ratedOnly":16},15,false]