/software-design:j5ik2o-pekko-cqrs-es-implementationfrom software-design
Guides implementation of CQRS/Event Sourcing with Scala 3 and Apache Pekko, covering aggregate actors, event design, Protocol Buffers serialization, ZIO use cases, and read-model updaters.
Ships in software-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill only when the implementation stack is Scala 3 plus Apache Pekko and the architecture is CQRS/Event Sourcing.
Confirm the aggregate, commands, events, state lifecycle, and serialization requirements.
Keep the domain model separate from the Pekko actor shell.
Model command handling as validation plus event emission.
Apply events through pure state transition functions.
Define Protocol Buffers schemas and evolution rules for persisted events.
Put use-case orchestration in ZIO/application services, not inside the aggregate actor.
Build read-model updaters as idempotent projections.
Commands should not mutate state directly.
Events are facts in past tense and must be versioned carefully.
Recovery must rebuild the same state from events.
Projection handlers must tolerate retries and duplicates.
Serialization compatibility is part of the public contract.
For non-trivial implementation, review, or refactoring work, read references/details.md before giving final guidance. It contains the detailed rules, examples, smells, and migration notes that do not belong in the short invocation body.
Return aggregate actor structure, domain model APIs, command/event/state definitions, serialization notes, and projection flow.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cqrs, event-sourcing, pekko, scala3, aggregate-actors, read-model
npx claudepluginhub j5ik2o/ai-tools --plugin software-design29 skills in this plugin
/j5ik2o-breach-encapsulation-namingUse when designing or reviewing domain-model accessors that expose internal state for persistence, serialization, tests, or framework integration. Applies the breachEncapsulationOf naming pattern so unavoidable getters are visibly treated as encapsulation breaches, not casual domain APIs. Trigger for getter naming conventions, persistence-only getters, serialization accessors, Tell Don't Ask pressure, or requests to prevent getter misuse./j5ik2o-clean-architectureUse only when the user explicitly asks for Clean Architecture design, implementation, or review. Applies a domain, use case, interface adapter, and infrastructure layer model, with persistence and RPC adapters outside the domain and use-case rules. Do not trigger for generic architecture advice, hexagonal architecture, onion architecture, or ordinary design review unless Clean Architecture is named./j5ik2o-cqrs-aggregate-modelingUse when CQRS changes aggregate boundaries or state shape. Helps reduce oversized command aggregates by moving read concerns to read models, keeping only command-decision state in aggregates, and using events for state transitions. Trigger for large aggregates, heavy command updates, aggregates containing query-only data, or boundary redesign during CQRS adoption.Other plugins' skills for the same job