sui-move
由 easonc13 提供
PDF & Documents简介
Sui blockchain and Move smart contract development.
描述
该技能的功能
Provides a knowledge base and tooling for writing, testing, and deploying Move smart contracts on the Sui blockchain. Clones official Move and Sui documentation locally for offline reference and fast search. Covers the Sui object model, abilities system, CLI commands, and common contract patterns.
Having the Move Book and Sui docs cloned locally lets the agent search and cite exact documentation without relying on potentially stale web results.
何时使用
- Writing a new Move smart contract from scratch
- Publishing a package to Sui testnet or mainnet
- Looking up how object ownership and transfer work
- Debugging a failed transaction or build error
- Testing and verifying Move contract logic locally
示例工作流
User asks: How do I create a shared counter object in Move on Sui?
- 1
Search local Move Book references for 'shared object' using rg
- 2
Read the relevant storage and object model documentation files
- 3
Identify the transfer::share_object pattern and required struct abilities
- 4
Generate a Move code example with create_shared function and UID field
- 5
Link to move-book.com and docs.sui.io for further reading
A complete Move module with a SharedCounter struct, create_shared entry function, and increment function, with explanation of the shared object ownership model
前置要求
- Sui CLI installed via brew (sui formula)
安装
clawhub install easonc13/sui-move运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。