sui-move-setup

Configure Sui Move packages with Move 2024 edition and test conventions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Move on Sui projects often fail due to incorrect Move.toml setup, outdated framework dependency patterns, or test/code conventions that trigger avoidable build and runtime issues.

Core Features & Use Cases

  • Move.toml setup for Sui: Ensures the correct Move 2024 edition and package naming to match module/package address expectations.
  • Sui-correct build/test workflow: Provides the standard Sui CLI commands for building and running tests, plus guidance for selecting failing tests by name.
  • Sui-specific test conventions and pitfalls: Covers expected failure annotations, when to use tx_context::dummy vs test_scenario, assertion style, and correct object destruction behavior using sui::test_utils::destroy.
  • What not to do on Sui: Explicitly calls out Aptos/Core Move patterns that don’t apply on Sui (like acquires/global storage concepts, signer type, and Script functions).

Quick Start

Tell your AI to “configure my Sui Move package for the Move 2024 edition, make sure I’m not using outdated Sui dependencies or addresses, and update my tests to follow the expected_failure, tx_context, assertion, and destroy conventions.”

Frequently Asked Questions about sui-move-setup

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

FAQPage Schema
How do I fix Move.toml build failures in Sui Move projects?

Fix Move.toml build failures in Sui by using the Move 2024 edition, removing the [addresses] section for Sui CLI 1.63+, and relying on Sui 1.45+ implicit framework handling. Correct configuration prevents common build errors.

Why do my Sui Move unit tests fail with object destruction errors?

Sui Move unit tests fail with object destruction errors when not using sui::test_utils::destroy. Correct Sui testing practices require explicit object destruction using this utility to avoid runtime test failures.

Does Sui Move support acquires and global storage concepts from Core Move?

Sui Move does not support acquires, global storage concepts, the signer type, or Script functions. These are Aptos and Core Move patterns that must be avoided when setting up Sui smart contracts.

What is the correct way to annotate expected failures in Sui Move tests?

The correct way to annotate expected failures in Sui Move tests is using the expected_failure pattern. Pair this with tx_context::dummy or test_scenario based on your test context for reliable contract testing.

Can I use outdated Move dialects when updating existing Sui smart contracts?

You cannot use outdated Move dialects for Sui smart contracts. Updating existing projects requires migrating to the Move 2024 edition to match module and package address expectations for Sui CLI compatibility.