move-stdlib

Identify and summarize standard Move stdlib patterns for Sui data types.

20|8|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/MystenLabs/sui-dev-skills --skill move-stdlib
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: move-stdlib
Source: https://github.com/MystenLabs/sui-dev-skills/tree/main/move/stdlib
Command: npx skills add https://github.com/MystenLabs/sui-dev-skills --skill move-stdlib

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identifies and demonstrates common standard library patterns for Move on Sui, enabling developers to reuse proven patterns for strings, Coin/Balance, Option, addresses, UID, TxContext, vectors, and struct unpacking.

Core Features & Use Cases

  • Illustrates standard library patterns for strings, balance management, option handling, and ID/UID workflows.
  • Demonstrates vector usage, transaction context access, and struct unpacking to simplify Move module implementations.
  • Use Case: Build a Move module that manages token balances and ID-based access control using established stdlib patterns.

Quick Start

Browse move/stdlib to learn and apply common Move standard library patterns in your modules.

Frequently Asked Questions about move-stdlib

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

FAQPage Schema
How do I manage token balances and ID-based access control in Move?

Manage token balances and ID-based access control in Move by applying standard library patterns for Coin, Balance, and UID workflows. These established patterns simplify asset management module implementations without requiring external dependencies.

What are the standard Move stdlib patterns for handling vectors and strings in Sui?

Standard Move stdlib patterns for handling vectors and strings in Sui involve using built-in vector modules and string utilities to simplify data manipulation. These conventional patterns demonstrate usage without external dependencies.

How do I unpack structs and use TxContext in a Sui smart contract?

Unpack structs and use TxContext in a Sui smart contract by applying standard library patterns that demonstrate transaction context access and data extraction. This simplifies module implementations for typical asset-management scenarios.

Can I use Option type workflows for asset management in Move without external dependencies?

Option type workflows for asset management in Move can be implemented without external dependencies by applying standard library patterns. These patterns handle optional values safely while following conventional Move syntax.

When do I need to use UID deletion patterns in Move modules?

UID deletion patterns in Move modules are needed when managing dynamic object lifecycles in asset-management scenarios. They ensure proper cleanup of unique identifiers using established stdlib workflows without external dependencies.