Explains how to generate and secure onchain randomness in Sui Move with the Random shared object at 0x8 and RandomGenerator. Use when the user asks how to generate a random number, roll dice, shuffle, draw a lottery winner, or assign a random NFT rarity in Move; mentions sui::random, Random (0x8), new_generator, generate_u128, generate_u8_in_range, generate_bytes, or shuffle; asks why a public function taking Random or RandomGenerator fails to compile; or asks about composition and abort-filtering attacks, PTB restrictions after a MoveCall consuming Random, RandomGenerator state leakage via bcs::to_bytes, commit-reveal patterns, balancing gas between winning and losing paths, or passing the Random object from TypeScript.
Explains how to generate and secure onchain randomness in Sui Move with the Random shared object at 0x8 and RandomGenerator. Use when the user asks how to generate a random number, roll dice, shuffle, draw a lottery winner, or assign a random NFT rarity in Move; mentions sui::random, Random (0x8), new_generator, generate_u128, generate_u8_in_range, generate_bytes, or shuffle; asks why a public function taking Random or RandomGenerator fails to compile; or asks about composition and abort-filtering attacks, PTB restrictions after a MoveCall consuming Random, RandomGenerator state leakage via bcs::to_bytes, commit-reveal patterns, balancing gas between winning and losing paths, or passing the Random object from TypeScript.
Installation & variants
Download the repository, including the skill’s supporting files.
DEPRECATED: This skill has been replaced by `mcp-app-builder`. Check if `mcp-app-builder` is available in the skills folder. If not, install it: `npx skills install mcp-use/mcp-use --skill mcp-app-builder` Use `mcp-app-builder` instead of this skill. Build ChatGPT apps…
Symfony UX Map for interactive maps with Leaflet or Google Maps in Symfony. Covers markers, polygons, polylines, circles, info windows, and LiveComponent integration. Use when displaying maps, placing markers, drawing shapes or routes, handling map events,…
Prompt-to-UI, JSON-to-UI and generative-interface patterns — component registries, schema validation, and the guardrails generated markup must pass. Use when building or consuming AI-generated UI — prompt-to-component scaffolding, schema-driven or server-driven rendering, a chat surface that renders…
catalog/ai-ui-generation/SKILL.md
Share a useful AI product
Tell people what it does. Our editors review each submission before publishing.
No comments yet