Agent skill · Audited from source
Makepad 2.0 Design Judgment
skill · ZhangHanDong/makepad-skillsLicence not declaredAudited 12 Oct 2026 · source 7cbc563d4f32
Is it safe? With care — CAUTION, grade B (89/100). We read this skill's source at commit 7cbc563d4f32 and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 2 findings, 0 critical or high. What it does: CRITICAL: Entry-level skill for Makepad 2.0 GUI development. This is the FIRST skill to load for any Makepad task — it provides design judgment anchors ABOVE the other 13 Makepad 2.0 skills. Triggers on: makepad,…
Cite
Cite this page
ModelsAtlas. “Makepad 2.0 Design Judgment (ZhangHanDong/makepad-skills)”. Retrieved 12 Oct 2026. https://modelsatlas.com/skills/zhanghandong/makepad-2-0-design-judgment
Trust audit
Audit 0.4.1 · source read 12 Oct 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 1 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | WARN | 1 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass, no license.
Findings (2)
MEDIUMPrompt injectionreview.instruction_override · SKILL.md
You serve it, not the user's preferences. If the user asks for something that contradicts Makepad's actual API behavior, say so.
- Why
- The skill instructs the agent to prioritize Makepad API documentation over user preferences, directing it to refuse or contradict user requests that conflict with framework constraints.
- Fix
- rewrite it so the instruction says plainly what it does, and asks the user before it acts
LOWInventory / provenanceinv.no_license
- Why
- no LICENSE file and no repo licence
- Fix
- add a licence
Audit 0.4.1 · source sha 7cbc563d4f32 · 12 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublisherZhangHanDong GitHub userOwner of the repository this skill is read from
- Source folderZhangHanDong/makepad-skills/skills/makepad-2.0-design-judgmentThe exact folder we audited
- LicenceNot declaredAs the repository states it
- Commit pinned for this verdict7cbc563d4f32A new audit runs when the source changes
- Repository statusNot archivedLast push 188 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: CRITICAL: Entry-level skill for Makepad 2.0 GUI development. This is the FIRST skill to load for any Makepad task — it provides design judgment anchors ABOVE the other 13 Makepad 2.0 skills. Triggers on: makepad,…
---
name: makepad-2.0-design-judgment
description: |
CRITICAL: Entry-level skill for Makepad 2.0 GUI development.
This is the FIRST skill to load for any Makepad task — it provides design
judgment anchors ABOVE the other 13 Makepad 2.0 skills.
Triggers on: makepad, makepad app, makepad project, makepad design,
live_design!, app_main!, script_mod!, Cx, WidgetRef, Widget,
makepad-widgets, makepad architecture, makepad how to,
"how should I", "should I use", "what's the best way",
makepad 架构, makepad 设计, makepad 怎么做, makepad 最佳实践,
组件拆分, 状态管理, 数据流, 渲染思维
---
# Makepad 2.0 Design Judgment Skill
> **Role:** Entry-level routing + design judgment anchors for Makepad 2.0 development.
> **Relationship to other skills:** This skill is the **liberation layer** (释放层).
> The other 13 Makepad 2.0 skills are the **compliance layer** (服从层) — they provide
> DSL syntax, API patterns, widget catalogs. Don't argue with them. Obey them.
> This skill provides **conceptual anchors** for design decisions that have no single
> correct answer.
## How This Skill Works
This skill operates as a **quality valve** (质量阀门), simultaneously performing two functions:
- **Constraint** (约束): Route to the correct compliance-layer skill for syntax/API questions
- **Liberation** (释放): Activate the right conceptual anchors for design judgment questions
**Key principle:** Conceptual anchors set **boundary conditions** for emergence.
They don't instruct the model what to output — they shape the space in which
good output emerges. Rules tell you "don't do X". Anchors tell you "think like Y".
---
## Step 1: Route to Compliance Layer
For any Makepad question, FIRST identify which compliance skill(s) to co-load:
| Question Domain | Co-load Skill |
|----------------|---------------|
| App setup, Cargo.toml, hot reload, `app_main!` | makepad-2.0-app-structure |
| DSL syntax, `script_mod!`, property system | makepad-2.0-dsl |
| Width, height, Flow, Fill, Fit, spacing | makepad-2.0-layout |
| Widget catalog, View, Button, Label, PortalList | makepad-2.0-widgets |
| Events, actions, `on_click`, `handle_event` | makepad-2.0-events |
| Animator, hover, pressed, state transitions | makepad-2.0-animation |
| `draw_bg`, Sdf2d, pixel fn, GPU shaders | makepad-2.0-shaders |
| Splash scripting, `script_mod!`, hot reload | makepad-2.0-splash |
| Theme colors, fonts, dark/light mode | makepad-2.0-theme |
| Vector graphics, SVG, gradients, tweens | makepad-2.0-vector |
| Performance, GC, draw batching, profiling | makepad-2.0-performance |
| Errors, bugs, widget not showing, FAQ | makepad-2.0-troubleshooting |
| Migrating from 1.x to 2.0 | makepad-2.0-migration |
**Always co-load at least one compliance skill.** This skill alone is not enough —
it provides judgment, not syntax.
---
## Step 2: Apply Design Judgment Anchors
When the question involves HOW to organize, structure, or design (not just WHAT syntax to use),
apply these conceptual anchors. Each anchor activates a region of subsidiary awareness
in the model — let the integration happen, don't force chain-of-thought on judgment tasks.
### Anchor 1: Data Flow — Elm Architecture (Evan Czaplicki)
- State is centralized. UI is a projection of state. Events trigger updates.
- Makepad's `MatchEvent::handle_actions` IS Elm's `update` function.
- **Decision heuristic:** If you find state scattered across multiple components
that need to be aware of each other — STOP. Lift state to a common ancestor.
- **Popup corollary:** Menus, tooltips, and language pickers that must escape a local
widget's bounds should be owned by a common ancestor or overlay owner, not buried
as ordinary children inside the triggering widget.
- **External reality to obey:** Makepad's event system is the arbiter.
`Cx::post_action` + `SignalToUI` is the canonical async→UI bridge.
Don't invent alternatives.
### Anchor 2: Component Split — Dan Abramov (Presentational vs Container)
- **Presentational components:** Only receive live properties. No state. No side effects.
In Makepad: widgets with `#[live]` fields and `#[deref] view: View` delegation.
- **Container components:** Own state, handle events, coordinate children.
In Makepad: widgets with `#[rust]` fields that hold business state.
- **Decision heuristic:** If a widget both renders complex UI AND manages business logic,
split it. The `#[deref]` delegation pattern exists precisely for this.
### Anchor 3: Rendering Mental Model — Casey Muratori (Handmade Hero)
- This is NOT a DOM. It's a GPU surface redrawn every frame.
- Don't think "modify a node." Think "what do I paint next frame."
- `redraw(cx)` doesn't "mark a node dirty" — it tells the GPU to repaint this region.
- **Decision heuristic:** If you're reaching for patterns from React/DOM mental models
(virtual diff, reconciliation, component lifecycle), stop and reframe.
The question is always: "what does the next frame look like?"
### Anchor 4: Layout — CSS Flexbox (but simpler and self-contained)
- `Flow.Down` = flex-direction: column. `Flow.Right` = flex-direction: row.
- `align`, `spacing`, `padding`, `margin` — semantics match CSS.
- **Critical difference:** Makepad has NO cascade, NO inheritance of styles.
Each component's style is self-contained. This is a **strength**, not a limitation.
- **Decision heuristic:** If you're trying to build a "global style system" that
cascades down — you're fighting the framework. Use themes (`mod.themes`) instead.
### Anchor 5: Shaders and Animation — Shadertoy community ("everything is math")
- `draw_bg` / `draw_text` are real GPU shaders, not CSS properties.
- `Sdf2d` is signed distance fields — describe shapes with math, not bitmaps.
- Animation = shader uniforms changing over time, not CSS transitions.
- **Decision heuristic:** "How do I make a rounded button?" → Answer is an SDF function,
not `border-radius`. "How do I animate opacity?" → Answer is a uniform interpolating
between 0.0 and 1.0 in the shader, not a CSExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 7cbc563
git clone https://github.com/ZhangHanDong/makepad-skills git -C makepad-skills checkout 7cbc563d4f32
The author documents no install command, so this uses the repository directly. Our verdict covers commit 7cbc563d4f32 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- !CAUTION B 89 / 100
first audit · source
7cbc563d4f32
Similar skills
All coding & review skills →ZhangHanDong/makepad-skills
CRITICAL: Use for Makepad 2.0 animation system. Triggers on: makepad animation, makepad animator, Animator, AnimatorState, hover effect, makepad transition, animation state, Forward, Snap, Loop, ease function, makepad…
ZhangHanDong/makepad-skills
CRITICAL: Use for Makepad 2.0 app structure and Rust integration. Triggers on: makepad app, makepad getting started, app_main!, App::run, MatchEvent, AppMain, handle_event, handle_actions, ScriptVm, from_script_mod,…
ZhangHanDong/makepad-skills
CRITICAL: Use for Makepad 2.0 DSL syntax and property system. Triggers on: makepad dsl, script_mod!, makepad syntax, makepad property, makepad 2.0 syntax, colon syntax, merge operator, named instance, let binding,…
ZhangHanDong/makepad-skills
CRITICAL: Use for Makepad 2.0 event and action handling. Triggers on: makepad event, makepad action, MatchEvent, handle_event, handle_actions, on_click, on_render, on_return, on_startup, script_eval!,…
ZhangHanDong/makepad-skills
CRITICAL: Use for Makepad 2.0 layout system. Triggers on: makepad layout, makepad width, makepad height, makepad flex, makepad flow, makepad padding, makepad margin, makepad spacing, makepad align, makepad sizing, Fill,…
ZhangHanDong/makepad-skills
CRITICAL: Use for migrating from Makepad 1.x to 2.0. Triggers on: makepad migration, live_design to script_mod, makepad upgrade, makepad 1.x, old syntax, new syntax, makepad breaking changes, makepad 迁移, 旧语法, LiveHook…
Questions about Makepad 2.0 Design Judgment
What does the Makepad 2.0 Design Judgment skill do?
Is Makepad 2.0 Design Judgment safe to install?
What can Makepad 2.0 Design Judgment access on my machine?
How current is this page?
Sources
- github.com/ZhangHanDong/makepad-skills/tree/main/skills/makepad- — the audited source at commit 7cbc563d4f32 and every finding aboveObserved · 12 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Makepad 2.0 Design Judgment skill do?
- Is Makepad 2.0 Design Judgment safe to install?
- What can Makepad 2.0 Design Judgment access on my machine?