Upgrade Stylus smart contracts using OpenZeppelin proxy patterns on Arbitrum. Use when users need to: (1) make Stylus Rust contracts upgradeable with UUPS or Beacon proxies, (2) understand Stylus-specific proxy mechanics (logic_flag, WASM reactivation), (3) integrate UUPSUpgradeable with access control, (4) ensure storage compatibility across upgrades, or (5) test upgrade paths for Stylus contracts.
$npx -y skills add openzeppelin/openzeppelin-skills --skill upgrade-stylus-contractsInstalls into the current project.
Run `npx skills use "https://github.com/openzeppelin/openzeppelin-skills" --skill "openzeppelin/openzeppelin-skills/upgrade-stylus-contracts"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/openzeppelin/openzeppelin-skills" that are relevant to the current task. Run `npx skills add "https://github.com/openzeppelin/openzeppelin-skills"` and select the relevant skills, then follow their instructions.