[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-3f5b4f83-fe3c-47d5-9a0f-39453e88e4be":3,"$ffni7BukgcsPwrN6FXasXKbgHyxORBfQADQ5VEq6xUxI":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},"3f5b4f83-fe3c-47d5-9a0f-39453e88e4be","projection-patterns","从事件流中构建读取模型和投影。用于实现CQRS读取端、构建物化视图或优化事件源系统的查询性能。","cat_coding_backend","mod_coding","sickn33,coding","---\nname: projection-patterns\ndescription: \"Build read models and projections from event streams. Use when implementing CQRS read sides, building materialized views, or optimizing query performance in event-sourced systems.\"\nrisk: safe\nsource: community\ndate_added: \"2026-02-27\"\n---\n\n# Projection Patterns\n\nComprehensive guide to building projections and read models for event-sourced systems.\n\n## Use this skill when\n\n- Building CQRS read models\n- Creating materialized views from events\n- Optimizing query performance\n- Implementing real-time dashboards\n- Building search indexes from events\n- Aggregating data across streams\n\n## Do not use this skill when\n\n- The task is unrelated to projection patterns\n- You need a different domain or tool outside this scope\n\n## Instructions\n\n- Clarify goals, constraints, and required inputs.\n- Apply relevant best practices and validate outcomes.\n- Provide actionable steps and verification.\n- If detailed examples are required, open `resources\u002Fimplementation-playbook.md`.\n\n## Resources\n\n- `resources\u002Fimplementation-playbook.md` for detailed patterns and examples.\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,125,1653,"2026-05-16 13:35:27",{"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},"62a9756c-a159-4509-830f-ddf2a1650e16","1.0.0","projection-patterns.zip",4464,"uploads\u002Fskills\u002F3f5b4f83-fe3c-47d5-9a0f-39453e88e4be\u002Fprojection-patterns.zip","1dca05a765c0e13a8d1c8c306fb6ff964da1ea3aafdca520b335bbadc25ed3dc","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":1426},{\"path\":\"resources\u002Fimplementation-playbook.md\",\"isDirectory\":false,\"size\":17175}]",{"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]