event-driven
Skill1.5k starsChanged 26 days agoApache-2.0View on GitHub
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.
8 other projects use a version of this.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- TheBeardedBearSAS/claude-crafttheir own version, first seen Nov 22, 2026
- Weaxs/stock-analysis-plugintheir own version, first seen Nov 15, 2026
- G1Joshi/Agent-Skillstheir own version, first seen Oct 13, 2026
- kid-sid/claude-spellbooktheir own version, first seen Oct 9, 2026
- Bappoz/My-Claude-Skillstheir own version, first seen Jul 15, 2026
- vndee/engineering-skillstheir own version, first seen Mar 22, 2026
Who's talking about piomin/claude-ai-spring-boot
- Arylmera/Geneseed“Upstream drift [piomin-spring-boot]”GitHub · Nov 30, 2026
- sudosubin/agents.nix“codex-plugins.github.piomin.claude-ai-spring-boot: 1.3.1 → 1.3.2”GitHub · Nov 22, 2026
- sudosubin/agents.nix“claude-code-plugins.github.piomin.claude-ai-spring-boot: 1.3.1 → 1.3.2”GitHub · Nov 21, 2026
- sudosubin/agents.nix“agent-skills.github.piomin.claude-ai-spring-boot: 1.3.1 → 1.3.2”GitHub · Nov 21, 2026
- sudosubin/agents.nix“claude-code-marketplaces.github.piomin.claude-ai-spring-boot: 1.3.1 → 1.3.2”GitHub · Nov 21, 2026
The biggest 5 of 37 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 37
Talked about on GitHub (37 times).
On GitHub · 37
- Nov 30, 2026Upstream drift [piomin-spring-boot] — Arylmera/Geneseed0 reactions
- Nov 22, 2026codex-plugins.github.piomin.claude-ai-spring-boot: 1.3.1 → 1.3.2 — sudosubin/agents.nix0 reactions
- Nov 21, 2026claude-code-plugins.github.piomin.claude-ai-spring-boot: 1.3.1 → 1.3.2 — sudosubin/agents.nix0 reactions
- Nov 21, 2026agent-skills.github.piomin.claude-ai-spring-boot: 1.3.1 → 1.3.2 — sudosubin/agents.nix0 reactions
- Nov 21, 2026claude-code-marketplaces.github.piomin.claude-ai-spring-boot: 1.3.1 → 1.3.2 — sudosubin/agents.nix0 reactions
32 more on GitHub
- Nov 21, 2026codex-marketplaces.github.piomin.claude-ai-spring-boot: 1.3.1 → 1.3.2 — sudosubin/agents.nix0 reactions
- Nov 17, 2026claude-code-plugins.github.piomin.claude-ai-spring-boot: 1.3.0 → 1.3.1 — sudosubin/agents.nix0 reactions
- Nov 17, 2026agent-skills.github.piomin.claude-ai-spring-boot: 1.3.0 → 1.3.1 — sudosubin/agents.nix0 reactions
- Nov 17, 2026claude-code-marketplaces.github.piomin.claude-ai-spring-boot: 1.3.0 → 1.3.1 — sudosubin/agents.nix0 reactions
- Nov 17, 2026codex-marketplaces.github.piomin.claude-ai-spring-boot: 1.3.0 → 1.3.1 — sudosubin/agents.nix0 reactions
- Nov 17, 2026codex-plugins.github.piomin.claude-ai-spring-boot: 1.3.0 → 1.3.1 — sudosubin/agents.nix0 reactions
- Nov 16, 2026Upstream drift [piomin-spring-boot] — Arylmera/Geneseed0 reactions
- Nov 16, 2026claude-code-marketplaces.github.piomin.claude-ai-spring-boot: 1.2.1 → 1.3.0 — sudosubin/agents.nix0 reactions
- Nov 16, 2026codex-marketplaces.github.piomin.claude-ai-spring-boot: 1.2.1 → 1.3.0 — sudosubin/agents.nix0 reactions
- Nov 16, 2026codex-plugins.github.piomin.claude-ai-spring-boot: 1.2.1 → 1.3.0 — sudosubin/agents.nix0 reactions
- Nov 15, 2026claude-code-plugins.github.piomin.claude-ai-spring-boot: 1.2.1 → 1.3.0 — sudosubin/agents.nix0 reactions
- Nov 15, 2026agent-skills.github.piomin.claude-ai-spring-boot: 1.2.1 → 1.3.0 — sudosubin/agents.nix0 reactions
- Nov 8, 2026codex-plugins.github.piomin.claude-ai-spring-boot: init at 1.2.1 — sudosubin/agents.nix0 reactions
- Nov 8, 2026codex-marketplaces.github.piomin.claude-ai-spring-boot: init at 1.2.1 — sudosubin/agents.nix0 reactions
- Nov 8, 2026claude-code-plugins.github.piomin.claude-ai-spring-boot: 1.2.0 → 1.2.1 — sudosubin/agents.nix0 reactions
- Nov 8, 2026claude-code-marketplaces.github.piomin.claude-ai-spring-boot: 1.2.0 → 1.2.1 — sudosubin/agents.nix0 reactions
- Nov 8, 2026agent-skills.github.piomin.claude-ai-spring-boot: 1.2.0 → 1.2.1 — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-plugins.github.piomin.claude-ai-spring-boot: 0-unstable-2026-10-28 → 1.2.0 — sudosubin/agents.nix0 reactions
- Oct 30, 2026agent-skills.github.piomin.claude-ai-spring-boot: 0-unstable-2026-10-27 → 1.2.0 — sudosubin/agents.nix0 reactions
- Oct 30, 2026claude-code-marketplaces.github.piomin.claude-ai-spring-boot: 0-unstable-2026-10-28 → 1.2.0 — sudosubin/agents.nix0 reactions
- Oct 29, 2026agent-skills.github.piomin.claude-ai-spring-boot: 9f16f8d → 1f0e36f — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-plugins.github.piomin.claude-ai-spring-boot: init at 0-unstable-2026-10-28 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-marketplaces.github.piomin.claude-ai-spring-boot: 0-unstable-2026-10-27 → 0-unstable-2026-10-28 — sudosubin/agents.nix0 reactions
- Oct 28, 2026claude-code-marketplaces.github.piomin.claude-ai-spring-boot: init at 0-unstable-2026-10-27 — sudosubin/agents.nix0 reactions
- Oct 27, 2026agent-skills.github.piomin.claude-ai-spring-boot: 0-unstable-2026-10-18 → 0-unstable-2026-10-27 — sudosubin/agents.nix0 reactions
- Oct 27, 2026Retrospective: align the plugin with spring-person-api-claude 3.4.3 and crud-ui-blueprint 1.2.3 — mmartofel/claude-ai-spring-boot0 reactions · 4 comments
- Oct 18, 2026agent-skills.github.piomin.claude-ai-spring-boot: 0d23826 → cf876a1 — sudosubin/agents.nix0 reactions
- Oct 18, 2026agent-skills.github.piomin.claude-ai-spring-boot: 0-unstable-2026-10-16 → 0-unstable-2026-10-18 — sudosubin/agents.nix0 reactions
- Oct 16, 2026agent-skills.github.piomin.claude-ai-spring-boot: 0-unstable-2026-04-27 → 0-unstable-2026-10-16 — sudosubin/agents.nix0 reactions
- Oct 1, 2026agent-skills.github.piomin.claude-ai-spring-boot: init at 0-unstable-2026-04-27 — sudosubin/agents.nix0 reactions
- Mar 29, 2026Create workspace-template SKILL.md with wizard flow — riccardomerolla/llm4zio0 reactions · 1 comment
- Mar 21, 2026feat: support GitHub tree URLs in GitInstaller — neovateai/neovate-desktop0 reactions · 1 comment
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- kid-sid/claude-spellbook★ 190same name
- TheBeardedBearSAS/claude-craft★ 109same name
- Weaxs/stock-analysis-plugin★ 105same name
- brainbytes-dev/everything-claude-trading★ 16same name
- G1Joshi/Agent-Skills★ 15same name
- vndee/engineering-skills★ 3same name
- ffsshhttiikk/opencode-agents-skills★ 2same name
- Bappoz/My-Claude-Skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- code-qualitySkill
- conventionsSkill
- design-patternsSkill
- java-modernSkill
- jpa-patternsSkill
- logging-patternsSkill
- review-triageSkill
- spring-bootSkill
- testing-patternsSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 45
Read side: - read-model table and migration, projection, query records, one handler per query, query controller.
- Very specific: line 73
All rules of the conventions skill that the architecture decision does not replace
- Distinctive: line 81
Update or delete a row of the event store
- Distinctive: line 82
Put personal data into an event payload without an erasure strategy documented in the README
- Distinctive: line 83
Add snapshots without a measured load problem
- Distinctive: line 84
Update a read model in the command's transaction
- Distinctive: line 85
Use Kafka as the source of truth: the write database is, and the topic only replays events for projections
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Event-Driven Skill
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.
When to Use
Load this skill only when the architecture decision (conventions skill, "Architecture Decision") is not layered CRUD:
- The project's
CLAUDE.md(AGENTS.mdin Codex and OpenCode) hasstyle: cqrsorstyle: cqrs-event-sourcingin its## Architectureblock. - The user asks for CQRS, Event Sourcing, an event store, a transactional outbox, projections or read models.
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.
What Is Supported
| 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.
Core Workflow
- Read the decision -
style,scope,topology,transport,read-storeand, for Event Sourcing,event-storefrom the architecture block. Aggregates outsidescopestay layered CRUD. - Lay out the project - modules or packages from
references/topology.md. - Write side - entity, migration, command records, one handler per command, command controller (
references/cqrs.md). - Events - one sealed interface per aggregate, records that carry the new state and the
version. - Transport - the outbox and its relay for Kafka (
references/kafka.md), or the Spring Modulith event publication registry for in-process events (references/cqrs.md). - Read side - read-model table and migration, projection, query records, one handler per query, query controller.
- Test -
references/testing.md; run./mvnw clean verifyand confirm the integration tests ran. - Tell the user what eventual consistency means for their API: a query right after a command may return the old state.
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.
Reference Guide
| 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 |
Constraints
MUST DO
- Commands and queries are records; one handler class per command or query
- Events are immutable records under one sealed interface per aggregate, named in the past tense
- CQRS: the write side keeps JPA,
@Versionand 409 on a staleversion(jpa-patternsskill, Optimistic Locking); every event carries the aggregate id, the aggregate'sversionand its state after the change - Event Sourcing: aggregates have no JPA mapping, are rebuilt from their events, and return new events from a command; a version conflict on append is 409
- Projections are idempotent: by the event's version (CQRS) or by a checkpoint moved in the read model's transaction (Event Sourcing), and they can be rebuilt
- With Kafka, events leave the write side only through the transactional outbox, or through the relay of the event store
- Query endpoints return
<Resource>Responserecords in aPagedModel, with theversiona client sends back on an update - Flyway owns every table, including the outbox, the event store and the Spring Modulith event publication table
- All rules of the
conventionsskill that the architecture decision does not replace
MUST NOT DO
- Publish to Kafka from a command handler, a controller or any class other than the relay
- Let
queryorprojectioncode depend oncommandcode or on the write-side entities - Let the query service call the command service, or depend on its module
- Return a JPA entity, a
Pageor a read model from a command endpoint - Change or remove a field of an event that is already published; Event Sourcing evolves events with a new type and an upcaster
- Update or delete a row of the event store
- Put personal data into an event payload without an erasure strategy documented in the README
- Add snapshots without a measured load problem
- Update a read model in the command's transaction
- Use Kafka as the source of truth: the write database is, and the topic only replays events for projections
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

