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 integrating, porting, configuring, or debugging CmBacktrace on Cortex-M faults, stack traces, firmware metadata, fault handlers, or crash logs
$ npx -y skills add easyzoom/aix-skills --skill cmbacktrace-integration --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/cmbacktrace-integrationContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when integrating, porting, configuring, or debugging CmBacktrace on Cortex-M faults, stack traces, firmware metadata, fault handlers, or crash logs
name: cmbacktrace-integration description: Use when integrating, porting, configuring, or debugging CmBacktrace on Cortex-M faults, stack traces, firmware metadata, fault handlers, or crash logs
Use this skill to integrate CmBacktrace as a Cortex-M crash diagnosis tool. The key is to preserve fault context, provide correct firmware metadata, route output safely, and verify that backtraces map to the running ELF.
Use this skill when:
Do not use this skill for non-Cortex-M faults. Use `embedded-fault-debug` or the architecture-specific debug skill instead.
Ask for:
1. Integrate in the fault path. Call CmBacktrace from the HardFault/fault handling path before reset and before clearing fault state.
1. Provide metadata. Firmware name, hardware version, software version, and platform identifiers should be meaningful enough for field logs.
1. Keep output safe. Crash output must not block forever, allocate heavily, or depend on services that may be corrupted.
1. Match symbols. Ensure the saved crash output can be mapped to the exact ELF/MAP file used to build the flashed image.
1. Account for compiler behavior. Optimization, frame pointer omission, link-time optimization, and stripped symbols can reduce backtrace quality.
1. Verify with a controlled fault. Trigger a known null pointer or assert in a lab build, then confirm the report identifies the expected function.
Before claiming CmBacktrace works:
User:
想在 Cortex-M 项目里接 cmbacktrace,HardFault 后能看到调用栈。
Agent:
1. Asks for MCU, compiler flags, HardFault handler, output backend, and matching ELF. 1. Ensures CmBacktrace runs before reset and output is crash-safe. 1. Uses a controlled fault to verify report generation and symbol mapping.
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…