modernize-move
OfficialUpgrade Move V1 to V2+ syntax and APIs.
Authoraptos-labs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automatically detects and modernizes outdated Move V1 syntax, patterns, and APIs to the latest Move V2+ standards, ensuring your smart contracts are up-to-date and follow best practices.
Core Features & Use Cases
- Syntax Modernization: Converts legacy syntax like
vector::borrowto index notation (v[i]) andwhileloops with counters toforrange loops. - API Migration: Guides migration from older APIs like
cointofungible_assetandEventHandleto#[event]patterns. - Use Case: You have a legacy Move V1 NFT contract that uses
public(friend)visibility and magic numbers for abort codes. This Skill will refactor it to usefriend funand named error constants, making it cleaner and more maintainable.
Quick Start
Use the modernize-move skill to refactor the attached contract 'legacy_nft.move' to use Move V2 syntax and best practices.
Dependency Matrix
Required Modules
None requiredComponents
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: modernize-move Download link: https://github.com/aptos-labs/aptos-agent-skills/archive/main.zip#modernize-move Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.