lvgl-integration
Skill1 starsChanged 8 days agoMITView on GitHub
Preserve MicroTech display-pipeline ownership when changing registration, draw submission, flush completion, suspend/resume, or transitions. Covers esp_lvgl_adapter, App Manager, and BSP boundaries; use esp32 for electrical and pin facts.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- aesthetic-reviewSkill
- app-developmentSkill
- codesizeSkill
- design-contractSkill
- device-operationsSkill
- esp32Skill
- lvgl-ui-layoutSkill
- motion-interactionSkill
- ui-reviewSkill
- ux-heuristicsSkill
- visual-designSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 35
Do not introduce esp_lvgl_port, a second LVGL task or tick source, a parallel display registration path, or app-level ownership of panel …
- Distinctive: line 41
Write new code against LVGL 9 names only.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
MicroTech LVGL Display Pipeline
This skill carries only the ownership rules that no single file states. Baseline values and pin maps live in the owning docs and code; do not copy them here.
Sources of Truth
dependencies.lock.<target>for the active adapter and LVGL versions.layers/app_manager/app_core/src/app_manager_lvgl_adapter.cfor display registration, custom draw submission, and lifecycle ownership.layers/bsp/waveshare/esp32-s3-touch-amoled-1.8/board_display.cfor the S3 panel bus, touch path, TE policy and power sequencing.layers/bsp/waveshare/esp32-p4-wifi6-touch-lcd-3.5/board_display.cfor the P4 ST7796 SPI path, 20-row DMA chunks and display resume sequencing. Read the board selected byMT_BOARD, not a hardcoded board name.layers/bsp/README.mdandlayers/app_manager/README.mdfor the production baseline (clocks, buffer rows, DMA chunks, queue depth, TE/direct-DMA).
Ownership
esp_lvgl_adapterowns LVGL init, tick/task scheduling, display registration, and the flush-ready handshake.- App Manager owns adapter configuration, the panel proxy and custom draw-bitmap callback, transitions, input consumption, and suspend/resume coordination.
- BSP owns panel IO, touch IO, QSPI, GPIO, panel power, and reset sequencing.
Hard Rules
- Do not introduce
esp_lvgl_port, a second LVGL task or tick source, a parallel display registration path, or app-level ownership of panel hardware unless the user explicitly approves replacing the architecture. - In the custom draw callback submit through
esp_lcd_panel_draw_bitmapand return itsesp_err_t; never calllv_display_flush_readythere — the adapter owns asynchronous completion and its failure fallback. - Write new code against LVGL 9 names only; do not revive v8 aliases.
- Suspend/resume must drain in-flight display work. Do not assume 80 MHz, TE synchronization, or direct PSRAM DMA are available profiles or production fixes; consult the owning docs for current support and the evidence needed to change the baseline.
- Select validation under
doc/verification.md; hardware timing and performance claims require on-device evidence. State unexecuted checks without treating this skill as authorization to flash or run hardware checks.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

