smithery.ai

cairo-contract-classes

Explain Starknet contract classes vs instances, class hash, contract deployment, and upgrade patterns; use when a request involves declaring/deploying contracts or understanding class hashes in Cairo.

First seen Apr 14, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,052 B
  • docs SUMMARY.md 230 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Cairo Contract Classes and Instances

Overview

Clarify what a contract class is, how instances are deployed, and how class hashes relate to code and ABI.

Quick Use

  • Read references/contract-classes.md before answering.
  • Distinguish class (code + ABI) from instance (storage + address).
  • Mention class hash and contract address derivation when deployment is discussed.

Response Checklist

  • Use "class" for the compiled contract definition and "instance" for a deployed contract.
  • Note that a class is immutable; upgrades require a proxy pattern.
  • Mention declare vs deploy and when each step is required.

Example Requests

  • "What is the difference between a class and a contract instance?"
  • "How is a contract address computed?"
  • "Why do I need to declare before deploying?"