Help us improve
Share bugs, ideas, or general feedback.
From embedded-dev — RIPER-5 嵌入式固件开发协议
Configures and builds ESP-IDF firmware projects: sets target chip, runs idf.py build, and locates build artifacts for flashing.
npx claudepluginhub duncanyoung-1/embedded-dev --plugin embedded-devHow this skill is triggered — by the user, by Claude, or both
Slash command
/embedded-dev:build-idfThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- `Project Profile` 中标明 `build_system: idf` 或工作区包含 ESP-IDF 工程结构。
Flashes firmware to ESP32 series chips via ESP-IDF and launches JTAG debug sessions via OpenOCD. Detects serial devices, manages flash/erase operations, and handles failure scenarios.
Generates and troubleshoots ESPHome YAML configs for ESP32 devices including sensor/relay/display templates, GPIO pin assignments, WiFi/OTA setups, and fixes for errors like compilation failures or GPIO conflicts.
ESP32-S3 / ESP32-C6 firmware build, flash, WiFi provisioning, and serial monitoring for RuView CSI sensing nodes. Use when setting up physical hardware, reflashing a node, or debugging a device that isn't streaming CSI.
Share bugs, ideas, or general feedback.
Project Profile 中标明 build_system: idf 或工作区包含 ESP-IDF 工程结构。Project Profile。首次调用时,必须向用户确认以下参数,不得跳过或自动使用探测值:
sdkconfig 中已有 CONFIG_IDF_TARGET,首次也必须向用户确认。当 Project Profile 中已记录过上述参数(即非首次),可直接复用,无需再次询问。
idf.py 是否可用(IDF_PATH 已设置且环境已激活)。
source $IDF_PATH/export.sh 激活。source ~/.espressif/tools/activate_idf_vX.Y.Z.sh。sdkconfig 中的 CONFIG_IDF_TARGET 作为参考(首次仍需用户确认)。CMakeLists.txt 和 main/ 目录确认 ESP-IDF 工程结构。sdkconfig 不存在,必须先执行 set-target。--detect 模式确认。--set-target <chip> 执行。--build --project <path> 执行构建。idf.py menuconfig(交互式命令,不可自动执行)。Project Profile,并在需要时交给下游 skill。idf.py 不可用或 IDF_PATH 未设置时,返回 environment-missing,提示用户手动安装 ESP-IDF。CMakeLists.txt 或 main/ 目录缺失时,返回 project-config-error。project-config-error。artifact-missing。ambiguous-context。idf.py 是跨平台的 Python 脚本,在所有宿主平台上行为一致。idf.py,需要确保 ESP-IDF 环境变量已激活。build/。artifact_path、artifact_kind、idf_target、idf_version 更新 Project Profile。flash-idf。flash-idf。