Claude Code skill for modern sui development
git clone https://github.com/Nebryx/sui-dev-skill.gitClaude Code skill for modern sui development
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