dojo-model
CommunityDefine Starknet game state with Dojo models.
AuthorAwait-0x
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the creation of robust and efficient data structures for Starknet games using the Dojo engine, ensuring proper Entity-Component-System (ECS) patterns are followed.
Core Features & Use Cases
- Model Generation: Creates Cairo structs annotated with
#[dojo::model]for game state. - Key Definition: Automatically handles
#[key]field configuration for unique entity identification. - Trait Derivations: Includes necessary traits like
DropandSerdefor on-chain compatibility. - Use Case: When developing a new feature for your Starknet game, use this skill to quickly define a model for player inventory, including unique keys and relevant data fields.
Quick Start
Use the dojo-model skill to create a Position model with player as the key and x, y coordinates as data fields.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dojo-model Download link: https://github.com/Await-0x/stark-tycoon/archive/main.zip#dojo-model Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.