# makepad-2.0-design-judgment

Entry skill for Makepad 2.0 architecture: routes syntax questions to specialized skills and anchors design decisions on data flow, component split, and GPU rendering.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · ★ 751
- Author: ZhangHanDong
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ZhangHanDong/makepad-skills/tree/HEAD/skills/makepad-2.0-design-judgment/SKILL.md
- Updated: 2026-04-07
- HTML: https://affpapa.org/en/nevibecode/skills/makepad-20-design-judgment

## What it does

Acts as a router and anchor set. Syntax questions (DSL, widgets, events) go to 13 specialized Makepad skills; architectural decisions flow through six anchors: Elm data flow with state lifting, Abramov's presentational and container split, GPU rendering without DOM reconciliation, self-contained styles without cascade, SDF shaders instead of CSS, cross-platform rendering without native controls.

Needs `npx` and Node.js to install. State in Makepad is centralized: `MatchEvent::handle_actions` is Elm's `update`, popups and menus must belong to a common ancestor rather than nested inside the trigger. This is the entry point for any Makepad task, but syntax remains unknown without the other repository skills.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add ZhangHanDong/makepad-skills --skill makepad-2.0-design-judgment -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/makepad-2.0-design-judgment/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/makepad-2.0-design-judgment/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add ZhangHanDong/makepad-skills --skill makepad-2.0-design-judgment -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/makepad-2.0-design-judgment/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add ZhangHanDong/makepad-skills --skill makepad-2.0-design-judgment -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/makepad-2.0-design-judgment/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install ZhangHanDong/makepad-skills makepad-2.0-design-judgment
```

2. **Manually: put the files in place**
- File: `.github/skills/makepad-2.0-design-judgment/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add ZhangHanDong/makepad-skills --skill makepad-2.0-design-judgment -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/ZhangHanDong/makepad-skills --path skills/makepad-2.0-design-judgment
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/makepad-2.0-design-judgment/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add ZhangHanDong/makepad-skills --skill makepad-2.0-design-judgment -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/ZhangHanDong/makepad-skills/tree/HEAD/skills/makepad-2.0-design-judgment/SKILL.md

## When to use it
- Route a question about `live_design!` syntax to makepad-2.0-dsl skill
- Lift scattered state to a common ancestor following Elm rule
- Split a widget mixing business logic and rendering into presentational and container
- Switch from DOM reconciliation thinking to GPU frame model
- Explain why a popup should not be a child widget of its trigger

## Example prompts
- Which skill should I load for Makepad widget work?
- Where should I hold state for a menu that needs to overlay the whole screen?
- How do I split a component that both renders UI and handles events?

## Similar
- [frontend-design](https://affpapa.org/en/nevibecode/skills/frontend-design.md) — skill · 1025790 installs
- [design-taste-frontend](https://affpapa.org/en/nevibecode/skills/design-taste-frontend.md) — skill · 678700 installs
- [prototype](https://affpapa.org/en/nevibecode/skills/prototype.md) — skill · 986201 installs
- [hyperframes](https://affpapa.org/en/nevibecode/skills/heygen-com-hyperframes.md) — skill · 1200000 installs
- [hyperframes-cli](https://affpapa.org/en/nevibecode/skills/heygen-com-hyperframes-cli.md) — skill · 1300000 installs
- [webapp-testing](https://affpapa.org/en/nevibecode/skills/webapp-testing.md) — skill · 186758 installs

From the same set: [zhanghandong/makepad-skills](https://affpapa.org/en/nevibecode/by/zhanghandong/makepad-skills.md) — 14 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
