Skip to content
Back to skills

Cairo Upgradeability

ASecurity

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

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
documentation

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill cairo-upgradeability --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cairo Upgradeability?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cairo Upgradeability
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-cairo-upgradeability/badge)](https://www.skillsdirectory.com/skills/david-li0406-cairo-upgradeability)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cairo-upgradeability
description: Explain Starknet upgradeability via class hash replacement and proxy patterns; use when a request involves upgrading contract logic or replace_class_syscall.
---

# Cairo Upgradeability

## Overview
Explain how Starknet upgrades work and the safeguards commonly used.

## Quick Use
- Read `references/upgradeability.md` before answering.
- Mention `replace_class_syscall` 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 replace_class_syscall do?"
- "Why do I need access control for upgrades?"

Files in this skill

  • SKILL.md848 B
  • references/upgradeability.md446 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…