claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops;…
Applies CQRS and Event Sourcing for read/write separation and audit trails. Use when designing systems with complex domain logic or full state-change history.
Claude Code
$ npx -y skills add athola/claude-night-market --skill architecture-paradigm-cqrs-es --agent claude-code
Codex
$ npx skills add athola/claude-night-market --skill architecture-paradigm-cqrs-es -a codex -y
Cursor
$ npx skills add athola/claude-night-market --skill architecture-paradigm-cqrs-es -a cursor -y
Gemini CLI
$ npx skills add athola/claude-night-market --skill architecture-paradigm-cqrs-es -a gemini-cli -y
GitHub Copilot
$ npx skills add athola/claude-night-market --skill architecture-paradigm-cqrs-es -a github-copilot -y
OpenCode
$ npx skills add athola/claude-night-market --skill architecture-paradigm-cqrs-es -a opencode -y
Windsurf
$ npx skills add athola/claude-night-market --skill architecture-paradigm-cqrs-es -a windsurf -y
name: architecture-paradigm-cqrs-es description: Applies CQRS and Event Sourcing for read/write separation and audit trails. Use when designing systems with complex domain logic or full state-change history. alwaysApply: false category: architectural-pattern tags: - architecture - CQRS - Event-Sourcing - distributed-systems - audit-trail - scalability dependencies: [] tools: [] usage_patterns: - paradigm-implementation - distributed-system-design - auditability - scalability-optimization complexity: high estimated_tokens: 800
1. **Identify Aggregates**: Following Domain-Driven Design principles, specify the bounded contexts and the business invariants that each command must enforce on an aggregate. 2. **Model Commands and Events**: Define the schemas and validation rules for all commands and the events they produce. Document a clear strategy for versioning and schema evolution. 3. **Implement the Write Side (Command Side)**: Command handlers are responsible for loading an aggregate's event stream, executing business logic, and atomically appending new events to the stream. 4. **Build Projections to the Read Side**: Create separate read models (projections) that are fed by subscriptions to the event stream. Implement back-pressure and retry policies for these subscriptions. 5. **validate Full Observability**: Implement detailed logging that includes event IDs, sequence numbers, and metrics for tracking the lag time of each projection.
Vocabulary for the tools and abstractions an implementation of this paradigm tends to carry. Not dependencies, and not ``tools:`` frontmatter.
strategy, and the eventual-consistency SLA for each read model.
is wired.
prevents emission of event versions not registered in that policy.
before the write-side is declared production-ready.
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops;…
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use…
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily…
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use…
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled…
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.