/esp32-workbench:esp32-arch-reviewfrom ESP32 Workbench
Reviews ESP32 firmware architecture for FreeRTOS safety, memory/stack sizing, ISR rules, error handling, peripheral/pin safety, networking, storage, logging, and build config. Returns PASS/FAIL report.
Ships in ESP32 Workbench. 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.
Structured, evidence-based review of embedded-specific correctness. Read-only unless the user asks for fixes (fixes then go through an implementation contract).
If the esp32-workbench MCP server is connected, call its tools; otherwise run the
CLI. If esp32wb is not on PATH, use
uvx --from git+https://github.com/agodianel/esp32-claude-workbench esp32wb <args>.
Add --json for machine-readable output.
| Need | MCP tool | CLI |
|---|---|---|
| All static checks (pins, stacks, sdkconfig, partitions) | project_doctor | esp32wb doctor . [--target T] |
| Undersized task stacks | stack_check | esp32wb stacks . |
| GPIO conflicts for the real chip | pin_audit | esp32wb pins . |
| Risky / debug sdkconfig options | sdkconfig_review | esp32wb sdkconfig sdkconfig |
| Partition table sanity | partition_check | esp32wb partitions partitions.csv --sdkconfig sdkconfig |
| API / peripheral behaviour questions | search_esp_docs | esp32wb docs search "<query>" --target T |
Start with esp32wb doctor . and paste its summary into the report; then do the
manual checklist below for what static tools cannot see.
Mark each item OK, ISSUE, or N/A, with file:line evidence for every ISSUE.
*FromISR APIs; portYIELD_FROM_ISR used.IRAM_ATTR and touch only DRAM data.portENTER_CRITICAL) are very short (no logging, no allocation).taskYIELD() not vTaskDelay(0).tskNO_AFFINITY.heap_caps_malloc(..., MALLOC_CAP_DMA) (PSRAM is generally
not DMA-capable for all peripherals — check the peripheral docs for the target).esp_err_t checked; ESP_ERROR_CHECK() only for fatal init.esp_err_to_name() and handled (retry, degrade, reset state).esp32wb pins . has no errors for the configured target.pin_map.h or header comment) and matches code.esp32wb chip <target>).driver/i2c.h — do not mix both in one bus).esp_wifi_start().ESP_ERR_NVS_NO_FREE_PAGES /
ESP_ERR_NVS_NEW_VERSION_FOUND handled at init.esp32wb partitions).D/V.CONFIG_IDF_TARGET matches the hardware.sdkconfig.defaults captures every non-default setting (not only a committed sdkconfig).REQUIRES/PRIV_REQUIRES complete and minimal.esp32wb sdkconfig shows no debug-only options in release configs.# Architecture Review — <project> (target: <chip>, ESP-IDF <ver>)
## Verdict: PASS | PASS WITH NOTES | FAIL
## Tool output
(esp32wb doctor summary)
## Critical issues (must fix before merge)
- [file:line] issue — why it matters — suggested fix
## Warnings
## Recommendations
## Checklist results
## Not reviewed / unknowns
FAIL if any critical issue exists (ISR misuse, unchecked allocation in a hot path, flash/PSRAM pin use, missing TLS verification, stack overflow evidence).
esp32wb chip or Espressif docs.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub agodianel/esp32-claude-workbench --plugin esp32-workbench11 skills in this plugin
/esp32-build-fixDiagnoses and fixes ESP-IDF build, link, CMake/Kconfig, component-manager and flashing failures, using the build log to classify the error before changing anything. Use when "idf.py build fails", "undefined reference to", "No such file or directory" for a header, "Failed to resolve component", "CMake Error", "multiple definition of", "region `iram0_0_seg' overflowed", "app partition is too small", "implicit declaration of function", "esptool Failed to connect", "Wrong boot mode detected", "No serial data received", "Permission denied /dev/ttyUSB0", "A fatal error occurred", "set-target", or after an ESP-IDF version upgrade (v4 → v5) breaks the build./esp32-crash-reviewDecodes and analyses ESP32-family panics — Guru Meditation errors, register dumps, backtraces, aborts, stack overflows and watchdog timeouts on both Xtensa (ESP32, S2, S3) and RISC-V (C2, C3, C5, C6, H2, P4) chips — to find the root cause and recommend a fix plus diagnostic config. Use when the user pastes a crash or says "Guru Meditation", "LoadProhibited", "StoreProhibited", "InstrFetchProhibited", "IllegalInstruction", "Load access fault", "Store access fault", "MEPC", "MTVAL", "EXCVADDR", "Backtrace:", "abort() was called", "Stack canary watchpoint triggered", "Interrupt wdt timeout", "Task watchdog got triggered", "crash loop", "/review-crash", or "decode this backtrace"./esp32-feature-contractCreates a mission file and an implementation contract (scope, affected files, risks, tests, rollback) that must be accepted before any ESP32 firmware code is changed. Use when the user asks to "add a feature", "implement", "fix a bug", "refactor", "write a contract", "start a mission", "plan this change", "/contract", or "resume the mission" in an ESP-IDF, ESP32, ESP32-S3, ESP32-C3 or ESP32-C6 project, and before editing any firmware source./esp32-log-triageParses and classifies ESP32 serial monitor output — reset reasons, boot loops, panics, watchdog messages, brownouts, heap failures, Wi-Fi/BLE/MQTT errors and peripheral timeouts — and produces a triage report with a root-cause hypothesis and next steps. Use when the user pastes "idf.py monitor" output or a serial log, or says "boot loop", "keeps rebooting", "rst:0x", "Brownout detector was triggered", "Task watchdog got triggered", "Wi-Fi keeps disconnecting", "WIFI_EVENT_STA_DISCONNECTED", "BLE won't connect", "MQTT disconnects", "/triage-log", or "what does this log mean" for any ESP32-family chip./esp32-peripheral-bringupGuides bring-up and debugging of ESP32 peripherals — I2C, SPI, UART, ADC and LEDC/PWM — using the ESP-IDF v5 driver APIs, chip-correct pin choices, and a step-by-step wiring → config → probe → speed-up procedure. Use when the user says "I2C sensor not responding", "i2c ESP_ERR_TIMEOUT", "no ACK", "I2C scan finds nothing", "SPI returns 0xFF", "SPI display blank", "UART garbage characters", "uart_read_bytes returns nothing", "ADC reads wrong value", "adc_oneshot", "analogRead with Wi-Fi", "PWM / LEDC not working", "set duty", "bring up a new sensor", or "connect a peripheral" on ESP32, ESP32-S3, ESP32-C3, ESP32-C6 or other Espressif chips./esp32-pin-auditAudits GPIO assignments in ESP32-family firmware against the verified pin facts of the actual target chip and board, flagging flash/PSRAM pins, strapping pins, input-only pins, USB-Serial-JTAG and UART0 console pins, JTAG pins, ADC2/Wi-Fi conflicts, double assignments and pin-map drift. Use when the user asks "which pins can I use", "is GPIO 12 safe", "check my pinout", "pin conflict", "strapping pin", "board won't boot after wiring", "can't flash after connecting a sensor", "ADC2 with Wi-Fi", "input-only pin", "/pin-audit", or before adding any GPIO, I2C, SPI, UART, ADC or LEDC code on ESP32, ESP32-S2, ESP32-S3, ESP32-C2, ESP32-C3, ESP32-C5, ESP32-C6, ESP32-H2 or ESP32-P4.Other plugins' skills for the same job