A Claude Code skill for Sui blockchain Move smart contract development, providing code templates, reference docs, testing patterns, and deployment automation for Sui dApp builders.
git clone https://github.com/Nebryx/sui-dev-skill.gitThe sui-dev-skill is a structured Claude Code skill that guides developers through building on the Sui blockchain using the Move programming language. It covers Move language fundamentals, the Sui object model, Programmable Transaction Blocks, and the Sui TypeScript SDK, giving developers a consolidated reference for common patterns. The skill includes ready-to-use Move module templates for ownership, dynamic fields, and events, alongside shell scripts for environment setup, deployment, and dApp bootstrapping via sui-dapp-starter. Security-focused developers can also use the included MystenLabs CTF guide to practice exploit and defense patterns in Move. Teams building Sui dApps benefit from the curated ecosystem landscape, upgrade strategies, and toolchain management guidance using suiup.
Add the skill to your Claude Code environment and reference SKILL.md as the main skill definition. Use the scripts directory for environment setup (setup_suiup.sh), dApp bootstrapping (init_sui_dapp_starter.sh), and deployment (deploy.sh). Consult the references directory for deep-dive guides on the object model, PTBs, TypeScript SDK, and ecosystem selection.
Writing and structuring Sui Move smart contracts using provided module templates
Automating build, test, and deployment of Move packages with included shell scripts
Bootstrapping full-stack Sui dApps using the sui-dapp-starter integration guide
Learning Move security patterns and exploit defense through MystenLabs CTF practice
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/Nebryx/sui-dev-skillCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Act as a Sui blockchain developer. Write a Sui Move code snippet to [TASK] for a [COMPANY] in the [INDUSTRY]. Use the latest Sui SDK and include error handling. Explain the code in simple terms.
# Sui Move Code for Token Minting
```move
// This code creates a simple token minting function for [COMPANY]
// in the [INDUSTRY] sector
module examples::token_minting {
use std::signer;
use sui::coin;
use sui::tx_context;
use sui::object;
use sui::transfer;
// Define a simple token structure
struct Token has key {
id: UID,
value: u64,
}
// Function to mint new tokens
public entry fun mint_token(
ctx: &mut TxContext,
recipient: address,
amount: u64,
) {
let token = object::new(ctx);
move_to(sender(ctx), Token {
id: object::id(token),
value: amount,
});
transfer::public_transfer(token, recipient);
}
}
```
## Explanation
This code creates a basic token minting system on the Sui blockchain. Here's what each part does:
1. **Token Structure**: Defines a simple token with an ID and value.
2. **Minting Function**: Creates a new token with a specified amount and transfers it to a recipient.
3. **Error Handling**: The Sui SDK automatically handles common errors like insufficient gas or invalid addresses.
To use this code, replace [COMPANY] and [INDUSTRY] with your specific details and integrate it into your Sui project.Unlock data insights with interactive dashboards and collaborative analytics capabilities.
AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan