M09 Domain
fjrevoredo/mini-diarium
CRITICAL: Use for domain modeling. An agent skill from fjrevoredo/mini-diarium.
Domain-driven modeling patterns for Axone contracts. An agent skill from axone-protocol/contracts.
$ npx skills add axone-protocol/contracts --skill rust-contract-domain-modeling -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install axone-protocol/contracts rust-contract-domain-modeling --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/axone-protocol/contracts.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/rust-contract-domain-modeling .claude/skills/rust-contract-domain-modeling && 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 "rust-contract-domain-modeling" agent skill from https://github.com/axone-protocol/contracts/tree/main/.agents/skills/rust-contract-domain-modeling into .claude/skills/rust-contract-domain-modeling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rust-contract-domain-modeling", 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/axone-protocol/contracts/tree/main/.agents/skills/rust-contract-domain-modelingType 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 axone-protocol/contracts --skill rust-contract-domain-modeling -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install axone-protocol/contracts rust-contract-domain-modeling --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/axone-protocol/contracts.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/rust-contract-domain-modeling .agents/skills/rust-contract-domain-modeling && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "rust-contract-domain-modeling" agent skill from https://github.com/axone-protocol/contracts/tree/main/.agents/skills/rust-contract-domain-modeling into .agents/skills/rust-contract-domain-modeling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rust-contract-domain-modeling", 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 axone-protocol/contracts --skill rust-contract-domain-modeling -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install axone-protocol/contracts rust-contract-domain-modeling --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/axone-protocol/contracts.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/rust-contract-domain-modeling .cursor/skills/rust-contract-domain-modeling && 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 "rust-contract-domain-modeling" agent skill from https://github.com/axone-protocol/contracts/tree/main/.agents/skills/rust-contract-domain-modeling into .cursor/skills/rust-contract-domain-modeling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rust-contract-domain-modeling", 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/axone-protocol/contracts.git --path .agents/skills/rust-contract-domain-modeling--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 axone-protocol/contracts --skill rust-contract-domain-modeling -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install axone-protocol/contracts rust-contract-domain-modeling --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/axone-protocol/contracts.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/rust-contract-domain-modeling .gemini/skills/rust-contract-domain-modeling && 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 "rust-contract-domain-modeling" agent skill from https://github.com/axone-protocol/contracts/tree/main/.agents/skills/rust-contract-domain-modeling into .gemini/skills/rust-contract-domain-modeling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rust-contract-domain-modeling", 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 axone-protocol/contracts rust-contract-domain-modelingInstalls 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 axone-protocol/contracts --skill rust-contract-domain-modeling -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/axone-protocol/contracts.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/rust-contract-domain-modeling .github/skills/rust-contract-domain-modeling && 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 "rust-contract-domain-modeling" agent skill from https://github.com/axone-protocol/contracts/tree/main/.agents/skills/rust-contract-domain-modeling into .github/skills/rust-contract-domain-modeling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rust-contract-domain-modeling", 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 axone-protocol/contracts --skill rust-contract-domain-modeling -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install axone-protocol/contracts rust-contract-domain-modeling --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/axone-protocol/contracts.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/rust-contract-domain-modeling .opencode/skills/rust-contract-domain-modeling && 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 "rust-contract-domain-modeling" agent skill from https://github.com/axone-protocol/contracts/tree/main/.agents/skills/rust-contract-domain-modeling into .opencode/skills/rust-contract-domain-modeling/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "rust-contract-domain-modeling", 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.
rust-contract-domain-modelingDomain-driven modeling patterns for Axone contracts. An agent skill from axone-protocol/contracts.
Rust Contract Domain Modeling is an agent skill from axone-protocol/contracts. Domain-driven modeling patterns for Axone contracts. Use when introducing domain concepts, encoding invariants, or deciding boundaries between domain, handlers, services, gateways, queries, and state.
Its SKILL.md is about 680 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/repo-patterns.md`).
It sits in Development, covering Domain-driven design. It works with Rust. The repository describes itself as: 📜 Smart contracts for the Axone protocol. The licence is BSD-3-Clause.
Read from SKILL.md and the folder at commit 02724f3. 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.
Rust Contract Domain Modeling loads about 678 tokens when it runs, and up to ~1.1k if it reads all its reference files. Until then it costs about 58 tokens; SKILL.md has 305 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 axone-protocol/contracts at commit 02724f3, republished under its BSD-3-Clause licence (© axone-protocol). 305 words, ~678 tokens.
.claude/skills/rust-contract-domain-modeling/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Keep business invariants in explicit domain types instead of scattering them across handlers, query builders, or storage code.
domain/ owns business concepts and invariants.handlers/ decode messages, orchestrate use cases, and shape responses.services/ compose domain logic with environment-dependent enrichment or cross-module coordination.gateway/ isolates external module interaction and protocol-specific I/O.queries/ build external query payloads or request strings; they should not become the home of business rules.state/ persists data and reconstructs domain values; it should not silently redefine domain invariants.new or try_new that reject invalid states up front.TryFrom when validating a parsed or transport-level representation into a domain type.from_state.Case::new and TryFrom<Term> validate that a case is a ground Prolog dict before it can circulate as a domain object.Constitution::try_new validates UTF-8, required predicates, and engine feedback before a constitution exists as a valid domain value.Constitution::from_state reconstructs a previously validated value from storage without re-running external validation.Decision::new captures an immutable decision snapshot from already validated inputs.Authority::new canonicalizes a bech32 account into the DID form exposed by the contract.© axone-protocol, BSD-3-Clause. 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 1 other file (references) in .agents/skills/rust-contract-domain-modeling of axone-protocol/contracts.
Open the folder on GitHubat commit 02724f3
Rust Contract Domain Modeling 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 |
|---|---|---|---|---|---|---|
| Rust Contract Domain Modeling this skillaxone-protocol/contracts | 123 | — | ~678 | Automated safety check: Pass | BSD-3-Clause | |
| M09 Domainfjrevoredo/mini-diarium | 308 | 1 repos | ~1k | Automated safety check: Pass | MIT | |
| Build Teaql Appteaql/teaql-agent-kit | 2.8k | — | ~4.6k | Automated safety check: Pass | MIT | |
| Evolutionary Modular Architecturetech-leads-club/agent-skills | 7k | — | ~3.7k | Automated safety check: Pass | CC-BY-4.0 | |
| Migration PathAxonIQ/AxonFramework | 3.6k | — | ~594 | Automated safety check: Pass | Apache-2.0 | |
| Windmill Rust Backend Patternswindmill-labs/windmill | 18k | — | ~869 | Automated safety check: Pass | Custom licence |
fjrevoredo/mini-diarium
CRITICAL: Use for domain modeling. An agent skill from fjrevoredo/mini-diarium.
teaql/teaql-agent-kit
Build or change a TeaQL application in Java, Rust, Go, Swift, Python, C/.NET, or TypeScript, including Kotlin/JVM applications that consume Java-generated libraries.
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.
AxonIQ/AxonFramework
Create a new Axon Framework 4→5 migration path documentation page.
windmill-labs/windmill
Sets Rust conventions for the Windmill backend: error types, SQLx queries, JSON handling, async rules, module layout and rust-analyzer navigation.
JMBeresford/retrom
Comprehensive Rust coding guidelines with 265 rules across 26 categories.
axone-protocol/contracts
Guide for writing conventional commit messages. An agent skill from axone-protocol/contracts.
axone-protocol/contracts
Patterns for Rust testing in Axone CosmWasm contracts. An agent skill from axone-protocol/contracts.
axone-protocol/contracts
Repository quality gates for Rust and generated artifacts. An agent skill from axone-protocol/contracts.
axone-protocol/contracts
Best practices for designing CosmWasm smart contract APIs. An agent skill from axone-protocol/contracts.
axone-protocol/contracts
Guide for writing Rust doc comments that produce accurate generated contract documentation.
axone-protocol/contracts
Axone contract structure and Abstract SDK patterns. An agent skill from axone-protocol/contracts.
Works with
Categories
Domain-driven modeling patterns for Axone contracts. An agent skill from axone-protocol/contracts. Rust Contract Domain Modeling is an agent skill from axone-protocol/contracts. Domain-driven modeling patterns for Axone contracts.
Rust Contract Domain Modeling fits situations like: introducing domain concepts; encoding invariants; deciding boundaries between domain.
Run `npx skills add axone-protocol/contracts --skill rust-contract-domain-modeling -a claude-code`. Or copy the skill folder (.agents/skills/rust-contract-domain-modeling in axone-protocol/contracts) into .claude/skills/rust-contract-domain-modeling in your project. Claude Code loads it when a task matches its description.
Run `npx skills add axone-protocol/contracts --skill rust-contract-domain-modeling -a codex`. Or copy the skill folder (.agents/skills/rust-contract-domain-modeling in axone-protocol/contracts) into .agents/skills/rust-contract-domain-modeling 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 axone-protocol/contracts --skill rust-contract-domain-modeling -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rust-contract-domain-modeling, .gemini/skills/rust-contract-domain-modeling, .github/skills/rust-contract-domain-modeling and .opencode/skills/rust-contract-domain-modeling in your project.
SKILL.md names no scripts, command-line tools or credentials: Rust Contract Domain Modeling 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.
Rust Contract Domain Modeling is published under the BSD-3-Clause licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 678 tokens (SKILL.md is roughly 2.7k 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 469 tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Rust Contract Domain Modeling: M09 Domain (fjrevoredo/mini-diarium, 308 stars), Build Teaql App (teaql/teaql-agent-kit, 2.8k stars), Evolutionary Modular Architecture (tech-leads-club/agent-skills, 7k stars) and Migration Path (AxonIQ/AxonFramework, 3.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
axone-protocol (a GitHub organization) maintains it in axone-protocol/contracts, which has 123 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on September 25, 2026.
Source: axone-protocol/contracts on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.