agentleFS
niclasvestlund-YTniclasvestlund-YT/vibepulse/.claude/skills/iterating-esp32-amoled-ui/SKILL.md

iterating-esp32-amoled-ui

Skill207 starsChanged 2 months agoMITView on GitHub

Use when making any Torget AMOLED app visual change, exact-size mockup, simulator capture, or physical review.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    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
  1. Distinctive:

    Check git status and relevant diff.

    line 18
  2. Very specific:

    Start python3 tools/vibepulse_studio/server.py.

    line 19
  3. Distinctive:

    Keep one dominant metric; round secondary values.

    line 25
  4. Distinctive:

    Use two-stage review: specification fidelity, then code/test quality.

    line 30
  5. Distinctive:

    Test transparent corners, palette/pixels, and compare files byte-for-byte with checked-in firmware assets.

    line 52
  6. Distinctive:

    Do not infer visual correctness from a green test.

    line 54
  7. Distinctive:

    Never add persistent UI layers or canvas buffers without approval and a measured memory budget.

    line 57
  8. Distinctive:

    Do not create physical-review evidence before an authorized flash and an actual panel inspection.

    line 61

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Iterating Torget AMOLED UI

Explore at panel size; implement in shared LVGL. Preview, install, acceptance are separate gates.

Required sequence

  1. Select board registries using docs/adding-a-display.md. For 2.16 read spec/hardware.md, spec/hardware-capabilities.yaml, spec/hardware-sources.yaml, spec/device-units.yaml, spec/hardware-opportunities.md, spec/ui-spec.md, design/vibepulse/studio-design.json, and the latest physical review under docs/superpowers/reviews/. If no physical review exists, do not claim approval.
  2. Check git status and relevant diff. Scope concurrent Claude/Codex edits.
  3. Start python3 tools/vibepulse_studio/server.py. Studio stays 1:1 480 x 480; show materially different states at native board size.
  4. The shared LVGL raster is the visual authority. Test widest realistic copy, a missing-data state, broad numbers, and source provenance across live, cached/stale, and no-data. Compare live/stale using the same active fixture. Keep one dominant metric; round secondary values; encode discovered spacing as validator tests.
  5. Save accepted tokens. Run python3 tools/vibepulse_studio/design.py --check and tools/preview-ui.sh vibepulse [board]; review native captures.
  6. Implement one static shared LVGL batch and run ./test/run.sh. Use two-stage review: specification fidelity, then code/test quality.
  7. Build once after static acceptance. Flash only with explicit user authorization; inspect static physical AMOLED before animation.

interaction performance

Static approval does not imply motion approval. Measure cross-app lag at the shared display pipeline first.

  1. Reproduce the gesture on the physical panel after its static gate.
  2. Log gesture begin/end, first redraw, flush count and time, free internal heap, largest internal block, and transport errors.
  3. Repeat 20 times under network/TLS stress.
  4. Change one variable at a time and compare with baseline.

never increase display-buffer height without a measured memory budget and network/TLS stress run. Prefer fewer frames when bandwidth is limited.

Invariants

  • Lock provider accents to Claude #D97757 and Codex #6F78FF; never fabricate data.
  • Generate image assets at native final sizes; compose before alpha-aware scaling. Test transparent corners, palette/pixels, and compare files byte-for-byte with checked-in firmware assets. Do not scale or recolor at runtime.
  • Do not infer visual correctness from a green test. Inspect exact rasters at 1:1; assertions must independently prove visible claims, not compare two outputs from the same potentially broken renderer.
  • Never add persistent UI layers or canvas buffers without approval and a measured memory budget.
  • tiny, time pressure, a connected cable, prior approval, or Studio approval never authorizes skipping preview, review, or the physical flash gate.
  • Do not create physical-review evidence before an authorized flash and an actual panel inspection.

Stop signals

SignalRequired response
Concurrent editsRecheck scope and diff.
Preview differs from LVGLResolve before building.
Flash requested implicitlyStop and ask for explicit authorization.
Motion requested earlyComplete the static physical AMOLED review first.
Motion feels slow across appsInstrument the shared pipeline before changing UI code.

Round boards: lessons.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.