Event Sourcing Cqrs
Apply Event Sourcing and CQRS principles from Greg Young's CQRS Documents, Alexey Zimarev and Microsoft's architecture patterns when designing commands, write-side state, IHoldState interfaces, appliers, event payloads, streams, aggregate boundaries, read models or projections. Covers schema evolution with Greg Young's migration ladder (weak schema, upcasting, double publish, copy-replace, copy-transform, internal vs external models) and wire encoding, including why enums must never be persisted as ordinals and why events store primitives rather than domain value objects. Use when deciding wha
Install
/plugin marketplace add vnovakovits/claude-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add vnovakovits/claude-skills --skill event-sourcing-cqrsgit clone --depth 1 https://github.com/vnovakovits/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/plugins/engineering-practices/skills/event-sourcing-cqrs ~/.claude/skills/event-sourcing-cqrsPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Event Sourcing and CQRS (Greg Young, Alexey Zimarev) Apply this skill for any question about CQRS command/query separation, write-side state design, applier correctness, event payload design, stream structure, aggregate boundaries, read model design, or projections. Principles drawn from Greg Young's *CQRS Documents*, Zimarev's *Hands-On Domain-Driven Design with .NET Core*, the KurrentDB/EventStore documentation, and Microsoft's Azure Architecture patterns. --- ## Core Philosophy **The event log is the source of truth.** State is a derived projection of events — a read-optimised view computed by replaying the event stream. > "Current state is a left fold of previous behaviours." — Greg Young Every field in write-side state must be derivable purely by replaying events. If a field cannot be produced by applying events in sequence, it does not belong on the write side. **CQRS separates the write model from the read model.** Before CQRS, a single service handles both: ``` CustomerService: MakePreferred, GetCustomer, GetPreferred, ChangeLocale, Create, Edit ``` After CQRS: ``` CustomerWriteService: MakePreferred, ChangeLocale, Create, Edit CustomerReadService: GetCustomer, GetPreferredCustomers, GetCustomersWithName ``` > "Command and Query Responsibility Segregation... extends CQS from the method level to the object and architectural level." — Greg Young
Details
- Skill name
event-sourcing-cqrs- Repository
- vnovakovits/claude-skills
- Path
plugins/engineering-practices/skills/event-sourcing-cqrs/SKILL.md- License
- MIT
- Repo updated
- 16 November 2026
FAQ
What does the Event Sourcing Cqrs skill do?
Apply Event Sourcing and CQRS principles from Greg Young's CQRS Documents, Alexey Zimarev and Microsoft's architecture patterns when designing commands, write-side state, IHoldState interfaces, appliers, event payloads, streams, aggregate boundaries, read models or projections. Covers schema evolution with Greg Young's migration ladder (weak schema, upcasting, double publish, copy-replace, copy-transform, internal vs external models) and wire encoding, including why enums must never be persisted as ordinals and why events store primitives rather than domain value objects. Use when deciding wha
How do I install the Event Sourcing Cqrs skill?
Claude Code plugin: /plugin marketplace add vnovakovits/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Event Sourcing Cqrs popular?
It lives in vnovakovits/claude-skills, which has 5 GitHub stars and 2 forks.
Related skills
Accidental Cio
5vnovakovits/claude-skills
Apply Scott Millett's "The Accidental CIO — A Lean and Agile Playbook for IT Leaders" (Wiley, 2024) when designing or reviewing how a technology organisation decides, funds, governs and delivers work. Covers the five components of an adaptive IT operating model (organised, work, govern, talent, lead) and its four themes (outcomes over output, intrinsic motivation, being not doing agile, manage flow not people); matching method and governance to context via Cynefin and Wardley evolution; governance as demand management + funding + measurement + decision rights, shifting from project funding to
Agent Retro
5vnovakovits/claude-skills
Run a retrospective on a coding-agent session and improve the agent's environment, not the code. Combines Derby & Larsen's five-stage retrospective, Shigeo Shingo's poka-yoke (turn a mechanical mistake into a check that makes it impossible), and Matt Pocock's retro categories — navigation, automated checks, coding standards, steering files, tool economy, information access. Covers mining the session transcript for corrections, wrong turns and slow searches; deciding where each fix belongs (analyzer, hook, CI, reviewer standards, CLAUDE.md pointer, skill, doc or memory); the no-op test for stee
API Design
5vnovakovits/claude-skills
Design APIs that are clear, evolvable, and idiomatic to their protocol — covering REST (Fielding, Richardson Maturity Model, Massé), GraphQL, gRPC/protobuf, versioning strategies, pagination, error responses (RFC 7807 Problem Details), idempotency, authentication, documentation (OpenAPI), and the pragmatic trade-offs between RESTful purity and developer ergonomics. Use when designing a new endpoint, choosing between REST/GraphQL/gRPC, defining versioning, structuring error responses, deciding pagination strategy, or evaluating an existing API's evolvability.
Incomplete Onboarding Assessor
8Freddy-CHEN-ux/00_claude_skills
Assess incomplete onboardings using COLD/WARM/HOT temperature model with time decay
Edge Functions
8Freddy-CHEN-ux/00_claude_skills
Use when working with Deno edge functions, LLM integration, or embedding generation. Load for Deno.serve patterns, Zod request validation, OpenRouter LLM calls, and error handling. Covers function structure, CORS, and the call-llm/generate-embedding patterns.
Langfuse Prompt and Trace Debugger
8Freddy-CHEN-ux/00_claude_skills
MANDATORY skill when KeyError or schema errors occur. Fetch actual prompt schemas instead of guessing. Use for debugging traces and understanding AI model behavior.
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.