NestJS Modular Monolith Architect
tech-leads-club/agent-skills
Designs scalable NestJS modular monoliths with domain-driven design, Clean Architecture layers and optional CQRS, defining bounded contexts and strict module boundaries.
Explain and reason about Dynamic Consistency Boundaries (DCB) and how Axon Framework 5 and Axon Server implement them.
$ npx skills add AxonIQ/AxonFramework --skill dynamic-consistency-boundaries -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install AxonIQ/AxonFramework dynamic-consistency-boundaries --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/AxonIQ/AxonFramework.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/dynamic-consistency-boundaries .claude/skills/dynamic-consistency-boundaries && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "dynamic-consistency-boundaries" agent skill from https://github.com/AxonIQ/AxonFramework/tree/main/.claude/skills/dynamic-consistency-boundaries into .claude/skills/dynamic-consistency-boundaries/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dynamic-consistency-boundaries", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/AxonIQ/AxonFramework/tree/main/.claude/skills/dynamic-consistency-boundariesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add AxonIQ/AxonFramework --skill dynamic-consistency-boundaries -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install AxonIQ/AxonFramework dynamic-consistency-boundaries --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AxonIQ/AxonFramework.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/dynamic-consistency-boundaries .agents/skills/dynamic-consistency-boundaries && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "dynamic-consistency-boundaries" agent skill from https://github.com/AxonIQ/AxonFramework/tree/main/.claude/skills/dynamic-consistency-boundaries into .agents/skills/dynamic-consistency-boundaries/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dynamic-consistency-boundaries", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add AxonIQ/AxonFramework --skill dynamic-consistency-boundaries -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install AxonIQ/AxonFramework dynamic-consistency-boundaries --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AxonIQ/AxonFramework.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/dynamic-consistency-boundaries .cursor/skills/dynamic-consistency-boundaries && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "dynamic-consistency-boundaries" agent skill from https://github.com/AxonIQ/AxonFramework/tree/main/.claude/skills/dynamic-consistency-boundaries into .cursor/skills/dynamic-consistency-boundaries/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dynamic-consistency-boundaries", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/AxonIQ/AxonFramework.git --path .claude/skills/dynamic-consistency-boundaries--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add AxonIQ/AxonFramework --skill dynamic-consistency-boundaries -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install AxonIQ/AxonFramework dynamic-consistency-boundaries --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AxonIQ/AxonFramework.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/dynamic-consistency-boundaries .gemini/skills/dynamic-consistency-boundaries && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "dynamic-consistency-boundaries" agent skill from https://github.com/AxonIQ/AxonFramework/tree/main/.claude/skills/dynamic-consistency-boundaries into .gemini/skills/dynamic-consistency-boundaries/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dynamic-consistency-boundaries", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install AxonIQ/AxonFramework dynamic-consistency-boundariesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add AxonIQ/AxonFramework --skill dynamic-consistency-boundaries -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/AxonIQ/AxonFramework.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/dynamic-consistency-boundaries .github/skills/dynamic-consistency-boundaries && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "dynamic-consistency-boundaries" agent skill from https://github.com/AxonIQ/AxonFramework/tree/main/.claude/skills/dynamic-consistency-boundaries into .github/skills/dynamic-consistency-boundaries/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dynamic-consistency-boundaries", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add AxonIQ/AxonFramework --skill dynamic-consistency-boundaries -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install AxonIQ/AxonFramework dynamic-consistency-boundaries --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AxonIQ/AxonFramework.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/dynamic-consistency-boundaries .opencode/skills/dynamic-consistency-boundaries && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "dynamic-consistency-boundaries" agent skill from https://github.com/AxonIQ/AxonFramework/tree/main/.claude/skills/dynamic-consistency-boundaries into .opencode/skills/dynamic-consistency-boundaries/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "dynamic-consistency-boundaries", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
dynamic-consistency-boundariesExplain and reason about Dynamic Consistency Boundaries (DCB) and how Axon Framework 5 and Axon Server implement them.
Dynamic Consistency Boundaries is an agent skill from AxonIQ/AxonFramework. Explain and reason about Dynamic Consistency Boundaries (DCB) and how Axon Framework 5 and Axon Server implement them. Use when the user asks about "DCB", "dynamic consistency boundary", "consistency boundary", "killing the aggregate", modeling consistency across multiple entities, "EventCriteria", "@EventCriteriaBuilder", "@EventTag", "@EventSourcedEntity", "Tag", tags vs streams, "AppendCondition", "SourcingCondition", "ConsistencyMarker", optimistic concurrency in the event store, how to choose a consistency…
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/axon-framework-api.md`, `references/axon-server-api.md` and `references/concepts.md`).
It sits in Backend & APIs, covering Event-driven systems and Domain-driven design. It works with Java. The repository describes itself as: Framework for Evolutionary Message-Driven Microservices on the JVM. The licence is Apache-2.0.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 9117e68. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Dynamic Consistency Boundaries loads about 1.9k tokens when it runs, and up to ~8.8k if it reads all its reference files. Until then it costs about 173 tokens; SKILL.md has 929 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from AxonIQ/AxonFramework at commit 9117e68, republished under its Apache-2.0 licence (© AxonIQ). 929 words, ~1,911 tokens.
.claude/skills/dynamic-consistency-boundaries/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.A reference skill for explaining DCB and mapping the concept onto Axon Framework 5 and the Axon Server DCB event store. Use it to answer "what / why / how" questions and to ground explanations in the real framework types and the public Axon Server gRPC API.
Classic event sourcing fixes the consistency boundary to the aggregate: one aggregate maps to one event stream, and that stream is the unit of optimistic locking. DCB (introduced by Sara Pellegrini, "Killing the Aggregate") moves the boundary from the stream to a set of events selected by a query. Instead of "load aggregate X, append to stream X", you "source exactly the events that matter for this decision (selected by tags and event types), decide, then append on the condition that no new matching event appeared since you read." The boundary is defined per decision, dynamically, rather than baked into the storage layout.
This skill is for explaining and designing. It is not a code generator; when a question is about concepts, prefer a clear explanation grounded in the references below over writing files.
DCB is optimistic concurrency control with a query-shaped lock:
criteria (tags + event types). The store also returns a
consistency marker -- the position of the head at read time.The criteria is both the read filter and the write conflict definition. Keep it as narrow as the invariant allows: too broad means false conflicts and contention; too narrow means a missed invariant.
| DCB concept | Axon Framework 5 | Axon Server (dcb.proto) |
|---|---|---|
| Tag (key/value classifier on an event) | Tag.of(key, value) (org.axonframework.messaging.eventstreaming.Tag); declaratively via @EventTag on event fields | Tag { bytes key; bytes value; } |
| Criterion (AND of tags, restricted to event types) | EventCriteria.havingTags(...).andBeingOneOfTypes(...) | TagsAndNamesCriterion { repeated string name; repeated Tag tag; } |
| Criteria (OR of criterions) | EventCriteria.either(...) / .or(...) | repeated Criterion |
| The DCB query for a decision model | @EventCriteriaBuilder method on an @EventSourcedEntity | criterion list in SourceEventsRequest |
| Decision model / current state | @EventSourcedEntity + @EventSourcingHandler evolve methods | (client-side fold; not a server concept) |
| Read phase | SourcingCondition -> EventStoreTransaction.source(...) | Source(SourceEventsRequest) |
| Consistency marker / head | ConsistencyMarker (e.g. GlobalIndexConsistencyMarker) | consistency_marker / GetHead |
| Append phase with conflict check | AppendCondition (marker + criteria) -> EventAppender.append(...) | Append(stream AppendEventsRequest) with ConsistencyCondition |
| Conflict rejected | append transaction rejected -> command retried | append fails the consistency condition |
examples/university-java/.Load the one that fits the question; do not read all of them up front.
references/concepts.md -- DCB theory: the problem with aggregate=stream, the three-phase
optimistic-locking model, the full glossary (global sequence, head, tag, criterion, criteria,
consistency marker), and the benefits/caveats. Sources: dcb.events and the "Dynamic Consistency
Boundaries" article.references/axon-framework-api.md -- the AF5 type map with fully-qualified names, the
annotation-based flow (@EventSourcedEntity, @EventCriteriaBuilder, @EventTag,
@InjectEntity, EventAppender), the lower-level contracts (EventCriteria, Tag,
SourcingCondition, AppendCondition, ConsistencyMarker, EventStoreTransaction,
EventStorageEngine), and how they compose.references/axon-server-api.md -- the verbatim Axon Server DCB gRPC surface (services, RPCs,
messages) and an explicit "what is possible / what is not" derived from it.references/examples.md -- worked patterns: the course-subscription invariant (full code from
the university example), plus canonical DCB.events patterns (unique username, sequential
invoice number) modeled with Axon Framework criteria.© AxonIQ, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (references) in .claude/skills/dynamic-consistency-boundaries of AxonIQ/AxonFramework.
Open the folder on GitHubat commit 9117e68
Dynamic Consistency Boundaries next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Dynamic Consistency Boundaries this skillAxonIQ/AxonFramework | 3.6k | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| NestJS Modular Monolith Architecttech-leads-club/agent-skills | 7k | — | ~3.9k | Automated safety check: Pass | CC-BY-4.0 | |
| Event Sourcingcitypaul/.dotfiles | 740 | — | ~7.8k | Automated safety check: Pass | Custom licence | |
| 123 Java Design Patternsjabrena/plinth | 447 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Evolutionary Modular Architecturetech-leads-club/agent-skills | 7k | — | ~3.7k | Automated safety check: Pass | CC-BY-4.0 | |
| Microservices ArchitectJeffallan/claude-skills | 12k | — | ~1.8k | Automated safety check: Pass | MIT |
tech-leads-club/agent-skills
Designs scalable NestJS modular monoliths with domain-driven design, Clean Architecture layers and optional CQRS, defining bounded contexts and strict module boundaries.
citypaul/.dotfiles
Event sourcing patterns for functional TypeScript — persist state as an append-only log of past events and rebuild it by folding them.
jabrena/plinth
A skill your agent uses when you need to select, review, or implement Java design and integration patterns — including classic Java design patterns, REST API patterns, Kafka and event-driven…
tech-leads-club/agent-skills
Guides design of modular-monolith platforms with DDD, flat-by-aggregate modules, anti-corruption layers, outbox events and resilience, plus an architecture document with SVG diagrams.
Jeffallan/claude-skills
Designs distributed systems: bounded-context service boundaries, sync and async communication, data ownership, resilience, tracing and rollout strategy.
microsoft/skills
Build event-driven applications with Azure Event Grid SDK for Java.
AxonIQ/AxonFramework
Create well-structured GitHub issues from any source: meeting notes, transcriptions, conversation context, informal descriptions, or direct requests.
AxonIQ/AxonFramework
Create a new Axon Framework 4→5 migration path documentation page.
Works with
Categories
Explain and reason about Dynamic Consistency Boundaries (DCB) and how Axon Framework 5 and Axon Server implement them. Dynamic Consistency Boundaries is an agent skill from AxonIQ/AxonFramework. Explain and reason about Dynamic Consistency Boundaries (DCB) and how Axon Framework 5 and Axon Server implement them.
Dynamic Consistency Boundaries fits situations like: the user asks about DCB; dynamic consistency boundary; consistency boundary; killing the aggregate.
Run `npx skills add AxonIQ/AxonFramework --skill dynamic-consistency-boundaries -a claude-code`. Or copy the skill folder (.claude/skills/dynamic-consistency-boundaries in AxonIQ/AxonFramework) into .claude/skills/dynamic-consistency-boundaries in your project. Claude Code loads it when a task matches its description.
Run `npx skills add AxonIQ/AxonFramework --skill dynamic-consistency-boundaries -a codex`. Or copy the skill folder (.claude/skills/dynamic-consistency-boundaries in AxonIQ/AxonFramework) into .agents/skills/dynamic-consistency-boundaries in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AxonIQ/AxonFramework --skill dynamic-consistency-boundaries -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dynamic-consistency-boundaries, .gemini/skills/dynamic-consistency-boundaries, .github/skills/dynamic-consistency-boundaries and .opencode/skills/dynamic-consistency-boundaries in your project.
SKILL.md names no scripts, command-line tools or credentials: Dynamic Consistency Boundaries is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Dynamic Consistency Boundaries is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.8k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Dynamic Consistency Boundaries: NestJS Modular Monolith Architect (tech-leads-club/agent-skills, 7k stars), Event Sourcing (citypaul/.dotfiles, 740 stars), 123 Java Design Patterns (jabrena/plinth, 447 stars) and Evolutionary Modular Architecture (tech-leads-club/agent-skills, 7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
AxonIQ (a GitHub organization) maintains it in AxonIQ/AxonFramework, which has 3,623 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 9, 2026.
Source: AxonIQ/AxonFramework on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.