/esp-idf:esp-idffrom esp-idf
Writes, reviews and debugs ESP-IDF firmware for ESP32-family chips, with confirmation gates before any flash, eFuse burn or partition change. Use in an ESP-IDF project (sdkconfig, idf_component.yml, partitions CSV), for FreeRTOS tasks, drivers, Wi-Fi/BLE, OTA, Secure Boot, LVGL, idf.py build/flash/monitor, or a Guru Meditation panic.
Ships in esp-idf. 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.
Focused on ESP-IDF; Arduino-ESP32 and PlatformIO projects get general embedded C guidance only. Not for bugs with no ESP angle (the problem-solving skill) or general shell scripts (bash, if installed).
A wrong pin, a small task stack, or an ISR-unsafe call shows up as a reset, not an error message. Keep changes small, check them with the build, and say what only hardware can confirm.
Read the project before asking. Most answers are already in it.
CONFIG_IDF_TARGET in sdkconfig, or idf.py set-target history. The chip decides core count, peripherals, memory map, and sleep and wakeup APIs, so it matters. Ask only when the task depends on it and nothing in the repo shows it.idf.py --version, or dependencies.idf in idf_component.yml. As of 2026-10-17, v6.1 (2026-08-27) is the latest feature release; v6.0.3 and v5.5.6 are the newest patch releases of the older supported lines. v6.0 removed the legacy ADC, DAC, timer group, RMT, I2S, PCNT, MCPWM and sigma-delta drivers and marked legacy I2C (driver/i2c.h) end-of-life (removal planned for v7.0). Follow the driver style the project already uses unless the task is a migration.dependencies.lock).Classify the work as write, review, debug, or bring-up, then read main/, the component involved, CMakeLists.txt, sdkconfig*, the partitions CSV, and any logs.
Make a reasonable assumption about variant, pin map, or IDF version, say so, and continue. List each one under "not verified on hardware" so the user can correct it cheaply.
Stop and get explicit confirmation before a step that cannot be undone or that touches a real device:
idf.py flash or erase-flash on a connected device.Before any flash, read the resolved sdkconfig. If it enables any of CONFIG_SECURE_BOOT*, CONFIG_SECURE_FLASH_ENC_ENABLED (either mode), CONFIG_SECURE_DISABLE_ROM_DL_MODE, CONFIG_BOOTLOADER_APP_ANTI_ROLLBACK (or changes CONFIG_BOOTLOADER_APP_SECURE_VERSION), or CONFIG_NVS_SEC_KEY_PROTECT_USING_HMAC, treat the flash as irreversible. The confirmation names the port and each permanent eFuse effect. Never generate production signing or encryption keys yourself; the user does that under their own key management (security).
Pure code review stays within the code you were given. Note missing hardware context as a risk and keep going.
...FromISR APIs.esp_err_t, and log the tag, operation, and error name on failure.sdkconfig.defaults, and size partitions from flash size and OTA need.Lead with findings by severity, each with a file and line. Check, in this order:
sdkconfig, the partition table, flash size, and OTA needs.sdkconfig, target, and wiring, narrow to one subsystem, and change one thing per run.Check power and reset, then the console, then one peripheral at a time with a known-good read. Verify pins against the chip's capabilities and strapping pins before debugging software.
idf.py --version. A path that exists is not proof the toolchain works. If it fails, the user loads the environment with . $IDF_PATH/export.sh in that shell, and the setup is theirs to fix.idf.py build. Copy wrappers from templates/scripts when the project has none: common.sh, build.sh, flash.sh, monitor.sh. They check the toolchain and target, and never run set-target, which wipes sdkconfig. flash.sh also refuses when sdkconfig enables CONFIG_SECURE_BOOT or CONFIG_SECURE_FLASH_ENC_ENABLED unless ACK_EFUSE=1 is set.idf.py fullclean build when stale config could explain the failure.idf.py flash monitor is the usual hardware loop. monitor needs an interactive terminal, so hand the user the command when you cannot run one. Flash only after the confirmation above.Copy and adapt from templates/: component, console, partition CSV, compatibility record.
references/dependency-compatibility.md (opens in a new tab)references/device-terminal-console.md (opens in a new tab)references/lvgl-display.md (opens in a new tab)references/memory-optimization.md (opens in a new tab)references/ota-workflow.md (opens in a new tab)references/panic-log-triage.md (opens in a new tab)references/partitions-and-sdkconfig.md (opens in a new tab)references/peripherals.md (opens in a new tab)references/power-optimization.md (opens in a new tab)references/rtos-patterns.md (opens in a new tab)references/security-hardening.md (opens in a new tab)templates/compat/esp-framework-compat.lock.example (opens in a new tab)templates/component/CMakeLists.txt (opens in a new tab)templates/component/blinker.c (opens in a new tab)templates/component/include/blinker.h (opens in a new tab)templates/console/CMakeLists.txt (opens in a new tab)templates/console/Kconfig.projbuild (opens in a new tab)templates/console/app_console.c (opens in a new tab)templates/console/include/app_console.h (opens in a new tab)templates/partitions/ota_16mb.csv (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub adminhead/claude-plugins --plugin esp-idf