/lvgl-preview:lvgl-previewfrom lvgl-preview
Build and inspect a desktop preview of an LVGL embedded UI at a requested display size, rotation, and color depth before hardware bring-up. Use when the user asks to preview, render, resize, compare, or troubleshoot an LVGL display UI, simulator, or board profile.
Ships in lvgl-preview. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Use this skill for desktop composition checks of LVGL interfaces. A passing desktop preview is not evidence that a physical display, touch controller, bus, timing configuration, pin map, backlight, or power system works.
Do not use this skill for browser UI work, flashing hardware, asserting physical-display correctness, or changing a board driver without a separate hardware bring-up plan.
references/project-detection.md; inspect the project's build files and display initialization before running commands.references/display-profiles.md only as a starting point. Do not infer controller, offsets, inversion, touch mapping, GPIOs, timing, or electrical limits from a resolution alone.Run from this skill directory or use an absolute path to the scripts:
python3 scripts/preview.py --project-root /path/to/project \
--width W --height H --rotation R --color-depth D --dry-run
python3 scripts/preview.py --project-root /path/to/project \
--width W --height H --rotation R --color-depth D
The dry run must identify the exact source/configuration files and build/executable paths before the mutating run. The script uses a reversible local backup, never invokes a shell, never prints environment variables, and refuses ambiguous file matches. Load references/preview-backend.md for project-specific integration details.
The mutating run:
sdl_hal_init(width, height) call and LV_COLOR_DEPTH definition.cmake --build unless --no-build is explicitly selected..lvgl-preview/ directory.OK or NO-GO.Record the decision with:
python3 scripts/record_decision.py --project-root /path/to/project --decision OK
The decision recorder stops the preview process. Use NO-GO to additionally restore the exact pre-preview files and verify the rollback. Never treat silence, build success, screenshots, or “looks reasonable” as approval.
Report separately:
Run python3 scripts/validate_skill.py before claiming the skill package is valid. Stop after three repair attempts for the same failure, or sooner if the simulator, required tools, or safe rollback is unavailable. Use references/troubleshooting.md for failure-specific checks.
assets/final-report-template.md (opens in a new tab)assets/loop-state.template.json (opens in a new tab)evals/evals.json (opens in a new tab)references/display-profiles.md (opens in a new tab)references/preview-backend.md (opens in a new tab)references/project-detection.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)scripts/preview.py (opens in a new tab)scripts/record_decision.py (opens in a new tab)scripts/validate_skill.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (wedsamuel1230/lvgl-preview-agent-skill) — no native marketplace selected
npx claudepluginhub p/wedsamuel1230-lvgl-preview