8051-mcu-debug
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…
Use when integrating, porting, configuring, or debugging embedded PowerManagement libraries, power domains, sleep policies, device suspend/resume, or runtime PM frameworks
Claude Code
$ npx -y skills add easyzoom/aix-skills --skill power-management-integration --agent claude-code
Codex
$ npx skills add easyzoom/aix-skills --skill power-management-integration -a codex -y
Cursor
$ npx skills add easyzoom/aix-skills --skill power-management-integration -a cursor -y
Gemini CLI
$ npx skills add easyzoom/aix-skills --skill power-management-integration -a gemini-cli -y
GitHub Copilot
$ npx skills add easyzoom/aix-skills --skill power-management-integration -a github-copilot -y
OpenCode
$ npx skills add easyzoom/aix-skills --skill power-management-integration -a opencode -y
Windsurf
$ npx skills add easyzoom/aix-skills --skill power-management-integration -a windsurf -y
name: power-management-integration description: Use when integrating, porting, configuring, or debugging embedded PowerManagement libraries, power domains, sleep policies, device suspend/resume, or runtime PM frameworks
Use this skill for library/framework-level power management, not just one low-power symptom. Confirm the system's power states, device dependencies, suspend/resume ordering, wake sources, and measurement method before enabling automatic PM policies.
Use this skill when:
Do not use this skill for one-off current measurement without a PM framework. Use `low-power-debug` first.
Ask for:
1. Define state model. Each power state needs entry conditions, exit sources, retained resources, and forbidden operations.
1. Build dependency order. Suspend children before parents and resume parents before children. Clocks and buses must wrap device hooks.
1. Separate policy from mechanism. Drivers expose capabilities; policy decides when to enter a state.
1. Verify wake source ownership. Wake flags must be read before clearing, and the responsible device should be identifiable.
1. Protect debug and recovery. Deep states may disconnect SWD/JTAG or UART; define a recovery path.
1. Measure with framework enabled. Compare current in each state and after resume, not only during entry.
Before claiming PM integration works:
User:
接了 PowerManagement 框架后,睡眠能进但唤醒后 I2C 传感器读不到。
Agent:
1. Asks for PM state, I2C bus/device hooks, clock dependencies, and wake source. 1. Checks resume ordering and bus clock restoration. 1. Verifies repeated suspend/resume cycles with current and device-read evidence.
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.