Install any skill in seconds. Free to start, no credit card required.
Get Started Free →zhanghandong/makepad-2.0-troubleshooting
CRITICAL:
Passed 21 of 22 test cases with the skill, and 10 of 22 without it.
and 12 more in the full report
11 fixed10 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 11 test cases the skill fixed. Same model, same prompt, with and without the skill.
In my Splash UI definition for Makepad 2.0, setting `draw_bg.color: #2ecc71` triggers a Rust macro parsing error complaining about exponent digits. A colleague advised converting the color to `#2ecc71ff` or using RGBA floats. What is the precise fix for hex color literals containing 'e' in Splash, and how should this color be written?
| Checked | Without skill | With skill |
|---|---|---|
| Explains that the parser interprets digits followed by e as scientific notation exponents. | Passed | Passed |
| Prescribes writing the color with the #x prefix as #x2ecc71. | Missed | Passed |
The instructions your model reads when the skill loads.
This skill covers common mistakes when building with Makepad 2.0 and the Splash scripting language. Each pitfall includes:
Reference documents: AGENTS.md, splash.md
Symptom: Your entire UI or a section of it does not appear. The container renders with zero height, making all children invisible.
Root Cause: All View-based containers (View, SolidView, RoundedView, etc.) default to height: Fill. When a Fill container is placed inside a Fit parent (or any context where the available height is determined by children), the height resolves to 0px due to circular dependency: the parent asks the child how tall it is, the child says "as tall as my parent", and the result is zero.
Fix: Always set height: Fit on containers that should shrink-wrap their content.
// WRONG -- height defaults to Fill, resolves to 0px in a Fit context
View{
flow: Down
Label{text: "Hello"}
}
// CORRECT -- height: Fit makes the container wrap its children
View{
height: Fit
flow: Down
Label{text: "Hello"}
}
Rule of thumb: Write height: Fit immediately after the opening brace of every container unless you have a fixed-height parent or you explicitly want height: Fill inside a known fixed-size ancestor.
Exception: Inside a fixed-height parent, height: Fill is valid:
View{
height: 300
test cases passed, vs 10 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.