Skip to content
Back to skills

Cairo Module Paths

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
documentation

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill cairo-module-paths --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cairo Module Paths?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cairo Module Paths
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-cairo-module-paths/badge)](https://www.skillsdirectory.com/skills/david-li0406-cairo-module-paths)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cairo-module-paths
description: 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.
---

# 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 `front_of_house::hosting::add_to_waitlist` fail?"
- "When should I use `crate::` in a path?"
- "How do I access a parent module item?"

## Cairo by Example
- [super and self](https://cairo-by-example.xyz/mod/super)

Files in this skill

  • SKILL.md1007 B
  • references/module-paths.md527 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…