skills/smithery.ai/cairo-references-snapshots

cairo-references-snapshots

Installation
SKILL.md

Cairo References and Snapshots

Overview

Explain when to pass by value, snapshot, or mutable reference, and how to read or mutate safely.

Quick Use

  • Read references/references-snapshots.md before answering.
  • Show the correct parameter form (value, @value, or ref value).
  • Use *snapshot only for Copy types.

Response Checklist

  • Use snapshots (@T) to read without moving ownership.
  • Use ref when the callee must mutate and the caller must regain ownership.
  • Remind that ref requires a mut variable at the call site.
  • Call out that snapshots are immutable and cannot be mutated directly.
Installs
1
First Seen
Apr 8, 2026
cairo-references-snapshots from smithery.ai