System Documentation

What problem does it solve?

This skill helps you write, verify, and troubleshoot Sui Programmable Transaction Blocks (PTBs) so multiple on-chain actions run atomically with correct input/argument wiring and gas handling.

Core Features & Use Cases

  • PTB construction guidance: routes you to the right reference for PTB fundamentals, the TypeScript Transaction API, or CLI sui client ptb workflows.
  • Correctness-by-design for composition: explains how inputs, command arguments, and result chaining work so you avoid common PTB shape and borrow/consumption mistakes.
  • Execution and failure debugging: maps common PTB errors to concrete causes and fixes, including gas/coin issues, shared-object constraints, and UnusedValueWithoutDrop.

Quick Start

Ask your agent to construct a single Sui PTB in TypeScript that chains the needed Move calls, correctly splits gas when required, and includes the right transfers so the PTB succeeds without runtime PTB errors.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ptbs
Download link: https://github.com/MystenLabs/skills/archive/main.zip#ptbs

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.