Agent Skills
› rmyndharis/antigravity-skills
› projection-patterns
projection-patterns
GitHub用于在事件溯源系统中构建读模型和投影。适用于CQRS读侧实现、物化视图创建、查询性能优化及实时仪表盘开发,旨在通过事件流聚合数据以支持高效查询。
Trigger Scenarios
构建CQRS读模型
从事件创建物化视图
优化事件溯源系统的查询性能
实现基于事件的实时仪表盘
构建搜索索引
Install
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.
Version History
- e63f7dd Current 2026-07-05 09:36


