dojo-init

Initialize a new Dojo project scaffold with standard configuration and starter files.

53|92|Updated Mar 28, 2023
One-click install
npx skills add https://github.com/dojoengine/book --skill dojo-init
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dojo-init
Source: https://github.com/dojoengine/book/tree/main/skills/dojo-init
Command: npx skills add https://github.com/dojoengine/book --skill dojo-init

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the initialization of new Dojo projects by generating a complete starter scaffold with the correct directory layout, configuration files, and development templates.

Core Features & Use Cases

  • Creates a complete project scaffold including Scarb.toml, dojo_dev.toml, and a source tree with sample models, systems, and tests.
  • Provides starter templates for models, systems, and tests to accelerate getting a new game or application up and running.
  • Supports interactive and quick-start workflows via the sozo init command and template-based initialization.

Quick Start

Use the sozo init my-game command to bootstrap a new Dojo project from the dojo-starter template.

Frequently Asked Questions about dojo-init

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

FAQPage Schema
How do I initialize a new Dojo project with the correct directory layout?

To initialize a Dojo project, use the sozo init command to generate a complete starter scaffold, including Scarb.toml, dojo_dev.toml, and a source tree with sample models, systems, and tests.

What files and templates are included in a standard Dojo project scaffold?

A standard Dojo project scaffold includes Scarb.toml, dojo_dev.toml, and starter templates for models, systems, and tests, providing the foundational structure needed to begin development.

Do I need the sozo CLI to bootstrap a Dojo game or application?

Yes, the sozo CLI is required to bootstrap a Dojo game or application, as it executes the initialization process that generates the project configuration and starter files.

Can I use a quick-start workflow to generate Dojo starter templates?

You can use a quick-start workflow via the sozo init my-game command to rapidly bootstrap a new Dojo project from the dojo-starter template, accelerating game setup.

What is the best way to start building an autonomous world on Dojo?

The best way to start building on Dojo is initializing a project scaffold using sozo init, which automatically creates the required configuration files and sample models, systems, and tests.

Why does my Dojo project setup require Scarb.toml and dojo_dev.toml?

Your Dojo project setup requires Scarb.toml and dojo_dev.toml because these files provide the standard configuration and dependencies needed for the framework to compile and operate correctly.