dojo

Scaffold on-chain Dojo projects with World, Models, Systems, and Events.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/cartridge-gg/scoundrel --skill dojo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dojo
Source: https://github.com/cartridge-gg/scoundrel/tree/main/.agents/skills/dojo
Command: npx skills add https://github.com/cartridge-gg/scoundrel --skill dojo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Dojo provides a structured ECS-style framework to build fully on-chain games and applications on Starknet using Dojo Engine patterns.

Core Features & Use Cases

  • World, Models, Systems, Events, Components, and Store patterns for on-chain state management
  • Pattern-based deployment, testing with spawn_test_world, and deployment tooling with sozo
  • Use Case: architect modular contracts with clear data flow and event-driven interactions on Starknet

Quick Start

Use the Dojo skill to scaffold and deploy a new on-chain project with World, Models, Systems, and Components.

Frequently Asked Questions about dojo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure fully on-chain games on Starknet using an ECS architecture?

To structure fully on-chain games on Starknet using an ECS architecture, you can use a framework that organizes project state into World, Models, Systems, and Events. This enables modular contracts with clear data flow and event-driven interactions for on-chain applications.

How do I test on-chain Dojo contracts before deploying to Starknet?

You can test on-chain Dojo contracts by using the spawn_test_world pattern to simulate the environment. This allows you to validate your ECS Models, Systems, and Events logic before executing a deployment with the sozo tool.

What is the best way to organize modular contract state for on-chain applications?

The best way to organize modular contract state is through an ECS-style framework utilizing World, Models, Systems, and Store patterns. This structure enforces architecture patterns and frontmatter metadata for clear data flow management.

Can I use sozo to deploy modular contracts built with an ECS framework?

Yes, sozo provides the deployment tooling for projects structured with an ECS framework. It handles pattern-based deployment of your Worlds, Models, and Systems directly onto the Starknet network.

Does building on-chain games on Starknet require an ECS framework?

Building on-chain games on Starknet does not strictly require an ECS framework, but using one solves the need for a reusable structure. It enforces clear architecture patterns and testability for complex modular contracts and state management.