8051-mcu-debug
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers, UART, or startup failures
Use when triaging embedded device, MCU, firmware, board bring-up, flashing, serial log, RTOS, bootloader, low-power, or peripheral debug requests
$ npx -y skills add easyzoom/aix-skills --skill embedded-debug-entry --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/embedded-debug-entryContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when triaging embedded device, MCU, firmware, board bring-up, flashing, serial log, RTOS, bootloader, low-power, or peripheral debug requests
name: embedded-debug-entry description: Use when triaging embedded device, MCU, firmware, board bring-up, flashing, serial log, RTOS, bootloader, low-power, or peripheral debug requests
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` |
1. Classify before acting. Do not start with code edits, reflashing, or resets until the target and failure phase are known.
1. 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.
1. 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.
1. Preserve safety boundaries. Treat erase, option bytes, boot config, security bits, fuses, production data, and power changes as explicit-approval actions.
1. 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:
1. Asks for chip family, access methods, firmware artifact, and whether serial pins are known. 1. Routes to `embedded-serial-log-debug` if the first blocker is "no logs". 1. If serial is healthy but no heartbeat exists, routes to the architecture-specific startup workflow.
AIX Skills is a public collection of Agent Skills, templates, and references for building repeatable AI workflows.
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers, UART, or startup failures
Use when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers, middleware, or application…
Use when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start, watchdog host mode, NTC/JEITA…
Use when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications, pairing, connection parameters,…
Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image validation, rollback, or boot…
Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing, filters, or embedded automotive…