What problem does it solve?
Makepad 2.0 replaced the compile-time live_design! macro with the runtime script_mod! macro, and developers migrating or writing new UI code frequently hit syntax errors, invisible widgets, and silent override failures without a complete reference to the new DSL rules.
Core Features & Use Cases
- Complete DSL Syntax Guide: Covers colon property syntax, named instances (:=), merge operator (+:), dot-path shorthand, let bindings, spread operator, and debug logging.
- Registration Patterns: Documents widget, component, and draw shader registration with correct module ordering and cross-module sharing via mod.widgets.
- Pitfall Prevention: Catalogs 10+ common mistakes including missing #[source] fields, hex color 'e' parsing errors, and Fill/Fit circular dependencies.
- Use Case: When building a Makepad 2.0 app and your custom widget renders invisibly or a template override silently fails, consult this Skill to identify the exact syntax or registration error and apply the correct pattern.
Quick Start
Ask the AI to write a Makepad 2.0 script_mod! block defining a styled card widget with a named title label and explain the correct registration order.