skills/smithery.ai/cairo-arrays

cairo-arrays

Installation
SKILL.md

Cairo Arrays

Overview

Explain Cairo Array semantics, method choices, and safe access patterns.

Quick Use

  • Read references/arrays.md before answering.
  • Provide minimal, compile-ready snippets using ArrayTrait or array!.
  • Call out whether get or at is appropriate for bounds safety.

Response Checklist

  • Use ArrayTrait::new() or array![] to construct arrays.
  • Use append to add to the end and pop_front to remove from the front.
  • Use get for Option-based bounds handling; use at or arr[index] when panicking is desired.
  • Mention Span when read-only views are needed.
Installs
1
First Seen
Mar 23, 2026
cairo-arrays from smithery.ai