smithery.ai

cairo-module-paths

Explain Cairo paths for referring to items in the module tree, including absolute vs relative paths and `super`/`crate`; use when a request involves resolving module path errors in Cairo.

First seen Mar 27, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,007 B
  • docs SUMMARY.md 213 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Cairo Module Paths

Overview

Explain how to reference items using absolute and relative paths in the module tree.

Quick Use

  • Read references/module-paths.md before answering.
  • Show both absolute and relative path examples.
  • Verify visibility: every module/item in the path must be accessible.

Response Checklist

  • Use crate:: or the crate name for absolute paths from the root.
  • Use relative paths from the current module for shorter references.
  • Use super:: to move up one level in the module tree.

Example Requests

  • "Why does frontofhouse::hosting::addtowaitlist fail?"
  • "When should I use crate:: in a path?"
  • "How do I access a parent module item?"

Cairo by Example