·dojo-model
</>

dojo-model

dojoengine/book

Create Dojo models for storing game state with proper key definitions, trait derivations, and ECS patterns. Use when defining game entities, components, or state structures.

11Installs·1Trend·@dojoengine

Installation

$npx skills add https://github.com/dojoengine/book --skill dojo-model

SKILL.md

Create Dojo models that define your game's state using Entity Component System (ECS) patterns.

Models are Cairo structs annotated with #[dojo::model]. They act as a key-value store where #[key] fields define the lookup key.

Custom nested structs must derive Introspect for Dojo to understand their structure.

Create Dojo models for storing game state with proper key definitions, trait derivations, and ECS patterns. Use when defining game entities, components, or state structures. Source: dojoengine/book.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/dojoengine/book --skill dojo-model
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is dojo-model?

Create Dojo models for storing game state with proper key definitions, trait derivations, and ECS patterns. Use when defining game entities, components, or state structures. Source: dojoengine/book.

How do I install dojo-model?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/dojoengine/book --skill dojo-model Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/dojoengine/book

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-02-01