sui-move-syntax
CommunityWrite idiomatic, correct Sui Move faster.
Authorwidnyana
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents common Sui Move syntax and style mistakes that cause compilation failures or incorrect behavior by enforcing idiomatic module structure, visibility/mutability rules, method syntax preferences, and safe commenting conventions.
Core Features & Use Cases
- Idiomatic module layout: Standardizes section ordering (imports → constants → structs/enums → init → public functions → public(package) → private → test-only) and promotes readable
=== Section Title ===separators. - Correct
useand visibility patterns: Guides proper import syntax (no redundant braces) and modern visibility choices, including avoiding deprecatedpublic(friend)/friendand usingpublic(package)where appropriate. - Safe mutability and entry design: Enforces
mutfor reassigned or mutably borrowed variables/parameters and clarifies composablepublic funversus transaction-onlyentry funto avoid incorrect return expectations. - Readable APIs via method syntax: Encourages method-style calls for types where the first argument matches, improving clarity in day-to-day Move code.
- Macro-friendly iteration patterns: Promotes vector/option macros to replace verbose manual loops and branching logic.
Quick Start
Use the sui-move-syntax skill to rewrite a Move module so it follows modern Sui conventions for module declarations, imports, mut usage, visibility, and method/macro style.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: sui-move-syntax Download link: https://github.com/widnyana/eyay-toolkits/archive/main.zip#sui-move-syntax 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 471,000+ vetted skills library on demand.