event-sourcing-architect

event-sourcing-architect is a skill for Claude Code from tranhieutt/software_development_department. It costs 51 tokens per session (593 once invoked), scanned A, original, MIT.

An architecture guide for event-sourced systems, where changes are stored as a sequence of events instead of only the latest state. It also covers CQRS, which separates writing data from reading it, and projections that build queryable views.

In plain words
What is it for?
It is for planning event stores, projections, event versioning, snapshots, sagas, and read/write models.
Why use it?
It helps design systems that need complete history, past-state queries, or workflows that eventually become consistent across services.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It is for planning event stores, projections, event versioning, snapshots, sagas, and read/write models.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tranhieutt/software_development_department/event-sourcing-architect
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add tranhieutt/software_development_department --skill event-sourcing-architect
Clone the repo
git clone --depth 1 https://github.com/tranhieutt/software_development_department

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for event-sourcing-architect

README.md
[![agentmods](https://agentmods.dev/badge/skills/tranhieutt/software_development_department/event-sourcing-architect/github.svg)](https://agentmods.dev/skills/tranhieutt/software_development_department/event-sourcing-architect)
Your own site
<a href="https://agentmods.dev/skills/tranhieutt/software_development_department/event-sourcing-architect"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/event-sourcing-architect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for event-sourcing-architect

Your own site · 80×15
<a href="https://agentmods.dev/skills/tranhieutt/software_development_department/event-sourcing-architect"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/event-sourcing-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 593 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.00593
Opus 5.5 $0.00020 $0.00237
Sonnet 5.5 $0.00010 $0.00119
Haiku 4.5 $0.00005 $0.00059

Measured 2mo ago against content hash c784bef4b3af, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

event-sourcing-architect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/event-sourcing-architect/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Event Sourcing Architect

Expert in event sourcing, CQRS, and event-driven architecture patterns. Masters event store design, projection building, saga orchestration, and eventual consistency patterns. Use PROACTIVELY for event-sourced systems, audit trail requirements, or complex domain modeling with temporal queries.

Capabilities

  • Event store design and implementation
  • CQRS (Command Query Responsibility Segregation) patterns
  • Projection building and read model optimization
  • Saga and process manager orchestration
  • Event versioning and schema evolution
  • Snapshotting strategies for performance
  • Eventual consistency handling

Use this skill when

  • Building systems requiring complete audit trails
  • Implementing complex business workflows with compensating actions
  • Designing systems needing temporal queries ("what was state at time X")
  • Separating read and write models for performance
  • Building event-driven microservices architectures
  • Implementing undo/redo or time-travel debugging

Do not use this skill when

  • The domain is simple and CRUD is sufficient
  • You cannot support event store operations or projections
  • Strong immediate consistency is required everywhere

Instructions

  1. Identify aggregate boundaries and event streams
  2. Design events as immutable facts
  3. Implement command handlers and event application
  4. Build projections for query requirements
  5. Design saga/process managers for cross-aggregate workflows
  6. Implement snapshotting for long-lived aggregates
  7. Set up event versioning strategy

Safety

  • Never mutate or delete committed events in production.
  • Rebuild projections in staging before running in production.

Best Practices

  • Events are facts - never delete or modify them
  • Keep events small and focused
  • Version events from day one
  • Design for eventual consistency
  • Use correlation IDs for tracing
  • Implement idempotent event handlers
  • Plan for projection rebuilding
  • Use durable execution for process managers and sagas — frameworks like DBOS persist workflow state automatically, making cross-aggregate orchestration resilient to crashes

Read the full file on GitHub · 73 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 73 lines · 51 tokens per session scan A c784bef4b3af

Subscribe to this mod's changes

event-sourcing-architect is a skill published in the GitHub repository tranhieutt/software_development_department (75 stars, last pushed 6mo ago), licensed MIT. It adds 51 tokens to every session and 593 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

event-sourcing-architect compared with skills from other repositories

event-sourcing-architect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
event-sourcing-architecttranhieutt/software_development_departmentSkill756mo agoMITA51Claude Code
event-store-designrmyndharis/antigravity-skillsSkill2.2k24d agoMITA33Claude Code, Codex
phoenix-contextsoliver-kriska/claude-elixir-phoenixSkill579yesterdayMITA46Claude Code
event-sourcing-architectrmyndharis/antigravity-skillsSkill2.2k24d agoMITA51Claude Code, Codex
convex-realtimewaynesutton/convexskillsSkill40517d agoApache-2.0A28Claude Code, Codex
cqrs-implementationrmyndharis/antigravity-skillsSkill2.2k24d agoMITA35Claude Code, Codex
convex-best-practiceswaynesutton/convexskillsSkill40517d agoApache-2.0A40Claude Code, Codex