agentleFS
easyzoomeasyzoom/aix-skills/skills/epd-integration/SKILL.md

epd-integration

Skill36 starsChanged 5 months agoMITView on GitHub

Use when integrating, porting, or debugging e-paper EPD displays, waveform initialization, SPI drivers, busy pins, partial refresh, ghosting, or low-power display updates

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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:

    Use this skill to integrate e-paper displays by proving power sequencing, reset, SPI commands, busy timing, framebuffer layout, …

    line 10
  2. Distinctive:

    Use this skill when:

    line 14
  3. Very specific:

    Do not use this skill for generic GUI widget logic.

    line 20
  4. Distinctive:

    Check panel power, reset pulse, busy pin level, and required delays before SPI commands.

    line 38
  5. Distinctive:

    Before claiming EPD works:

    line 63

≈ “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

EPD Integration

Overview

Use this skill to integrate e-paper displays by proving power sequencing, reset, SPI commands, busy timing, framebuffer layout, waveform/LUT setup, and refresh mode. EPD failures are timing and panel-variant sensitive, so driver code must match the exact module.

When To Use

Use this skill when:

  • The user wants to add or debug e-paper/e-ink display panels on MCUs or embedded Linux.
  • The issue involves blank screen, stuck busy pin, mirrored image, ghosting, partial refresh artifacts, slow refresh, or high sleep current.
  • The project uses SPI, GPIO reset/DC/CS/busy pins, external boost power, partial update, deep sleep, or multiple color planes.

Do not use this skill for generic GUI widget logic. Use lvgl-integration or u8g2-integration after the panel refresh path is proven.

First Questions

Ask for:

  • Exact panel/module part number, resolution, color planes, controller IC, and vendor demo code.
  • Pin mapping for SPI, CS, DC, reset, busy, panel power, and optional enable pins.
  • SPI mode/speed, reset timing, init commands, LUT/waveform source, and refresh mode.
  • Framebuffer format, bit order, rotation, and partial update area.
  • Current symptom, busy pin behavior, and photos if visual output is wrong.

Integration Checklist

  1. Match the exact panel. Resolution, controller, LUT, color planes, and command set must match the purchased module.
  2. Prove power and reset timing. Check panel power, reset pulse, busy pin level, and required delays before SPI commands.
  3. Send a minimal pattern. Render full white, full black, and checkerboard before fonts or images.
  4. Validate framebuffer layout. Confirm bit order, row stride, rotation, black/red planes, and RAM window commands.
  5. Add refresh policy. Separate full refresh, partial refresh, deep sleep, and wake-up flows.
  6. Measure low-power behavior. Confirm panel sleep command, rail shutdown, and MCU pin states after update.

Common Failures

  • Driver targets a similar-looking panel with different controller or LUT.
  • Busy pin polarity is wrong or not waited long enough.
  • SPI DC/CS timing is violated during command/data transitions.
  • Image is mirrored because bit order or RAM direction is wrong.
  • Partial refresh causes ghosting because periodic full refresh is missing.
  • Deep sleep requires a full reinitialization before the next update.

Verification

Before claiming EPD works:

  • State exact panel, controller, resolution, color planes, and refresh mode.
  • Confirm solid black, solid white, and checkerboard output.
  • Confirm busy timing and full refresh completion.
  • Confirm partial refresh limitations and deep-sleep current if relevant.

Example

User:

墨水屏偶尔 busy 一直不释放。

Agent:

  1. Checks panel part number, busy polarity, reset timing, and power rails.
  2. Compares init sequence with the vendor demo for the exact controller.
  3. Tests full-refresh-only path before enabling partial refresh or sleep.

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.