microwind/ai-skills/read-model-optimization
Claude Code and agent skill by microwind/ai-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
为查询场景专门设计的数据模型,通过反规范化、物化视图等技术优化读取性能。
Install
npx vskill@latest install microwind/ai-skills/read-model-optimizationSKILL.md
读模型优化 (Read Model Optimization)
概述
读模型是为查询性能专门优化的数据视图,与写模型(领域模型)分离,可以按查询需求自由设计。
优化策略
1. 反规范化
2. 事件驱动更新
3. 多种读模型
读模型存储选择
| 场景 | 推荐存储 | 原因 | |
|---|---|---|---|
| 列表展示 | Redis / 关系数据库视图 | 快速分页 | |
| 全文搜索 | Elasticsearch | 倒排索引 | |
| 报表分析 | 数据仓库 / ClickHouse | 列式存储 | |
| 实时仪表盘 | Redis / 时序数据库 | 低延迟 |
与其他DDD概念的关系
总结
核心:为查询场景专门设计数据模型,反规范化优化读取性能。
实践:通过事件驱动更新读模型,不同场景用不同存储。
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdomain-driven-design/read-model-optimization/SKILL.md
Popularity
- Repository stars
- 60
- Repository forks
- 15
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 31 Jul 2026, 3 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/microwind/ai-skills/read-model-optimization)