Skip to content
Development
Skill

/power-management-integration

Use when integrating, porting, configuring, or debugging embedded PowerManagement libraries, power domains, sleep policies, device suspend/resume, or runtime PM frameworks

From plugin
aix-skills
3876 skills

Claude Code

$ npx -y skills add easyzoom/aix-skills --skill power-management-integration --agent claude-code

SKILL.md

power-management-integration.SKILL.md
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

PowerManagement Integration

Overview

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.

When To Use

Use this skill when:

  • The user mentions `PowerManagement`, PM framework, runtime PM, device suspend/resume, power domains, or system sleep policy.
  • The project needs coordinated low-power behavior across drivers, RTOS tasks, clocks, and wake sources.
  • Devices fail after resume, wake immediately, lose state, or consume too much current under a PM framework.

Do not use this skill for one-off current measurement without a PM framework. Use `low-power-debug` first.

First Questions

Ask for:

  • Power-management library/framework source and target MCU/RTOS.
  • Power states: run, idle, sleep, stop, standby, deep sleep, off, or custom.
  • Device list and dependencies: clocks, buses, sensors, radio, display, storage, and debug.
  • Wake sources, retention requirements, and expected current.
  • Existing suspend/resume hooks and current symptom.

Integration Checklist

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.

Common Failures

  • Driver resumes before its bus or clock is restored.
  • Wake flags are cleared before being logged.
  • A task vetoes sleep forever but does not report why.
  • Device state is not reinitialized after deep sleep.
  • Debug probe keeps rails active and invalidates current measurements.

Verification

Before claiming PM integration works:

  • State power states, policy, device dependency order, and wake sources.
  • Confirm at least one enter/resume cycle for the target state.
  • Report current measurement setup and measured value if power is in scope.
  • Confirm recovery/debug path after deep sleep.
  • List devices without suspend/resume support.

Example

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.

Read more
@easyzoom
Ships withaix-skills

AIX Skills is a public collection of Agent Skills, templates, and references for building repeatable AI workflows.

Stars on GitHub

Momentum

stars in total
38
Star history of easyzoom/aix-skills on GitHub, a chart by star-history.com

Other skills on aix-skills.

8051-mcu-debug

8051-mcu-debug

Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…

@easyzoom@easyzoomInstall Skill
avem-integration

avem-integration

Use when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers,…

@easyzoom@easyzoomInstall Skill
ble-gatt-integration

ble-gatt-integration

Use when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications,…

@easyzoom@easyzoomInstall Skill
bootloader-debug

bootloader-debug

Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image…

@easyzoom@easyzoomInstall Skill
canbus-integration

canbus-integration

Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing,…

@easyzoom@easyzoomInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about power-management-integration.

Which coding agents can use power-management-integration?
power-management-integration installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.