Skip to main content
skill CX Codex

makepad-2.0-splash — Claude Code skill: what it does, how to install

Guides coding agents through the Splash scripting language for Makepad 2.0. Helps build reactive UIs inside Rust while avoiding silent layout bugs.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add ZhangHanDong/makepad-skills --skill makepad-2.0-splash -a claude-code
Open on GitHub

What makepad-2.0-splash does

This skill equips the agent with knowledge about Splash, the runtime UI scripting engine introduced in Makepad 2.0. Splash replaces live_design! macros with script_mod!. Its syntax eliminates commas between properties as well as semicolons. Blocks merge using +:, while child nodes bind through :=.

The scripting VM runs incremental parsing checkpoints. This architecture supports live UI rendering while an LLM streams tokens. The runtime tracks code changes with ScriptModKey to enable hot reloading. However, adding or removing Rust #(...) bindings breaks hot reload and forces a full rebuild.

Layout bugs happen easily. Top containers default to height: Fill, collapsing heights to zero pixels unless assigned height: Fit. For text inside styled views, the engine requires new_batch: true to render correctly.

What it helps with

  • write Makepad 2.0 UI components using script_mod! syntax
  • trigger UI updates from Rust code via script_eval!
  • configure reactive rendering with mod.state and on_render
  • fix 0px collapsed layout bugs caused by container sizing defaults

Example prompts for the agent

  • Create a counter view in Makepad 2.0 using the Splash script_mod macro
  • Add a reactive on_render callback to display todo items in Splash
  • Update mod.state from a Rust event handler using script_eval

How to install makepad-2.0-splash

1Skills CLI (Vercel)

npx skills add ZhangHanDong/makepad-skills --skill makepad-2.0-splash -a claude-code

2Manually: put the files in place

~/.claude/skills/makepad-2.0-splash/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/makepad-2.0-splash/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about makepad-2.0-splash

How do I install makepad-2.0-splash in Claude Code?

Run npx skills add ZhangHanDong/makepad-skills --skill makepad-2.0-splash -a claude-code in your terminal. The tool places the skill definition into your project configuration.

What does makepad-2.0-splash do?

It teaches AI models how to write Splash scripting code for the Makepad 2.0 Rust framework. The skill covers VM bindings, hot reloading rules, and layout constraints.

Why does my Splash container disappear?

Splash containers collapse to 0px height if left on the default height: Fill. You must explicitly set height: Fit on UI containers.

Similar skills

All skills for Frontend and UI →

From the same set14

makepad-2.0-widgets Tells your agent which widgets Makepad 2.0 ships and how to write them in Splash. Useful when you build UI and keep forgetting property names. CX Codex +1 ★ 751repo stars makepad-2.0-vector Teaches your coding assistant how to write vector shapes and animations for Makepad 2.0. Generates inline SVG paths, gradients, and UI icons. CX Codex +1 ★ 751repo stars makepad-2.0-troubleshooting A skill that walks through the usual Makepad 2.0 and Splash failures: layouts that never appear, text hidden behind a background, broken overrides. Useful when the UI compiles but looks wrong. CX Codex +1 ★ 751repo stars makepad-2.0-theme A skill covering the Makepad 2.0 theme system: theme.* variables, dark and light modes, colors, fonts and spacing in Splash. CX Codex +1 ★ 751repo stars makepad-2.0-shaders This skill guides agents writing Makepad 2.0 shaders, from SDF2D shapes to custom widget drawing. Use it when shader work needs to follow Makepad’s GPU conventions. CX Codex +1 ★ 751repo stars makepad-2.0-performance A skill for tuning and debugging Makepad 2.0: draw batching, Splash VM garbage collection and texture caching explained. CX Codex +1 ★ 751repo stars makepad-2.0-migration Guides coding assistants through upgrading Rust UI code from Makepad 1.x to 2.0. Helps rewrite layout macros and lifecycle hooks. CX Codex +1 ★ 751repo stars makepad-2.0-layout This skill guides an agent through sizing widgets and arranging children in Makepad 2.0. Use it when building a screen or tracing an invisible container. CX Codex +1 ★ 751repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor