8051-mcu-debug
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…
Use when debugging embedded sleep, standby, deep sleep, wakeup, current consumption, clock gating, lost debug access, or low-power mode failures
Claude Code
$ npx -y skills add easyzoom/aix-skills --skill low-power-debug --agent claude-code
Codex
$ npx skills add easyzoom/aix-skills --skill low-power-debug -a codex -y
Cursor
$ npx skills add easyzoom/aix-skills --skill low-power-debug -a cursor -y
Gemini CLI
$ npx skills add easyzoom/aix-skills --skill low-power-debug -a gemini-cli -y
GitHub Copilot
$ npx skills add easyzoom/aix-skills --skill low-power-debug -a github-copilot -y
OpenCode
$ npx skills add easyzoom/aix-skills --skill low-power-debug -a opencode -y
Windsurf
$ npx skills add easyzoom/aix-skills --skill low-power-debug -a windsurf -y
name: low-power-debug description: Use when debugging embedded sleep, standby, deep sleep, wakeup, current consumption, clock gating, lost debug access, or low-power mode failures
Use this skill to debug low-power behavior by measuring current and wake sources before changing sleep configuration. Low-power bugs often involve board leakage, clocks, wake flags, debug settings, peripheral state, and firmware sequencing.
Use this skill when:
Do not use this skill when the board cannot boot at all; establish basic boot first.
Ask for:
1. Confirm measurement validity. Check meter range, sampling rate, burden voltage, shunt placement, rails included, and whether debugger/USB is attached.
1. Separate firmware from board leakage. Measure baseline board state, external devices, pull-ups, LEDs, regulators, and sensors.
1. Confirm intended sleep mode. Verify the actual mode entered, not just the API called.
1. Capture wake reason. Read wake flags immediately after wake before clearing them.
1. Disable peripherals methodically. Clocks, UART, ADC, timers, DMA, USB, radio, sensors, and pull configurations can dominate current.
1. Protect debug access. Warn that deep sleep may disconnect SWD/JTAG. Use timed wake, GPIO heartbeat, or connect-under-reset recovery.
Before claiming progress:
User:
进入低功耗后电流还有 5mA,预期几十微安。
Agent:
1. Asks for mode, current setup, rails measured, debugger state, wake sources, and board peripherals. 1. Separates board leakage from MCU sleep current. 1. Checks enabled clocks, GPIO states, regulators, and wake flags before code changes.
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,…
Use when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers,…
Use when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start,…
Use when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications,…
Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image…
Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.