What problem does it solve?
This Skill removes the friction of hand-crafting Dojo/Cairo system contracts by providing clear patterns and templates to implement game logic, model access, event emission, and caller authorization so teams can iterate faster and reduce subtle on-chain bugs.
Core Features & Use Cases
- System scaffolding: Generate Dojo contract skeletons with interface traits and #[dojo::contract] implementations ready for world access.
- Model I/O and events: Read and write models using ModelStorage/ModelValueStorage, emit structured events using EventStorage, and generate helper functions for world namespaces.
- Common game systems: Produce movement, combat, inventory, and spawn systems that validate input, update models, and emit events; include guidance on permissions and writer configuration.
- Developer guidance: Includes recommended imports, patterns for self.world_default(), caller retrieval, UUID generation, and suggestions for testing and deployment.
Quick Start
Create a Dojo system that updates a player's Position, validates available moves, writes updated models, and emits a Moved event.