smithery.ai

cairo-upgradeability

Explain Starknet upgradeability via class hash replacement and proxy patterns; use when a request involves upgrading contract logic or replace_class_syscall.

First seen Mar 24, 2026

Installation

$ npx skills add https://smithery.ai

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 848 B
  • docs SUMMARY.md 185 B

History

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

SKILL.md

Cairo Upgradeability

Overview

Explain how Starknet upgrades work and the safeguards commonly used.

Quick Use

  • Read references/upgradeability.md before answering.
  • Mention replaceclasssyscall and access control.
  • Suggest proxy patterns for more flexible upgrades.

Response Checklist

  • Use a protected upgrade entry point that validates the new class hash.
  • Explain that upgrades replace the class hash of an instance.
  • Note that storage is preserved across upgrades.

Example Requests

  • "How do I upgrade a Starknet contract?"
  • "What does replaceclasssyscall do?"
  • "Why do I need access control for upgrades?"