ptbs
OfficialBuild, review, and debug Sui PTBs fast.
Software Engineering#typescript sdk#sui#transaction building#programmable transaction blocks#ptb debugging#gas coin handling#shared objects
AuthorMystenLabs
Version1.0.0
Installs0
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
TransactionAPI, or CLIsui client ptbworkflows. - 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 requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.