[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-sui-sui-move":3,"mdc-4ndsuz-key":39,"related-org-sui-sui-move":1085,"related-repo-sui-sui-move":1254},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":28,"repoUrl":29,"updatedAt":30,"license":31,"forks":32,"topics":33,"repo":34,"sourceUrl":37,"mdContent":38},"sui-move","develop and debug Sui Move smart contracts","Sui Move smart contract development. Use when writing, reviewing, or debugging Move code on Sui. Covers Move abilities (key, store, copy, drop), TxContext, init functions, One-Time Witness, package publishing and upgrades, resource safety, events, and coins. Also use when the user asks about struct abilities, UID, how to destroy objects, or how to create a fungible token.\nFor object model and ownership, see the `object-model` skill. For programmable transaction blocks, see the `ptbs` skill. For frontend dApp development, see the `frontend-apps` skill. For project setup and Move.toml, see the `sui-move-project` skill.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"sui","Sui (Mysten Labs)","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fsui.png","MystenLabs",[13,16,19,22,25],{"name":14,"slug":8,"type":15},"Sui","tag",{"name":17,"slug":18,"type":15},"Web3","web3",{"name":20,"slug":21,"type":15},"Engineering","engineering",{"name":23,"slug":24,"type":15},"Smart Contracts","smart-contracts",{"name":26,"slug":27,"type":15},"Debugging","debugging",9,"https:\u002F\u002Fgithub.com\u002FMystenLabs\u002Fskills","2026-07-16T06:02:43.928977",null,2,[],{"repoUrl":29,"stars":28,"forks":32,"topics":35,"description":36},[],"Sui development skills maintained by Mysten Labs","https:\u002F\u002Fgithub.com\u002FMystenLabs\u002Fskills\u002Ftree\u002FHEAD\u002Fsui-move","---\nname: sui-move\ndescription: >\n  Sui Move smart contract development. Use when writing, reviewing, or debugging\n  Move code on Sui. Covers Move abilities (key, store, copy, drop), TxContext,\n  init functions, One-Time Witness, package publishing and upgrades, resource safety,\n  events, and coins. Also use when the user asks about struct abilities, UID,\n  how to destroy objects, or how to create a fungible token.\n\n  For object model and ownership, see the `object-model` skill.\n  For programmable transaction blocks, see the `ptbs` skill.\n  For frontend dApp development, see the `frontend-apps` skill.\n  For project setup and Move.toml, see the `sui-move-project` skill.\n---\n\n# Sui Move\n\n> **MCP tool:** When available in your environment, also query the Sui documentation MCP server (`https:\u002F\u002Fsui.mcp.kapa.ai`) for up-to-date answers. Use it for verification and for details not covered by these reference files.\n\n> **Source constraint:** All information in this skill is sourced exclusively from [docs.sui.io](https:\u002F\u002Fdocs.sui.io) and [move-book.com](https:\u002F\u002Fmove-book.com). When extending or updating this skill, only pull from these sources. Do not use third-party blogs, tutorials, or unofficial documentation.\n\nMove is Sui's smart contract language, designed around resource safety and an object-centric data model. This skill covers the core Move language: the type system, abilities, resource safety, events, and coins.\n\nThis skill routes to focused reference files. Load only the ones relevant to the current task.\n\n---\n\n## Reference files (this skill)\n\n### move — Move Language Fundamentals\n**Path:** `move.md`\n**Load when:** writing Move code, working with abilities, TxContext, time\u002FClock, init functions, One-Time Witness, `internal::Permit\u003CT>`, `type_name` deprecations, packages, modules, structs, resource safety, access control patterns, admin rotation, deny lists, security review, or advanced design patterns (ability dosing, phantom events, shared-object concurrency, receiver syntax, error attributes, `transfer::receive`, field privacy, macros).\n**Covers:** the four abilities and common combinations, TxContext methods, Clock object, init functions, OTW pattern, `internal::Permit\u003CT>` type-level authorization, `type_name` deprecations, packages and upgrades, modules, structs, resource safety and object destruction, a worked Greeting example, admin rotation (two-step transfer), regulated coins and deny lists, security review checklist, advanced design patterns (ability dosing, phantom-type events, event denormalization, shared-object `&` vs `&mut`, receiver-syntax ordering, `#[error]` constants, `transfer::receive` privacy, field privacy, macro gotchas).\n\n### events-coins — Events and Coins\n**Path:** `events-coins.md`\n**Load when:** emitting events, subscribing to events offchain, creating fungible tokens, or working with coin operations (mint, burn, split, join).\n**Covers:** event emission, event struct requirements, coin::create_currency, TreasuryCap, CoinMetadata, standard coin operations.\n\n---\n\n## Related skills (load from separate skill directories)\n\n| Topic | Skill | Load when |\n|-------|-------|-----------|\n| Object model, ownership, dynamic fields, collections, Display, transfer patterns | `object-model\u002F` | Designing data models, choosing ownership types, using dynamic fields or collections, setting up Object Display |\n| Programmable transaction blocks, commands, equivocation | `ptbs\u002F` | Building PTBs, composing transactions, sponsored transactions, troubleshooting transaction errors |\n| Frontend dApp development, dApp Kit, wallet connection | `frontend-apps\u002F` | Building React\u002FVue frontends, wallet integration, querying onchain state from the browser |\n| Project setup, Move.toml, dependencies, publishing | `sui-move-project\u002F` | Creating a Move project, configuring Move.toml, resolving build errors, publishing packages |\n| Move 2024 syntax, method syntax, macros | `modern-move-syntax\u002F` | Using Move 2024 edition features like method syntax, vector literals, option\u002Floop macros |\n| Composable function design | `composable-move-functions\u002F` | Designing functions for PTB composability, parameter ordering, return patterns |\n| Unit testing conventions | `move-unit-testing\u002F` | Writing Move unit tests, test patterns, expected_failure, cleanup |\n| Naming conventions | `naming-conventions\u002F` | Naming errors, constants, capabilities, events, getters, dynamic field keys |\n\n---\n\n## Routing guide\n\n| Task | Load |\n|------|------|\n| Writing a Move struct with abilities | move |\n| Using TxContext or the Clock object | move |\n| Writing an init function or OTW | move |\n| Using `type_name` functions | move |\n| Proving module authority with `internal::Permit\u003CT>` | move |\n| Publishing or upgrading a package | move |\n| Destroying an object without drop | move |\n| Emitting or subscribing to events | events-coins |\n| Creating a fungible token | move + events-coins |\n| Designing an object data model | `object-model\u002F` skill |\n| Choosing shared vs owned objects | `object-model\u002F` skill |\n| Using dynamic fields or collections | `object-model\u002F` skill |\n| Setting up Object Display | `object-model\u002F` skill |\n| Building a PTB | `ptbs\u002F` skill |\n| Implementing sponsored transactions | `ptbs\u002F` skill |\n| Building a frontend | `frontend-apps\u002F` skill |\n| Setting up Move.toml | `sui-move-project\u002F` skill |\n| Writing a complete smart contract | move + events-coins + `object-model\u002F` + `naming-conventions\u002F` + `modern-move-syntax\u002F` |\n| Code review | move + events-coins + `composable-move-functions\u002F` + `naming-conventions\u002F` + `modern-move-syntax\u002F` |\n| Security review \u002F access control audit | move + `object-model\u002F` (patterns) + events-coins |\n| Advanced design patterns \u002F performance tuning | move |\n\n---\n\n## Rules\n\n- Always use `object::new(ctx)` to create UIDs. There is no other way.\n- Use `public_transfer` (not `transfer`) when the object has `store` and the call originates outside the defining module.\n- Event structs must have `copy` and `drop` abilities.\n- No `as` casts on numeric types. Use `from`\u002F`into` or `try_from`\u002F`try_into`.\n- To destroy an object without `drop`, unpack the struct and call `object::delete(id)` on the UID.\n\n## Common mistakes\n\n- **Confusing `transfer` with `public_transfer`.** The non-public variant only works within the defining module. Calling it from another module is a compile error.\n- **Forgetting to delete the UID.** When destroying an object, you must call `object::delete(id)` on the UID field.\n- **Assuming `ctx.epoch_timestamp_ms()` is precise.** It returns the epoch start time. Use the Clock object (`0x6`) for real-time timestamps.\n",{"data":40,"body":41},{"name":4,"description":6},{"type":42,"children":43},"root",[44,52,77,110,115,120,124,131,138,237,243,269,272,278,487,490,496,870,873,879,1010,1016],{"type":45,"tag":46,"props":47,"children":48},"element","h1",{"id":4},[49],{"type":50,"value":51},"text","Sui Move",{"type":45,"tag":53,"props":54,"children":55},"blockquote",{},[56],{"type":45,"tag":57,"props":58,"children":59},"p",{},[60,66,68,75],{"type":45,"tag":61,"props":62,"children":63},"strong",{},[64],{"type":50,"value":65},"MCP tool:",{"type":50,"value":67}," When available in your environment, also query the Sui documentation MCP server (",{"type":45,"tag":69,"props":70,"children":72},"code",{"className":71},[],[73],{"type":50,"value":74},"https:\u002F\u002Fsui.mcp.kapa.ai",{"type":50,"value":76},") for up-to-date answers. Use it for verification and for details not covered by these reference files.",{"type":45,"tag":53,"props":78,"children":79},{},[80],{"type":45,"tag":57,"props":81,"children":82},{},[83,88,90,99,101,108],{"type":45,"tag":61,"props":84,"children":85},{},[86],{"type":50,"value":87},"Source constraint:",{"type":50,"value":89}," All information in this skill is sourced exclusively from ",{"type":45,"tag":91,"props":92,"children":96},"a",{"href":93,"rel":94},"https:\u002F\u002Fdocs.sui.io",[95],"nofollow",[97],{"type":50,"value":98},"docs.sui.io",{"type":50,"value":100}," and ",{"type":45,"tag":91,"props":102,"children":105},{"href":103,"rel":104},"https:\u002F\u002Fmove-book.com",[95],[106],{"type":50,"value":107},"move-book.com",{"type":50,"value":109},". When extending or updating this skill, only pull from these sources. Do not use third-party blogs, tutorials, or unofficial documentation.",{"type":45,"tag":57,"props":111,"children":112},{},[113],{"type":50,"value":114},"Move is Sui's smart contract language, designed around resource safety and an object-centric data model. This skill covers the core Move language: the type system, abilities, resource safety, events, and coins.",{"type":45,"tag":57,"props":116,"children":117},{},[118],{"type":50,"value":119},"This skill routes to focused reference files. Load only the ones relevant to the current task.",{"type":45,"tag":121,"props":122,"children":123},"hr",{},[],{"type":45,"tag":125,"props":126,"children":128},"h2",{"id":127},"reference-files-this-skill",[129],{"type":50,"value":130},"Reference files (this skill)",{"type":45,"tag":132,"props":133,"children":135},"h3",{"id":134},"move-move-language-fundamentals",[136],{"type":50,"value":137},"move — Move Language Fundamentals",{"type":45,"tag":57,"props":139,"children":140},{},[141,146,148,154,159,161,167,169,175,177,183,185,190,192,197,199,204,206,212,214,220,222,228,230,235],{"type":45,"tag":61,"props":142,"children":143},{},[144],{"type":50,"value":145},"Path:",{"type":50,"value":147}," ",{"type":45,"tag":69,"props":149,"children":151},{"className":150},[],[152],{"type":50,"value":153},"move.md",{"type":45,"tag":61,"props":155,"children":156},{},[157],{"type":50,"value":158},"Load when:",{"type":50,"value":160}," writing Move code, working with abilities, TxContext, time\u002FClock, init functions, One-Time Witness, ",{"type":45,"tag":69,"props":162,"children":164},{"className":163},[],[165],{"type":50,"value":166},"internal::Permit\u003CT>",{"type":50,"value":168},", ",{"type":45,"tag":69,"props":170,"children":172},{"className":171},[],[173],{"type":50,"value":174},"type_name",{"type":50,"value":176}," deprecations, packages, modules, structs, resource safety, access control patterns, admin rotation, deny lists, security review, or advanced design patterns (ability dosing, phantom events, shared-object concurrency, receiver syntax, error attributes, ",{"type":45,"tag":69,"props":178,"children":180},{"className":179},[],[181],{"type":50,"value":182},"transfer::receive",{"type":50,"value":184},", field privacy, macros).\n",{"type":45,"tag":61,"props":186,"children":187},{},[188],{"type":50,"value":189},"Covers:",{"type":50,"value":191}," the four abilities and common combinations, TxContext methods, Clock object, init functions, OTW pattern, ",{"type":45,"tag":69,"props":193,"children":195},{"className":194},[],[196],{"type":50,"value":166},{"type":50,"value":198}," type-level authorization, ",{"type":45,"tag":69,"props":200,"children":202},{"className":201},[],[203],{"type":50,"value":174},{"type":50,"value":205}," deprecations, packages and upgrades, modules, structs, resource safety and object destruction, a worked Greeting example, admin rotation (two-step transfer), regulated coins and deny lists, security review checklist, advanced design patterns (ability dosing, phantom-type events, event denormalization, shared-object ",{"type":45,"tag":69,"props":207,"children":209},{"className":208},[],[210],{"type":50,"value":211},"&",{"type":50,"value":213}," vs ",{"type":45,"tag":69,"props":215,"children":217},{"className":216},[],[218],{"type":50,"value":219},"&mut",{"type":50,"value":221},", receiver-syntax ordering, ",{"type":45,"tag":69,"props":223,"children":225},{"className":224},[],[226],{"type":50,"value":227},"#[error]",{"type":50,"value":229}," constants, ",{"type":45,"tag":69,"props":231,"children":233},{"className":232},[],[234],{"type":50,"value":182},{"type":50,"value":236}," privacy, field privacy, macro gotchas).",{"type":45,"tag":132,"props":238,"children":240},{"id":239},"events-coins-events-and-coins",[241],{"type":50,"value":242},"events-coins — Events and Coins",{"type":45,"tag":57,"props":244,"children":245},{},[246,250,251,257,261,263,267],{"type":45,"tag":61,"props":247,"children":248},{},[249],{"type":50,"value":145},{"type":50,"value":147},{"type":45,"tag":69,"props":252,"children":254},{"className":253},[],[255],{"type":50,"value":256},"events-coins.md",{"type":45,"tag":61,"props":258,"children":259},{},[260],{"type":50,"value":158},{"type":50,"value":262}," emitting events, subscribing to events offchain, creating fungible tokens, or working with coin operations (mint, burn, split, join).\n",{"type":45,"tag":61,"props":264,"children":265},{},[266],{"type":50,"value":189},{"type":50,"value":268}," event emission, event struct requirements, coin::create_currency, TreasuryCap, CoinMetadata, standard coin operations.",{"type":45,"tag":121,"props":270,"children":271},{},[],{"type":45,"tag":125,"props":273,"children":275},{"id":274},"related-skills-load-from-separate-skill-directories",[276],{"type":50,"value":277},"Related skills (load from separate skill directories)",{"type":45,"tag":279,"props":280,"children":281},"table",{},[282,306],{"type":45,"tag":283,"props":284,"children":285},"thead",{},[286],{"type":45,"tag":287,"props":288,"children":289},"tr",{},[290,296,301],{"type":45,"tag":291,"props":292,"children":293},"th",{},[294],{"type":50,"value":295},"Topic",{"type":45,"tag":291,"props":297,"children":298},{},[299],{"type":50,"value":300},"Skill",{"type":45,"tag":291,"props":302,"children":303},{},[304],{"type":50,"value":305},"Load when",{"type":45,"tag":307,"props":308,"children":309},"tbody",{},[310,333,355,377,399,421,443,465],{"type":45,"tag":287,"props":311,"children":312},{},[313,319,328],{"type":45,"tag":314,"props":315,"children":316},"td",{},[317],{"type":50,"value":318},"Object model, ownership, dynamic fields, collections, Display, transfer patterns",{"type":45,"tag":314,"props":320,"children":321},{},[322],{"type":45,"tag":69,"props":323,"children":325},{"className":324},[],[326],{"type":50,"value":327},"object-model\u002F",{"type":45,"tag":314,"props":329,"children":330},{},[331],{"type":50,"value":332},"Designing data models, choosing ownership types, using dynamic fields or collections, setting up Object Display",{"type":45,"tag":287,"props":334,"children":335},{},[336,341,350],{"type":45,"tag":314,"props":337,"children":338},{},[339],{"type":50,"value":340},"Programmable transaction blocks, commands, equivocation",{"type":45,"tag":314,"props":342,"children":343},{},[344],{"type":45,"tag":69,"props":345,"children":347},{"className":346},[],[348],{"type":50,"value":349},"ptbs\u002F",{"type":45,"tag":314,"props":351,"children":352},{},[353],{"type":50,"value":354},"Building PTBs, composing transactions, sponsored transactions, troubleshooting transaction errors",{"type":45,"tag":287,"props":356,"children":357},{},[358,363,372],{"type":45,"tag":314,"props":359,"children":360},{},[361],{"type":50,"value":362},"Frontend dApp development, dApp Kit, wallet connection",{"type":45,"tag":314,"props":364,"children":365},{},[366],{"type":45,"tag":69,"props":367,"children":369},{"className":368},[],[370],{"type":50,"value":371},"frontend-apps\u002F",{"type":45,"tag":314,"props":373,"children":374},{},[375],{"type":50,"value":376},"Building React\u002FVue frontends, wallet integration, querying onchain state from the browser",{"type":45,"tag":287,"props":378,"children":379},{},[380,385,394],{"type":45,"tag":314,"props":381,"children":382},{},[383],{"type":50,"value":384},"Project setup, Move.toml, dependencies, publishing",{"type":45,"tag":314,"props":386,"children":387},{},[388],{"type":45,"tag":69,"props":389,"children":391},{"className":390},[],[392],{"type":50,"value":393},"sui-move-project\u002F",{"type":45,"tag":314,"props":395,"children":396},{},[397],{"type":50,"value":398},"Creating a Move project, configuring Move.toml, resolving build errors, publishing packages",{"type":45,"tag":287,"props":400,"children":401},{},[402,407,416],{"type":45,"tag":314,"props":403,"children":404},{},[405],{"type":50,"value":406},"Move 2024 syntax, method syntax, macros",{"type":45,"tag":314,"props":408,"children":409},{},[410],{"type":45,"tag":69,"props":411,"children":413},{"className":412},[],[414],{"type":50,"value":415},"modern-move-syntax\u002F",{"type":45,"tag":314,"props":417,"children":418},{},[419],{"type":50,"value":420},"Using Move 2024 edition features like method syntax, vector literals, option\u002Floop macros",{"type":45,"tag":287,"props":422,"children":423},{},[424,429,438],{"type":45,"tag":314,"props":425,"children":426},{},[427],{"type":50,"value":428},"Composable function design",{"type":45,"tag":314,"props":430,"children":431},{},[432],{"type":45,"tag":69,"props":433,"children":435},{"className":434},[],[436],{"type":50,"value":437},"composable-move-functions\u002F",{"type":45,"tag":314,"props":439,"children":440},{},[441],{"type":50,"value":442},"Designing functions for PTB composability, parameter ordering, return patterns",{"type":45,"tag":287,"props":444,"children":445},{},[446,451,460],{"type":45,"tag":314,"props":447,"children":448},{},[449],{"type":50,"value":450},"Unit testing conventions",{"type":45,"tag":314,"props":452,"children":453},{},[454],{"type":45,"tag":69,"props":455,"children":457},{"className":456},[],[458],{"type":50,"value":459},"move-unit-testing\u002F",{"type":45,"tag":314,"props":461,"children":462},{},[463],{"type":50,"value":464},"Writing Move unit tests, test patterns, expected_failure, cleanup",{"type":45,"tag":287,"props":466,"children":467},{},[468,473,482],{"type":45,"tag":314,"props":469,"children":470},{},[471],{"type":50,"value":472},"Naming conventions",{"type":45,"tag":314,"props":474,"children":475},{},[476],{"type":45,"tag":69,"props":477,"children":479},{"className":478},[],[480],{"type":50,"value":481},"naming-conventions\u002F",{"type":45,"tag":314,"props":483,"children":484},{},[485],{"type":50,"value":486},"Naming errors, constants, capabilities, events, getters, dynamic field keys",{"type":45,"tag":121,"props":488,"children":489},{},[],{"type":45,"tag":125,"props":491,"children":493},{"id":492},"routing-guide",[494],{"type":50,"value":495},"Routing guide",{"type":45,"tag":279,"props":497,"children":498},{},[499,515],{"type":45,"tag":283,"props":500,"children":501},{},[502],{"type":45,"tag":287,"props":503,"children":504},{},[505,510],{"type":45,"tag":291,"props":506,"children":507},{},[508],{"type":50,"value":509},"Task",{"type":45,"tag":291,"props":511,"children":512},{},[513],{"type":50,"value":514},"Load",{"type":45,"tag":307,"props":516,"children":517},{},[518,531,543,555,574,591,603,615,628,641,659,676,693,710,727,744,761,778,809,838,858],{"type":45,"tag":287,"props":519,"children":520},{},[521,526],{"type":45,"tag":314,"props":522,"children":523},{},[524],{"type":50,"value":525},"Writing a Move struct with abilities",{"type":45,"tag":314,"props":527,"children":528},{},[529],{"type":50,"value":530},"move",{"type":45,"tag":287,"props":532,"children":533},{},[534,539],{"type":45,"tag":314,"props":535,"children":536},{},[537],{"type":50,"value":538},"Using TxContext or the Clock object",{"type":45,"tag":314,"props":540,"children":541},{},[542],{"type":50,"value":530},{"type":45,"tag":287,"props":544,"children":545},{},[546,551],{"type":45,"tag":314,"props":547,"children":548},{},[549],{"type":50,"value":550},"Writing an init function or OTW",{"type":45,"tag":314,"props":552,"children":553},{},[554],{"type":50,"value":530},{"type":45,"tag":287,"props":556,"children":557},{},[558,570],{"type":45,"tag":314,"props":559,"children":560},{},[561,563,568],{"type":50,"value":562},"Using ",{"type":45,"tag":69,"props":564,"children":566},{"className":565},[],[567],{"type":50,"value":174},{"type":50,"value":569}," functions",{"type":45,"tag":314,"props":571,"children":572},{},[573],{"type":50,"value":530},{"type":45,"tag":287,"props":575,"children":576},{},[577,587],{"type":45,"tag":314,"props":578,"children":579},{},[580,582],{"type":50,"value":581},"Proving module authority with ",{"type":45,"tag":69,"props":583,"children":585},{"className":584},[],[586],{"type":50,"value":166},{"type":45,"tag":314,"props":588,"children":589},{},[590],{"type":50,"value":530},{"type":45,"tag":287,"props":592,"children":593},{},[594,599],{"type":45,"tag":314,"props":595,"children":596},{},[597],{"type":50,"value":598},"Publishing or upgrading a package",{"type":45,"tag":314,"props":600,"children":601},{},[602],{"type":50,"value":530},{"type":45,"tag":287,"props":604,"children":605},{},[606,611],{"type":45,"tag":314,"props":607,"children":608},{},[609],{"type":50,"value":610},"Destroying an object without drop",{"type":45,"tag":314,"props":612,"children":613},{},[614],{"type":50,"value":530},{"type":45,"tag":287,"props":616,"children":617},{},[618,623],{"type":45,"tag":314,"props":619,"children":620},{},[621],{"type":50,"value":622},"Emitting or subscribing to events",{"type":45,"tag":314,"props":624,"children":625},{},[626],{"type":50,"value":627},"events-coins",{"type":45,"tag":287,"props":629,"children":630},{},[631,636],{"type":45,"tag":314,"props":632,"children":633},{},[634],{"type":50,"value":635},"Creating a fungible token",{"type":45,"tag":314,"props":637,"children":638},{},[639],{"type":50,"value":640},"move + events-coins",{"type":45,"tag":287,"props":642,"children":643},{},[644,649],{"type":45,"tag":314,"props":645,"children":646},{},[647],{"type":50,"value":648},"Designing an object data model",{"type":45,"tag":314,"props":650,"children":651},{},[652,657],{"type":45,"tag":69,"props":653,"children":655},{"className":654},[],[656],{"type":50,"value":327},{"type":50,"value":658}," skill",{"type":45,"tag":287,"props":660,"children":661},{},[662,667],{"type":45,"tag":314,"props":663,"children":664},{},[665],{"type":50,"value":666},"Choosing shared vs owned objects",{"type":45,"tag":314,"props":668,"children":669},{},[670,675],{"type":45,"tag":69,"props":671,"children":673},{"className":672},[],[674],{"type":50,"value":327},{"type":50,"value":658},{"type":45,"tag":287,"props":677,"children":678},{},[679,684],{"type":45,"tag":314,"props":680,"children":681},{},[682],{"type":50,"value":683},"Using dynamic fields or collections",{"type":45,"tag":314,"props":685,"children":686},{},[687,692],{"type":45,"tag":69,"props":688,"children":690},{"className":689},[],[691],{"type":50,"value":327},{"type":50,"value":658},{"type":45,"tag":287,"props":694,"children":695},{},[696,701],{"type":45,"tag":314,"props":697,"children":698},{},[699],{"type":50,"value":700},"Setting up Object Display",{"type":45,"tag":314,"props":702,"children":703},{},[704,709],{"type":45,"tag":69,"props":705,"children":707},{"className":706},[],[708],{"type":50,"value":327},{"type":50,"value":658},{"type":45,"tag":287,"props":711,"children":712},{},[713,718],{"type":45,"tag":314,"props":714,"children":715},{},[716],{"type":50,"value":717},"Building a PTB",{"type":45,"tag":314,"props":719,"children":720},{},[721,726],{"type":45,"tag":69,"props":722,"children":724},{"className":723},[],[725],{"type":50,"value":349},{"type":50,"value":658},{"type":45,"tag":287,"props":728,"children":729},{},[730,735],{"type":45,"tag":314,"props":731,"children":732},{},[733],{"type":50,"value":734},"Implementing sponsored transactions",{"type":45,"tag":314,"props":736,"children":737},{},[738,743],{"type":45,"tag":69,"props":739,"children":741},{"className":740},[],[742],{"type":50,"value":349},{"type":50,"value":658},{"type":45,"tag":287,"props":745,"children":746},{},[747,752],{"type":45,"tag":314,"props":748,"children":749},{},[750],{"type":50,"value":751},"Building a frontend",{"type":45,"tag":314,"props":753,"children":754},{},[755,760],{"type":45,"tag":69,"props":756,"children":758},{"className":757},[],[759],{"type":50,"value":371},{"type":50,"value":658},{"type":45,"tag":287,"props":762,"children":763},{},[764,769],{"type":45,"tag":314,"props":765,"children":766},{},[767],{"type":50,"value":768},"Setting up Move.toml",{"type":45,"tag":314,"props":770,"children":771},{},[772,777],{"type":45,"tag":69,"props":773,"children":775},{"className":774},[],[776],{"type":50,"value":393},{"type":50,"value":658},{"type":45,"tag":287,"props":779,"children":780},{},[781,786],{"type":45,"tag":314,"props":782,"children":783},{},[784],{"type":50,"value":785},"Writing a complete smart contract",{"type":45,"tag":314,"props":787,"children":788},{},[789,791,796,798,803,804],{"type":50,"value":790},"move + events-coins + ",{"type":45,"tag":69,"props":792,"children":794},{"className":793},[],[795],{"type":50,"value":327},{"type":50,"value":797}," + ",{"type":45,"tag":69,"props":799,"children":801},{"className":800},[],[802],{"type":50,"value":481},{"type":50,"value":797},{"type":45,"tag":69,"props":805,"children":807},{"className":806},[],[808],{"type":50,"value":415},{"type":45,"tag":287,"props":810,"children":811},{},[812,817],{"type":45,"tag":314,"props":813,"children":814},{},[815],{"type":50,"value":816},"Code review",{"type":45,"tag":314,"props":818,"children":819},{},[820,821,826,827,832,833],{"type":50,"value":790},{"type":45,"tag":69,"props":822,"children":824},{"className":823},[],[825],{"type":50,"value":437},{"type":50,"value":797},{"type":45,"tag":69,"props":828,"children":830},{"className":829},[],[831],{"type":50,"value":481},{"type":50,"value":797},{"type":45,"tag":69,"props":834,"children":836},{"className":835},[],[837],{"type":50,"value":415},{"type":45,"tag":287,"props":839,"children":840},{},[841,846],{"type":45,"tag":314,"props":842,"children":843},{},[844],{"type":50,"value":845},"Security review \u002F access control audit",{"type":45,"tag":314,"props":847,"children":848},{},[849,851,856],{"type":50,"value":850},"move + ",{"type":45,"tag":69,"props":852,"children":854},{"className":853},[],[855],{"type":50,"value":327},{"type":50,"value":857}," (patterns) + events-coins",{"type":45,"tag":287,"props":859,"children":860},{},[861,866],{"type":45,"tag":314,"props":862,"children":863},{},[864],{"type":50,"value":865},"Advanced design patterns \u002F performance tuning",{"type":45,"tag":314,"props":867,"children":868},{},[869],{"type":50,"value":530},{"type":45,"tag":121,"props":871,"children":872},{},[],{"type":45,"tag":125,"props":874,"children":876},{"id":875},"rules",[877],{"type":50,"value":878},"Rules",{"type":45,"tag":880,"props":881,"children":882},"ul",{},[883,897,926,946,990],{"type":45,"tag":884,"props":885,"children":886},"li",{},[887,889,895],{"type":50,"value":888},"Always use ",{"type":45,"tag":69,"props":890,"children":892},{"className":891},[],[893],{"type":50,"value":894},"object::new(ctx)",{"type":50,"value":896}," to create UIDs. There is no other way.",{"type":45,"tag":884,"props":898,"children":899},{},[900,902,908,910,916,918,924],{"type":50,"value":901},"Use ",{"type":45,"tag":69,"props":903,"children":905},{"className":904},[],[906],{"type":50,"value":907},"public_transfer",{"type":50,"value":909}," (not ",{"type":45,"tag":69,"props":911,"children":913},{"className":912},[],[914],{"type":50,"value":915},"transfer",{"type":50,"value":917},") when the object has ",{"type":45,"tag":69,"props":919,"children":921},{"className":920},[],[922],{"type":50,"value":923},"store",{"type":50,"value":925}," and the call originates outside the defining module.",{"type":45,"tag":884,"props":927,"children":928},{},[929,931,937,938,944],{"type":50,"value":930},"Event structs must have ",{"type":45,"tag":69,"props":932,"children":934},{"className":933},[],[935],{"type":50,"value":936},"copy",{"type":50,"value":100},{"type":45,"tag":69,"props":939,"children":941},{"className":940},[],[942],{"type":50,"value":943},"drop",{"type":50,"value":945}," abilities.",{"type":45,"tag":884,"props":947,"children":948},{},[949,951,957,959,965,967,973,975,981,982,988],{"type":50,"value":950},"No ",{"type":45,"tag":69,"props":952,"children":954},{"className":953},[],[955],{"type":50,"value":956},"as",{"type":50,"value":958}," casts on numeric types. Use ",{"type":45,"tag":69,"props":960,"children":962},{"className":961},[],[963],{"type":50,"value":964},"from",{"type":50,"value":966},"\u002F",{"type":45,"tag":69,"props":968,"children":970},{"className":969},[],[971],{"type":50,"value":972},"into",{"type":50,"value":974}," or ",{"type":45,"tag":69,"props":976,"children":978},{"className":977},[],[979],{"type":50,"value":980},"try_from",{"type":50,"value":966},{"type":45,"tag":69,"props":983,"children":985},{"className":984},[],[986],{"type":50,"value":987},"try_into",{"type":50,"value":989},".",{"type":45,"tag":884,"props":991,"children":992},{},[993,995,1000,1002,1008],{"type":50,"value":994},"To destroy an object without ",{"type":45,"tag":69,"props":996,"children":998},{"className":997},[],[999],{"type":50,"value":943},{"type":50,"value":1001},", unpack the struct and call ",{"type":45,"tag":69,"props":1003,"children":1005},{"className":1004},[],[1006],{"type":50,"value":1007},"object::delete(id)",{"type":50,"value":1009}," on the UID.",{"type":45,"tag":125,"props":1011,"children":1013},{"id":1012},"common-mistakes",[1014],{"type":50,"value":1015},"Common mistakes",{"type":45,"tag":880,"props":1017,"children":1018},{},[1019,1042,1059],{"type":45,"tag":884,"props":1020,"children":1021},{},[1022,1040],{"type":45,"tag":61,"props":1023,"children":1024},{},[1025,1027,1032,1034,1039],{"type":50,"value":1026},"Confusing ",{"type":45,"tag":69,"props":1028,"children":1030},{"className":1029},[],[1031],{"type":50,"value":915},{"type":50,"value":1033}," with ",{"type":45,"tag":69,"props":1035,"children":1037},{"className":1036},[],[1038],{"type":50,"value":907},{"type":50,"value":989},{"type":50,"value":1041}," The non-public variant only works within the defining module. Calling it from another module is a compile error.",{"type":45,"tag":884,"props":1043,"children":1044},{},[1045,1050,1052,1057],{"type":45,"tag":61,"props":1046,"children":1047},{},[1048],{"type":50,"value":1049},"Forgetting to delete the UID.",{"type":50,"value":1051}," When destroying an object, you must call ",{"type":45,"tag":69,"props":1053,"children":1055},{"className":1054},[],[1056],{"type":50,"value":1007},{"type":50,"value":1058}," on the UID field.",{"type":45,"tag":884,"props":1060,"children":1061},{},[1062,1075,1077,1083],{"type":45,"tag":61,"props":1063,"children":1064},{},[1065,1067,1073],{"type":50,"value":1066},"Assuming ",{"type":45,"tag":69,"props":1068,"children":1070},{"className":1069},[],[1071],{"type":50,"value":1072},"ctx.epoch_timestamp_ms()",{"type":50,"value":1074}," is precise.",{"type":50,"value":1076}," It returns the epoch start time. Use the Clock object (",{"type":45,"tag":69,"props":1078,"children":1080},{"className":1079},[],[1081],{"type":50,"value":1082},"0x6",{"type":50,"value":1084},") for real-time timestamps.",{"items":1086,"total":1253},[1087,1101,1112,1122,1137,1155,1167,1180,1201,1213,1224,1240],{"slug":1088,"name":1088,"fn":1089,"description":1090,"org":1091,"tags":1092,"stars":1098,"repoUrl":1099,"updatedAt":1100},"move-bytecode-comprehension","analyze and disassemble Move bytecode","Use when reading or reasoning about compiled Move bytecode or `sui move disassemble` output. Mental model for the binary format, what survives compilation (and what's lost), and how to read disassembly soundly. Trigger on \"what does this package do?\", \"read this .mv module\", \"interpret this disassembly\", or whenever an analysis needs to interpret bytecode faithfully.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1093,1096,1097],{"name":1094,"slug":1095,"type":15},"Code Analysis","code-analysis",{"name":20,"slug":21,"type":15},{"name":14,"slug":8,"type":15},7724,"https:\u002F\u002Fgithub.com\u002FMystenLabs\u002Fsui","2026-07-16T05:59:32.904886",{"slug":1102,"name":1102,"fn":1103,"description":1104,"org":1105,"tags":1106,"stars":1098,"repoUrl":1099,"updatedAt":1111},"official-sui-skills","access official Sui development resources","Pointer to the official Mysten Labs skills for building on Sui — language fundamentals, object model, PTBs, SDKs, publishing, upgrades, frontend integration, accessing on-chain data. Maintained upstream at github.com\u002FMystenLabs\u002Fskills; pinned to the same ref the audit catalog derives from (see maintenance\u002FUPSTREAMS.md). Trigger on \"build a contract\", \"publish a package\", \"upgrade a module or package\", \"use the TypeScript SDK\", \"write a PTB\", \"set up a Sui client\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1107,1110],{"name":1108,"slug":1109,"type":15},"Documentation","documentation",{"name":14,"slug":8,"type":15},"2026-07-16T06:00:59.641382",{"slug":1113,"name":1113,"fn":1114,"description":1115,"org":1116,"tags":1117,"stars":1098,"repoUrl":1099,"updatedAt":1121},"sui-and-move-tools","disassemble Sui Move bytecode","Use to get bytecode for a deployed Sui package and produce a disassembled working view. One GraphQL call fetches every module's raw bytecode bytes; `sui move disassemble` (already on the system, running `sui prompt`) produces `.asm` files for analysis. Trigger on \"fetch this package's bytecode\", \"get me the .mv for package X\", \"disassemble this package\", or \"I need to read a deployed Sui package\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1118,1119,1120],{"name":1094,"slug":1095,"type":15},{"name":20,"slug":21,"type":15},{"name":14,"slug":8,"type":15},"2026-07-16T06:02:25.3633",{"slug":1123,"name":1123,"fn":1124,"description":1125,"org":1126,"tags":1127,"stars":1098,"repoUrl":1099,"updatedAt":1136},"sui-move-security-review","audit Sui Move smart contracts","Use when auditing, reviewing, or hunting for vulnerabilities in Move code on Sui. Applies equally to source code (.move files) and to disassembly of compiled bytecode (on-chain packages). A checklist of invariants whose VIOLATION causes exploitable bugs: access control & capabilities, struct abilities & type safety, object lifecycle & ownership, shared-object and PTB attack surface, dynamic fields & collections, arithmetic & coins, init\u002FOTW\u002Fpackage upgrades, hot-potato composability, time & on-chain randomness, and test-only code leakage. Trigger on \"audit this Move code\", \"find vulnerabilities in this Sui contract\", \"security review\", \"is this package safe?\", \"I suspect there's a bug in X\", \"something is wrong with this contract\", or when reasoning about whether a Move function can be abused.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1128,1131,1134,1135],{"name":1129,"slug":1130,"type":15},"Code Review","code-review",{"name":1132,"slug":1133,"type":15},"Security","security",{"name":23,"slug":24,"type":15},{"name":14,"slug":8,"type":15},"2026-07-16T06:02:55.691149",{"slug":1138,"name":1138,"fn":1139,"description":1140,"org":1141,"tags":1142,"stars":1152,"repoUrl":1153,"updatedAt":1154},"memwal","integrate Walrus Memory SDK","Walrus Memory SDK — portable agent memory that works across apps, sessions, and workflows.\n\nUse when users say:\n- \"add memory to my app\"\n- \"portable agent memory\"\n- \"integrate Walrus Memory\"\n- \"AI agent memory\"\n- \"memory across agents\"\n- \"Walrus memory storage\"\n- \"setup Walrus Memory\"\n- \"recall memories\"\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1143,1146,1149],{"name":1144,"slug":1145,"type":15},"Agents","agents",{"name":1147,"slug":1148,"type":15},"Memory","memory",{"name":1150,"slug":1151,"type":15},"SDK","sdk",57,"https:\u002F\u002Fgithub.com\u002FMystenLabs\u002FMemWal","2026-07-16T06:02:39.838395",{"slug":1156,"name":1156,"fn":1157,"description":1158,"org":1159,"tags":1160,"stars":28,"repoUrl":29,"updatedAt":1166},"accessing-data","read data from the Sui network","How to read data from the Sui network. Use when choosing or implementing a data access strategy — queries for on-chain state, indexing pipelines, historical lookups, event subscriptions, cross-chain reads, or off-chain blob storage. Covers the two live Sui APIs (gRPC and GraphQL RPC), the Archival Store, the General-Purpose Indexer, the `sui-indexer-alt` custom indexing framework, and Walrus for off-chain blobs.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1161,1164,1165],{"name":1162,"slug":1163,"type":15},"Data Analysis","data-analysis",{"name":14,"slug":8,"type":15},{"name":17,"slug":18,"type":15},"2026-08-01T05:44:32.775598",{"slug":1168,"name":1168,"fn":1169,"description":1170,"org":1171,"tags":1172,"stars":28,"repoUrl":29,"updatedAt":1179},"composable-move-functions","design composable Sui Move functions","Use when writing Move functions on Sui, especially public APIs. Applies to function visibility (public vs entry), parameter ordering, and return patterns. Use whenever designing function signatures or deciding whether functions should transfer objects or return them.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1173,1176,1177,1178],{"name":1174,"slug":1175,"type":15},"API Development","api-development",{"name":23,"slug":24,"type":15},{"name":14,"slug":8,"type":15},{"name":17,"slug":18,"type":15},"2026-07-16T06:02:49.198495",{"slug":1181,"name":1181,"fn":1182,"description":1183,"org":1184,"tags":1185,"stars":28,"repoUrl":29,"updatedAt":1200},"frontend-apps","build Sui dApps with dapp-kit","Sui frontend \u002F dApp development with @mysten\u002Fdapp-kit-react (React) and @mysten\u002Fdapp-kit-core (Vue, vanilla JS, Svelte, Web Components, other frameworks). Use when building browser apps that connect Sui wallets, query on-chain state, or submit transactions. Covers wallet connection, network switching, transaction execution, query patterns with TanStack React Query, and the specific pitfalls of browser + wallet + async-indexer environments. Pair with the `sui-sdks` skill for @mysten\u002Fsui Transaction construction patterns and the `ptbs` skill for PTB semantics.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1186,1189,1192,1193,1196,1199],{"name":1187,"slug":1188,"type":15},"Frontend","frontend",{"name":1190,"slug":1191,"type":15},"React","react",{"name":14,"slug":8,"type":15},{"name":1194,"slug":1195,"type":15},"Svelte","svelte",{"name":1197,"slug":1198,"type":15},"Vue","vue",{"name":17,"slug":18,"type":15},"2026-08-01T05:44:28.958473",{"slug":1202,"name":1202,"fn":1203,"description":1204,"org":1205,"tags":1206,"stars":28,"repoUrl":29,"updatedAt":1212},"generate-sui-agent-config","generate configuration files for Sui projects","Generate a CLAUDE.md or AGENT.md configuration file for Sui projects. Use when setting up a new Sui project, when user mentions \"CLAUDE.md\", \"AGENT.md\", \"agent config\", or when working on a Sui project that does not already have a CLAUDE.md or AGENT.md in the project root.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1207,1210,1211],{"name":1208,"slug":1209,"type":15},"Configuration","configuration",{"name":1108,"slug":1109,"type":15},{"name":14,"slug":8,"type":15},"2026-07-16T06:00:59.981056",{"slug":1214,"name":1214,"fn":1215,"description":1216,"org":1217,"tags":1218,"stars":28,"repoUrl":29,"updatedAt":1223},"modern-move-syntax","write Move 2024 edition code for Sui","Use when writing Move code on Sui to ensure 2024 edition syntax is used. Applies to method calls, string literals, vector operations, option handling, loops, and struct unpacking. Use whenever writing Move code to avoid legacy function-call syntax patterns.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1219,1220,1221,1222],{"name":20,"slug":21,"type":15},{"name":23,"slug":24,"type":15},{"name":14,"slug":8,"type":15},{"name":17,"slug":18,"type":15},"2026-07-16T06:02:43.277596",{"slug":1225,"name":1225,"fn":1226,"description":1227,"org":1228,"tags":1229,"stars":28,"repoUrl":29,"updatedAt":1239},"move-unit-testing","write unit tests for Sui Move contracts","Use when writing unit tests for Move smart contracts on Sui. Applies to test function naming, assertions, test attributes, context usage, and cleanup patterns. Use whenever user asks to write tests, add tests, or test a Move module.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1230,1233,1234,1235,1238],{"name":1231,"slug":1232,"type":15},"QA","qa",{"name":23,"slug":24,"type":15},{"name":14,"slug":8,"type":15},{"name":1236,"slug":1237,"type":15},"Testing","testing",{"name":17,"slug":18,"type":15},"2026-08-01T05:44:30.788585",{"slug":1241,"name":1241,"fn":1242,"description":1243,"org":1244,"tags":1245,"stars":28,"repoUrl":29,"updatedAt":1252},"naming-conventions","apply Sui Move naming conventions","Use when writing or reviewing Move smart contracts on Sui. Applies to naming structs, error constants, regular constants, events, getter functions, capability types, hot potato types, and dynamic field keys. Use whenever creating new types, functions, or constants in Move code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1246,1249,1250,1251],{"name":1247,"slug":1248,"type":15},"Best Practices","best-practices",{"name":23,"slug":24,"type":15},{"name":14,"slug":8,"type":15},{"name":17,"slug":18,"type":15},"2026-07-16T06:02:48.830052",37,{"items":1255,"total":1306},[1256,1262,1269,1278,1284,1291,1299],{"slug":1156,"name":1156,"fn":1157,"description":1158,"org":1257,"tags":1258,"stars":28,"repoUrl":29,"updatedAt":1166},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1259,1260,1261],{"name":1162,"slug":1163,"type":15},{"name":14,"slug":8,"type":15},{"name":17,"slug":18,"type":15},{"slug":1168,"name":1168,"fn":1169,"description":1170,"org":1263,"tags":1264,"stars":28,"repoUrl":29,"updatedAt":1179},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1265,1266,1267,1268],{"name":1174,"slug":1175,"type":15},{"name":23,"slug":24,"type":15},{"name":14,"slug":8,"type":15},{"name":17,"slug":18,"type":15},{"slug":1181,"name":1181,"fn":1182,"description":1183,"org":1270,"tags":1271,"stars":28,"repoUrl":29,"updatedAt":1200},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1272,1273,1274,1275,1276,1277],{"name":1187,"slug":1188,"type":15},{"name":1190,"slug":1191,"type":15},{"name":14,"slug":8,"type":15},{"name":1194,"slug":1195,"type":15},{"name":1197,"slug":1198,"type":15},{"name":17,"slug":18,"type":15},{"slug":1202,"name":1202,"fn":1203,"description":1204,"org":1279,"tags":1280,"stars":28,"repoUrl":29,"updatedAt":1212},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1281,1282,1283],{"name":1208,"slug":1209,"type":15},{"name":1108,"slug":1109,"type":15},{"name":14,"slug":8,"type":15},{"slug":1214,"name":1214,"fn":1215,"description":1216,"org":1285,"tags":1286,"stars":28,"repoUrl":29,"updatedAt":1223},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1287,1288,1289,1290],{"name":20,"slug":21,"type":15},{"name":23,"slug":24,"type":15},{"name":14,"slug":8,"type":15},{"name":17,"slug":18,"type":15},{"slug":1225,"name":1225,"fn":1226,"description":1227,"org":1292,"tags":1293,"stars":28,"repoUrl":29,"updatedAt":1239},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1294,1295,1296,1297,1298],{"name":1231,"slug":1232,"type":15},{"name":23,"slug":24,"type":15},{"name":14,"slug":8,"type":15},{"name":1236,"slug":1237,"type":15},{"name":17,"slug":18,"type":15},{"slug":1241,"name":1241,"fn":1242,"description":1243,"org":1300,"tags":1301,"stars":28,"repoUrl":29,"updatedAt":1252},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1302,1303,1304,1305],{"name":1247,"slug":1248,"type":15},{"name":23,"slug":24,"type":15},{"name":14,"slug":8,"type":15},{"name":17,"slug":18,"type":15},20]