agentic-os
Build persistent multi-agent systems without external databases, using file-based memory and scheduled tasks.
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
CQRS and Event Sourcing for Spring Boot 4.x - command and query handlers, read models updated from domain events, transactional outbox with Apache Kafka or in-process events with Spring Modulith, an append-only PostgreSQL event store with aggregates rebuilt from events, upcasting and rebuildable projections, or Axon Framework, as separate command and query services or a single service. Use when the architecture block in the project's CLAUDE.md or AGENTS.md names the cqrs or cqrs-event-sourcing style, or when the user asks for CQRS, Event Sourcing, an event store, an outbox, projections or read models.
CQRS for Spring Boot 4.x: the write side and the read side are separate models, and the read side is updated from domain events. With Event Sourcing the write side stores those events instead of the current state.
Load this skill only when the architecture decision (conventions skill, "Architecture Decision") is not layered CRUD:
CLAUDE.md (AGENTS.md in Codex and OpenCode) has style: cqrs or style: cqrs-event-sourcing in its ## Architecture block.A project without the block is layered CRUD: do not apply this skill to it, and do not start the dialog here. The dialog and the block belong to conventions.
| Style | Status |
|---|---|
| Layered CRUD | Default; this skill does not apply |
| CQRS (no event sourcing) | Supported: references/cqrs.md |
| CQRS + Event Sourcing (PostgreSQL event store) | Supported: references/event-sourcing.md |
| CQRS + Event Sourcing (Axon Framework) | Supported as a procedure: references/axon.md. The code comes from the Axon reference of the version selected for the project |
CQRS or Event Sourcing for an API built for a UI (spring-boot skill, references/ui-contract.md) | Not yet supported |
For a style that is not yet supported, say so and stop. Do not approximate it with another style, and never use Kafka as an event store.
style, scope, topology, transport, read-store and, for Event Sourcing, event-store from the architecture block. Aggregates outside scope stay layered CRUD.references/topology.md.references/cqrs.md).version.references/kafka.md), or the Spring Modulith event publication registry for in-process events (references/cqrs.md).references/testing.md; run ./mvnw clean verify and confirm the integration tests ran.With style: cqrs-event-sourcing, steps 3 to 6 follow references/event-sourcing.md: event store and migration, events, a plain aggregate that returns events, handlers that load, decide and append, then projections with a checkpoint. With event-store: axon, follow references/axon.md from its first step, before any code.
| Topic | Reference | When to Load |
|---|---|---|
| Topology | references/topology.md | Always: modules, packages, databases, Compose, deployment, CI |
| CQRS rules | references/cqrs.md | Always: commands, queries, handlers, read models; for style: cqrs also events, projections, in-process events; review signals |
| Event Sourcing | references/event-sourcing.md | style: cqrs-event-sourcing: event store, events and upcasting, aggregates, handlers, projections with checkpoints, snapshots, personal data, review signals |
| Axon Framework | references/axon.md | event-store: axon: version selection, event store question, what Axon replaces, what still applies |
| Kafka | references/kafka.md | transport: kafka: outbox, relay, topics, consumers, dead-letter topic; relay from the event store for Event Sourcing |
| Testing | references/testing.md | Always: handler, outbox, projection and end-to-end tests; aggregate, event store and upcaster tests for Event Sourcing |
@Version and 409 on a stale version (jpa-patterns skill, Optimistic Locking); every event carries the aggregate id, the aggregate's version and its state after the change<Resource>Response records in a PagedModel, with the version a client sends back on an updateconventions skill that the architecture decision does not replacequery or projection code depend on command code or on the write-side entitiesPage or a read model from a command endpointBuild persistent multi-agent systems without external databases, using file-based memory and scheduled tasks.
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
GAgarrytan/gstack143k598 new stars in the last 7 days
ADaddyosmani/agent-skills122k1,667 new stars in the last 7 days
THthedotmack/claude-mem121k1,626 new stars in the last 7 days
THthedotmack/claude-mem121k1,626 new stars in the last 7 days
THthedotmack/claude-mem121k1,626 new stars in the last 7 days