dojo-review

Review Dojo Cairo code for security vulnerabilities, correctness bugs, and optimization opportunities.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Kepler22bee/House-of-Stark --skill dojo-review-kepler22bee
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dojo-review
Source: https://github.com/Kepler22bee/House-of-Stark/tree/main/contracts/.agents/skills/dojo-review
Command: npx skills add https://github.com/Kepler22bee/House-of-Stark --skill dojo-review-kepler22bee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a focused, systematic audit of Dojo (Cairo) code to find security vulnerabilities, correctness bugs, and performance regressions before deployment, reducing the risk of runtime failures or exploits.

Core Features & Use Cases

  • Model and System Audits: Verifies model traits and key ordering, checks system interfaces and world access patterns, and enforces input validation and clear error messages.
  • Security & Access Control: Detects missing ownership checks, authorization gaps, and arithmetic underflow/overflow risks.
  • Optimization & Testing: Identifies gas and read/write inefficiencies, recommends appropriate data types, and highlights missing unit and integration tests.
  • Use Case: Run this review when preparing a Dojo game for mainnet deployment or when adding new systems that modify player state.

Quick Start

Use the dojo-review skill to audit the combat system for security, performance, and test coverage issues.

Frequently Asked Questions about dojo-review

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

FAQPage Schema
How do I audit Cairo smart contracts in Dojo for security vulnerabilities?▼

Audit Cairo smart contracts in Dojo by systematically reviewing model traits, key ordering, input validation, and access control to detect ownership gaps and arithmetic underflow risks before mainnet deployment. This review targets runtime failures and exploits.

What is the best way to optimize gas usage in Dojo ECS models?▼

Optimize gas usage in Dojo ECS models by identifying read/write inefficiencies and recommending appropriate data types during a dedicated code review. This process highlights performance regressions and enforces efficient world access patterns.

How do I check access control and ownership in Dojo systems?▼

Check access control in Dojo systems by verifying system interfaces and world access patterns during the review process. This detects missing ownership checks and authorization gaps to prevent unauthorized state modifications.

Can I use a code review to find missing test coverage in my Dojo game?▼

Yes, you can find missing test coverage in your Dojo game by running a systematic audit that highlights gaps in unit and integration tests. This is essential when adding new systems that modify player state.

When do I need to run a Dojo code review for pre-deployment?▼

Run a Dojo code review for pre-deployment when preparing a game for mainnet or adding new systems that modify player state. This audit verifies correctness and enforces clear error messages before releasing the contract.

Does the Dojo review check model traits and key ordering?▼

Yes, the Dojo review verifies model traits and key ordering to ensure correctness in Cairo smart contracts. This check prevents data misalignment and structural bugs within the ECS patterns.