Agent Skills
› rmyndharis/antigravity-skills
› projection-patterns
projection-patterns
GitHub用于指导在事件驱动系统中构建读模型和投影。适用于CQRS读取侧、物化视图创建、查询性能优化、实时仪表盘及搜索索引构建等场景,提供最佳实践与验证步骤。
触发场景
实现CQRS读模型
从事件流创建物化视图
优化事件溯源系统的查询性能
构建基于事件的搜索索引
安装
npx skills add rmyndharis/antigravity-skills --skill projection-patterns -g -y
SKILL.md
Frontmatter
{
"name": "projection-patterns",
"description": "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."
}
Projection Patterns
Comprehensive guide to building projections and read models for event-sourced systems.
Use this skill when
- Building CQRS read models
- Creating materialized views from events
- Optimizing query performance
- Implementing real-time dashboards
- Building search indexes from events
- Aggregating data across streams
Do not use this skill when
- The task is unrelated to projection patterns
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open
resources/implementation-playbook.md.
Resources
resources/implementation-playbook.mdfor detailed patterns and examples.
版本历史
- e63f7dd 当前 2026-07-05 09:36


