sui-move-stdlib

Standardize Sui Move standard library patterns for linear-type consumption.

4|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/widnyana/eyay-toolkits --skill sui-move-stdlib
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sui-move-stdlib
Source: https://github.com/widnyana/eyay-toolkits/tree/main/plugins/sui-dev-tools/skills/sui-move-stdlib
Command: npx skills add https://github.com/widnyana/eyay-toolkits --skill sui-move-stdlib

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Sui Move developers waste time and burn through compile-time iterations due to subtle standard-library API rules, linear-type consumption patterns, and confusing syntax differences.

Core Features & Use Cases

  • Correct stdlib method syntax: Ensures String/ID/UID and vector operations use the idiomatic method forms instead of verbose or incorrect function calls.
  • Safe linear-type handling: Applies non-trivial consumption and destruction patterns (including burn via public transfer to @0x0) to avoid Move linearity mistakes.
  • Practical destructuring and borrowing: Uses struct unpacking and Option/address/vector idioms to write clearer, more reliable Move code.

Quick Start

Ask an AI to review your Sui Move snippet for standard-library syntax, linear-type consumption, and correct Option/vector/UID usage and it will rewrite it using the patterns from this skill.

Frequently Asked Questions about sui-move-stdlib

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix Sui Move linear type errors when consuming or deleting values?

To fix Sui Move linear type errors, you must properly consume or delete values using safe destruction patterns instead of unsafe drop attributes. This enforces correct linear-type consumption without unsafe drop patterns.

What is the correct syntax for Coin and Balance conversions in Sui Move?

Correct Coin and Balance conversions in Sui Move require using idiomatic standard library method syntax. This standardizes type conversions and ensures method-syntax correctness for coin operations.

How do I handle Option values and vector indexing in Sui Move correctly?

Handling Option values and vector indexing in Sui Move requires using standard library idioms for extraction and borrowing. This ensures safe value handling and correct vector literal syntax.

Does Sui Move require specific struct unpacking and UID TxContext usage patterns?

Yes, Sui Move requires specific struct unpacking and UID TxContext usage patterns to write reliable code. Applying these standard library patterns prevents subtle compile-time errors and ensures correct object initialization.

Why does my Sui Move code fail to compile when burning or transferring objects?

Sui Move code fails to compile during burn or transfer operations if linear-type consumption rules are violated. Using the correct standard library patterns, such as public transfer to specific addresses, resolves these linearity mistakes.

What's the best way to standardize Sui Move standard library API calls?

The best way to standardize Sui Move standard library API calls is to use idiomatic method forms for String, ID, UID, and vector operations. This replaces verbose or incorrect function calls with correct method syntax.