skills/smithery.ai/cairo-components-under-hood

cairo-components-under-hood

Installation
SKILL.md

Cairo Components Under the Hood

Overview

Explain the generated traits and wrappers created by component macros and how they connect to the host contract.

Quick Use

  • Read references/components-under-hood.md before answering.
  • Mention HasComponent methods for access and mutation.
  • Explain how embeddable impls become contract entry points.

Response Checklist

  • Identify the generated HasComponent trait and its methods.
  • Explain ComponentState<TContractState> as the bridge to host storage.
  • Clarify how impl aliases and #[abi(embed_v0)] expose entry points.

Example Requests

  • "What does component! generate behind the scenes?"
  • "How does ComponentState work?"
  • "Why do I need HasComponent for embedding?"
Installs
1
First Seen
Mar 25, 2026
cairo-components-under-hood from smithery.ai