Lvgl Preview Skill — Design skill for Claude Code
Claude Code skill: design embedded LVGL (MicroPython) UIs with a headless render→PNG feedback loop.
How to install Lvgl Preview Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open zhoushoujianwork/lvgl-preview-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Lvgl Preview Skill does
Claude Code skill: design embedded LVGL (MicroPython) UIs with a headless render→PNG feedback loop. Auto-adapts LVGL 8.x/9.x. Validated on K230 CanMV.
Alternatives in Design
- Canvas Design — Create beautiful visual art in PNG and PDF documents using design philosophy 94.1k ★
- Export Diagram — Export a diagram-design HTML file to .svg and .png next to the source 27.2k ★
- Studio — Launch the local design Studio — a live token editor over the latest extraction 3.6k ★
README
lvgl-preview
A **Claude Code skill** for designing embedded **LVGL** (MicroPython) UIs with a tight visual feedback loop: write a `build(scr)` function, render it headless to a PNG on your computer, and have the agent *read the image* to confirm the result — no device, no browser, no flashing. Edit, render, look, iterate in seconds.
Auto-adapts to **LVGL 8.x and 9.x** (fonts / `line` / `qrcode` / display binding branch on version), so the same `build(scr)` runs on a v8 desktop preview *and* a v9 device like the **K230 CanMV**.

The gallery above is the K230 vision-gate access-control UI (standby / detecting / extracting / success / failure / binding / sleep) — designed entirely through this skill's desktop preview, then deployed pixel-faithfully to the real ST7701 panel.
Why
Iterating on an embedded LCD UI normally means flash → look at the panel → repeat, which is slow and invisible to an AI agent. This skill renders the **LVGL widget tree** through a headless `lv_micropython` (SDL unix port) straight to a PNG, so:
- Edit → render → read PNG → iterate in seconds, no hardware in the loop.
- An AI agent can see its own UI and self-correct.
- The exact same UI code ships to the device (only display init changes).
Install
Clone once, then `install.sh` **symlinks** the repo into your Claude Code skills dir — so you develop in this one repo and every project picks up edits live (no copy, no re-sync):
git clone https://github.com/zhoushoujianwork/lvgl-preview-skill.git
cd lvgl-preview-skill
./install.sh # -> ~/.claude/skills/lvgl-preview (all projects)
./install.sh --project /path/app # -> /.claude/skills/lvgl-preview (one project)
./install.sh --uninstall # remove the link
The skill triggers on phrases like "lvgl preview", "渲染 LVGL", "embedded UI preview".
⚠️ **Symlink caveat for on-devi
Related Skills
Buildable Preview
Render the running prototype in a headless browser, screenshot it, and catch runtime/visual errors.
Gongnangi Chart Skill
Claude Code skill: McKinsey/Bain consulting-style HTML chart generator with Chrome headless PNG export
Wp Headless Review
Headless WordPress and WPGraphQL review - validates schema design, resolver safety, preview/auth flows, and ca
Claude Design X Figma
Figma plugin that scrapes any live URL and rebuilds it as native Figma frames — auto-layout, fills, strokes, t
Figure Bake
Drive one figure from design brief to manuscript-ready PDF + outline PNG. Three-agent loop (@figure-descriptor
Screenshot Iterate
Visual loop — implement against a mock, screenshot the running app with a browser tool, compare, and iterate u
Related Agents
Repo Screenshot
Capture a clean PNG of a GitHub repository for use as a slide overlay. Given a repo URL or owner/repo, decides
E2e Test Author
Specialist for end-to-end browser tests. Playwright against the Vercel preview URL. Use for critical user jour
Dotnet Blazor Specialist
Guides Blazor development across all hosting models (Server, WASM, Hybrid, Auto). Component design, state mana