Agent skill
cairo-modules-files
Explain how Cairo modules are split across files and folders, and how `mod` declarations map to files; use when a request involves organizing modules into multiple files in Cairo.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/unknown-teddyjfpender-skill-issues
SKILL.md
Cairo Modules in Files
Overview
Explain how module declarations map to files and folders in a Cairo package.
Quick Use
- Read
references/modules-files.mdbefore answering. - Show the relationship between
moddeclarations and file names. - Remind that
usedoes not load modules; onlymoddoes.
Response Checklist
- Declare a module with
mod name;in the parent file. - Place the module body in
name.cairoorname/mod.cairo. - Declare submodules in the module file and place them in
name/submodule.cairo.
Example Requests
- "Where should I put
mod hosting;?" - "How do I split a module into multiple files?"
- "Why doesn't
useload my module?"
Cairo by Example
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?