Rust contract domain modeling

From axone-protocol/contracts · View interactive version

Rust contract domain modeling is an AI agent skill from the GitHub repository 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.

How to use this skill

Skill file

Rust Contract Domain Modeling

Goal

Keep business invariants in explicit domain types instead of scattering them across handlers, query builders, or storage code.

Boundary Rules

Domain Rules

Patterns From This Repository

Design Heuristics

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.