dojo-review

Audit Dojo code for best practices, security, and optimization opportunities.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Dojo teams often struggle to ensure code quality, security, and maintainability as codebases grow. This skill provides structured guidance to identify best-practice deviations, security concerns, and optimization opportunities during reviews.

Core Features & Use Cases

  • Code Review: Check model and system design against best practices, including trait usage, input validation, and error handling.
  • Security & Quality: Identify common vulnerabilities, test coverage gaps, and performance concerns.
  • Use Case: When preparing deployment-ready code, run this skill to audit critical paths in models and systems and generate a prioritized remediation plan.

Quick Start

Use the Dojo code-review skill to initiate an audit on your project. The tool will guide you through selecting the review scope (models, systems, tests, or all) and focus areas (security, performance).

Frequently Asked Questions about dojo-review

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

FAQPage Schema
How do I review Dojo code for security vulnerabilities and best practices?

Run a Dojo code review to audit model and system design, checking for trait usage, input validation, and error handling. The tool guides you through selecting review scope and focus areas like security or performance.

What is the best way to audit Cairo and Rust models in a Dojo project?

Use a Dojo code review to audit Cairo and Rust models by checking trait usage and system interfaces. It identifies common vulnerabilities, test coverage gaps, and performance concerns across your project.

Can I use this Dojo code review tool to prepare deployment-ready code?

Yes, run this skill on deployment-ready Dojo code to audit critical paths and generate a prioritized remediation plan. It checks model design, system interfaces, security, gas optimization, and test coverage.

Does the Dojo code review skill require external tools or dependencies?

No, this skill requires no external tools beyond standard repository inspection. It performs checks for model design, system interfaces, security, gas optimization, and test coverage directly on your Dojo project.

How do I check test coverage gaps and gas optimization in Dojo systems?

Run a Dojo code review focusing on performance and security to identify test coverage gaps and gas optimization opportunities. The skill analyzes your systems and generates a prioritized remediation plan.

When do I need to run a code review on my Dojo project?

Run a Dojo code review as your codebase grows to ensure quality, security, and maintainability. It is particularly useful when preparing deployment-ready code to audit critical paths and generate remediation plans.