Triages embedded device, MCU, firmware, board bring-up, flashing, serial log, RTOS, bootloader, low-power, and peripheral debug requests by classifying target, failure phase, access method, toolchain, and risk level.
Ships in aix-skills. 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.
None: SKILL.md is the whole skill.
Use this skill as the first stop for embedded debugging. The agent should classify the target, failure phase, access method, toolchain, and risk level, then route to the narrowest specialized skill instead of guessing from incomplete context.
Use this skill when:
Do not use this skill when the user already named a more specific skill path, such as Cortex-M HardFault, 8051 timer, RISC-V trap, or embedded Linux SSH login.
Ask only what is needed to route:
Use the most specific path:
| Symptom or target | Prefer |
|---|---|
| Cortex-M MCU, SWD/JTAG, HardFault, startup | cortex-m-debug |
| Cortex-R5/R4/R7, TCM, MPU, lockstep, safety core | cortex-r5-debug |
| 8051/51/STC/Nuvoton/Silabs C8051 | 8051-mcu-debug |
| RISC-V MCU, OpenOCD/GDB, trap, CSR | riscv-mcu-debug |
| Embedded Linux login before debugging | embedded-linux-login-debug |
| OpenOCD/J-Link/ST-Link probe, SWD/JTAG attach | openocd-jlink-stlink-debug |
| Flash/download/verify/connect failure | mcu-flashing-debug |
| UART boot log, serial console, 乱码, no logs | embedded-serial-log-debug |
| Crash, exception, trap, fault, stack corruption | embedded-fault-debug |
| GPIO/UART/SPI/I2C/PWM/ADC bring-up | embedded-peripheral-bringup |
| Sensor driver, IMU, I2C/SPI sensor data | sensor-driver-integration |
| QSPI/OSPI flash, XIP, memory-mapped boot | qspi-xip-flash-debug |
| FreeRTOS kernel: tasks, heap, tick, ISR API | freertos-kernel-debug |
| Zephyr devicetree, Kconfig, west, drivers | zephyr-integration |
| RT-Thread BSP, FinSH, device framework, DFS | rt-thread-integration |
| General RTOS scheduling, stacks, priorities | rtos-debug |
| STM32 HAL/LL, CubeMX, clocks, DMA, NVIC | stm32-hal-ll-integration |
| ESP-IDF, sdkconfig, partitions, NVS, Wi-Fi | esp-idf-integration |
| Nordic nRF Connect SDK, BLE, DFU, Partition Mgr | nrf-connect-sdk-integration |
| BLE GATT services, characteristics, MTU, pairing | ble-gatt-integration |
| Bootloader, app jump, upgrade state | bootloader-debug |
| MCUboot image slots, signing, swap, rollback | mcuboot-integration |
| OTA package, transport, validation, activation | ota-update-integration |
| Sleep, wakeup, current consumption, lost debug | low-power-debug |
| Power, reset, clock, pins, board-level signals | hardware-interface-debug |
Classify before acting. Do not start with code edits, reflashing, or resets until the target and failure phase are known.
Route to one primary skill.
If multiple skills apply, pick the one closest to the current blocker. Example: "cannot flash Cortex-M" starts with mcu-flashing-debug, not general Cortex-M logic.
Collect minimal evidence. Ask for the smallest artifact that proves the current state: programmer error, serial log, GDB register dump, schematic snippet, or tool output.
Preserve safety boundaries. Treat erase, option bytes, boot config, security bits, fuses, production data, and power changes as explicit-approval actions.
Summarize the route. Tell the user which path you selected and why before continuing with detailed debug instructions.
Before moving into a specialized workflow:
User:
板子起来以后没日志,也不知道是不是程序没跑。
Agent:
embedded-serial-log-debug if the first blocker is "no logs".What SKILL.md sets; muted values are Claude Code's defaults
/aix-skills:embedded-debug-entryfrom aix-skills
npx claudepluginhub easyzoom/aix-skills --plugin aix-skills76 skills in this plugin
/8051-mcu-debugUse when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers, UART, or startup failures/avem-integrationUse when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers, middleware, or application architecture/battery-charger-fuel-gauge-integrationUse when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start, watchdog host mode, NTC/JEITA faults, and SOC jumpsOther plugins' skills for the same job