upgrade-safety

Official

Secure smart contract upgrades.

AuthorMolcajeteAI
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides guidance and best practices to prevent critical vulnerabilities and data loss during the upgrade process of smart contracts, ensuring the integrity and security of decentralized applications.

Core Features & Use Cases

  • Storage Layout Safety: Rules for adding or modifying state variables to avoid collisions and data corruption.
  • Initializer Safety: Guidelines for using initializer and reinitializer modifiers to prevent re-entrancy and unauthorized initialization.
  • Authorization Checks: Ensures proper authorization mechanisms are in place for upgradeability, especially for UUPS patterns.
  • Use Case: When planning to deploy a new version of an upgradeable smart contract, use this Skill to review the storage layout, initializer functions, and authorization logic to ensure a safe and secure upgrade.

Quick Start

Use the upgrade-safety skill to review the storage layout rules for upgradeable smart contracts.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: upgrade-safety
Download link: https://github.com/MolcajeteAI/plugin/archive/main.zip#upgrade-safety

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.