cqrs-implementation – Writing & Content skill for AI agents
Implement Command Query Responsibility Segregation for scalable architectures. Use when separating read and write models, optimizing query performance, or building event-sourced systems.
Install the cqrs-implementation skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/cqrs-implementation-be333.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /cqrs-implementation – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/cqrs-implementation-be333.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $cqrs-implementation – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/cqrs-implementation-be333.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /cqrs-implementation – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/cqrs-implementation-be333.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /cqrs-implementation – then describe the task you want done.
SKILL.md content
CQRS Implementation
Comprehensive guide to implementing CQRS (Command Query Responsibility Segregation) patterns.
Use this skill when
- Separating read and write concerns
- Scaling reads independently from writes
- Building event-sourced systems
- Optimizing complex query scenarios
- Different read/write data models are needed
- High-performance reporting is required
Do not use this skill when
- The domain is simple and CRUD is sufficient
- You cannot operate separate read/write models
- Strong immediate consistency is required everywhere
Instructions
- Identify read/write workloads and consistency needs.
- Define command and query models with clear boundaries.
- Implement read model projections and synchronization.
- Validate performance, recovery, and failure modes.
- If detailed patterns are required, open
resources/implementation-playbook.md.
Resources
resources/implementation-playbook.mdfor detailed CQRS patterns and templates.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Related skills
- create-pr – Alias for pr-writer. Use when users explicitly ask for "create-pr" or reference the…
- crossframe-critical – Use only when the user explicitly names crossframe-critical for a Chinese structural…
- crossframe-essay – Use when explicit CrossFrame work needs a Chinese critical insight essay, commentary…
- crossframe-notebook – Use when CrossFrame Suite routes explicit Chinese notes for books, theories, articles…
- crossframe-org – Use when CrossFrame Suite routes explicit Chinese analysis of teams, projects…
- mdr-745-specialist – EU MDR 2017/745 compliance specialist for medical device classification, technical…
- triage-validation – Finding validation before writing any report — 7-Question Gate (all 7 questions), 4…
- minimalist – Use when the user asks to write code efficiently, avoid over-engineering, reduce…