dojo-system

Generate Cairo system contracts for Dojo game development.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/Await-0x/stark-tycoon --skill dojo-system-await-0x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dojo-system
Source: https://github.com/Await-0x/stark-tycoon/tree/main/.agents/skills/dojo-system
Command: npx skills add https://github.com/Await-0x/stark-tycoon --skill dojo-system-await-0x

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation of Cairo system contracts for Dojo game development, streamlining the implementation of game logic, state modifications, and player actions.

Core Features & Use Cases

  • System Generation: Creates boilerplate code for Dojo systems, including necessary imports, interfaces, and contract modules.
  • World Interaction: Demonstrates how to read from and write to game models and emit events using the Dojo world.
  • Use Case: When developing a new feature for your Dojo game, like a combat system or a resource gathering mechanic, use this Skill to quickly scaffold the corresponding Cairo system contract.

Quick Start

Create a Dojo system for player movement that updates the Position model.

Frequently Asked Questions about dojo-system

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

FAQPage Schema
How do I generate a Dojo system contract for game logic in Cairo?

To generate a Dojo system contract, you define the game logic, player actions, and state modifications you need. This scaffolds the Cairo contract module with necessary imports, interfaces, and world access for reading and writing models.

How does a Dojo system interact with game models on Starknet?

A Dojo system interacts with game models by accessing the Dojo world to read and write model state. It handles player actions and can emit events to track state changes within the Starknet environment.

Does this Dojo system generation approach support Starknet and Cairo conventions?

Yes, this approach supports Starknet essentials and requires adherence to Dojo 1.0+ conventions. It ensures the generated Cairo contracts properly implement world interactions and event emissions.

What is the best way to scaffold a combat or resource gathering system in Dojo?

The best way to scaffold systems like combat or resource gathering is to specify the desired player interactions and model updates. This generates the boilerplate Cairo code, including contract modules and interfaces.

When do I need to create a new Cairo system for my Dojo game?

You need to create a new Cairo system when developing a new feature for your Dojo game, such as player movement or resource gathering. Systems are used to implement the specific logic that modifies model state.