CtrlK
BlogDocsLog inGet started
Tessl Logo

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.

Install with Tessl CLI

npx tessl i github:dojoengine/book --skill dojo-model
What are skills?

78

Does it follow best practices?

Validation for skill structure

SKILL.md
Review
Evals

Evaluation results

100%

10%

Player State Models for an On-Chain RPG

Player model with nested struct

Criteria
Without context
With context

dojo::model attribute

100%

100%

Drop trait derived

100%

100%

Serde trait derived

100%

100%

Key field present

100%

100%

Keys before data fields

100%

100%

ContractAddress key type

100%

100%

Nested struct Introspect

100%

100%

ContractAddress import

100%

100%

Introspect import

0%

100%

Nested struct not a model

100%

100%

Without context: $0.3107 · 1m 9s · 20 turns · 26 in / 3,871 out tokens

With context: $0.3815 · 1m 16s · 23 turns · 25 in / 4,142 out tokens

100%

3%

Guild Resource Tracker System

Composite key model and system read/write

Criteria
Without context
With context

Composite key fields

100%

100%

Keys before data fields

100%

100%

Drop and Serde derived

100%

100%

dojo::model attribute

100%

100%

ModelStorage import

100%

100%

World storage call

100%

100%

write_model usage

100%

100%

read_model usage

100%

100%

Tuple for composite read

100%

100%

world.uuid() usage

78%

100%

Without context: $0.2908 · 1m 7s · 17 turns · 22 in / 3,913 out tokens

With context: $0.4077 · 1m 17s · 23 turns · 277 in / 4,444 out tokens

100%

7%

Dungeon Crawler Entity System Design

ECS composition and global singleton

Criteria
Without context
With context

Enum derives Introspect

100%

100%

ECS separation

100%

100%

dojo::model on each model

100%

100%

Drop and Serde on all models

100%

100%

Key field in each model

100%

100%

Keys before data

100%

100%

Global singleton constant key

50%

100%

Singleton model has single key field

100%

100%

No monolithic entity struct

100%

100%

Copy trait on primitive-only models

100%

100%

Without context: $0.2700 · 1m 24s · 13 turns · 18 in / 4,783 out tokens

With context: $0.4428 · 1m 35s · 23 turns · 31 in / 5,081 out tokens

Evaluated
Agent
Claude Code

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.