🧩
Frontend

Makepad 2.0 DSL

by ZhangHanDong

Makepad 2.0 DSL is a Frontend skill for Claude Code, published by ZhangHanDong in makepad-skills.

745 stars87 forkson ZhangHanDong/makepad-skillsAdded 2026/08/23Repository updated 2026/04/07
appclaudeclaude-codecross-platformmakepadrustskills
Install in seconds
Install Makepad 2.0 DSL
Copy Makepad 2.0 DSL into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/ZhangHanDong/makepad-skills/tree/main/skills/makepad-2.0-dsl ~/.claude/skills/makepad-2.0-dsl

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/ZhangHanDong/makepad-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/makepad-2.0-dsl/SKILL.md in ZhangHanDong/makepad-skills
Installs to
~/.claude/skills/makepad-2.0-dsl
Collection
One of 14 skills cataloged from this repository
Category
Frontend567 skills

What Makepad 2.0 DSL does

Makepad 2.0 DSL explains the script_mod! syntax, property system, and widget registration used in Makepad 2.0. Use it when writing or updating Makepad UI scripts, templates, and custom widget modules.

Makepad 2.0 DSL is cataloged under Frontend on DirSkills. Makepad 2.0 DSL comes from a repository tagged app, claude, claude-code, cross-platform and makepad.

Documentation

README

Makepad 2.0 DSL Syntax Skill

Overview

Makepad 2.0 replaced the compile-time live_design! macro with the runtime script_mod! macro, powered by the Splash scripting language. This skill covers the complete DSL syntax, property system, registration patterns, and common pitfalls.

Key Syntax Rules

Property Assignment: Colon, NOT Equals

key: value          // CORRECT - colon syntax
key = value         // WRONG - old 1.x syntax, no longer works

Properties are whitespace/newline separated. No commas between siblings.

View{
    width: Fill
    height: Fit
    flow: Down
    spacing: 10
    padding: 15
}

Named Instances: := Operator

Use := to create addressable, named widget instances:

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Makepad 2.0 DSL

  • What else does ZhangHanDong publish alongside Makepad 2.0 DSL?

    Makepad 2.0 DSL is one of 14 skills that DirSkills catalogs from ZhangHanDong/makepad-skills, the repository it ships in. Its siblings there include Makepad 1.x To 2.0 Migration, Makepad 2.0 App Structure and Makepad 2.0 Events. Each one is a separate skill with its own page in this directory, installs the same way Makepad 2.0 DSL does, and is maintained by ZhangHanDong in that same repository. The rest of the collection is listed on the ZhangHanDong/makepad-skills page.

  • How does Makepad 2.0 DSL compare to other Frontend skills?

    Makepad 2.0 DSL ranks #397 by stars among the 567 Frontend skills in this catalog. The most-starred ones next to it are Angular Developer, Android Clean Architecture and Accessibility. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Makepad 2.0 DSL against them. Open each page to compare what they document and how they install.

More from ZhangHanDong/makepad-skills

Makepad 2.0 DSL is one of 14 skills cataloged on DirSkills from ZhangHanDong/makepad-skills.

See all 14 skills
🔧
1w ago

Makepad 1.x To 2.0 Migration

Makepad 1.x To 2.0 Migration helps convert Makepad 1.x code to 2.0 syntax and APIs. Use it when replacing live_design, LiveHook, apply_over, or old widget syntax during an upgrade.
Frontend
74587
🧩
1w ago

Makepad 2.0 App Structure

Makepad 2.0 App Structure explains how to set up a Makepad app with Rust, Splash scripting, event handling, and hot reload. Use it when starting a new Makepad project or wiring Rust and UI code together.
Frontend
74587
🧩
1w ago

Makepad 2.0 Events

Makepad 2.0 Events covers Splash inline handlers and Rust-side MatchEvent handling for UI events, actions, input, and lifecycle callbacks. Use it when wiring clicks, text input, render updates, or platform events in Makepad 2.0.
Frontend
74587
🎨
1w ago

Makepad 2.0 Shaders

Makepad 2.0 Shaders covers Makepad's inline GPU shader system for draw_bg, draw_text, and custom draw types. Use it when writing pixel and vertex functions, SDF2D shapes, or premultiplied-alpha colors.
Frontend
74587
🎨
1w ago

Makepad 2.0 Theme

Makepad 2.0 Theme provides the theme variables and built-in themes used in Splash scripts for colors, typography, spacing, and widget states. Use it when setting up app themes, switching dark and light modes, or styling UI with theme.* values instead of hardcoded numbers.
Frontend
74587
🛠️
1w ago

Makepad 2.0 Troubleshooting

Makepad 2.0 Troubleshooting helps diagnose common Makepad 2.0 and Splash issues like invisible UI, missing text, failed clicks, hot reload problems, and build errors. Use it to find the likely cause and the correct fix.
Quality
74587