power-management-integration
Skill36 starsChanged 5 months agoMITView on GitHub
Use when integrating, porting, configuring, or debugging embedded PowerManagement libraries, power domains, sleep policies, device suspend/resume, or runtime PM frameworks
In this repository75 other files it gives its agents.
- 8051-mcu-debugSkill
- avem-integrationSkill
- battery-charger-fuel-gauge-integrationSkill
- ble-gatt-integrationSkill
- bootloader-debugSkill
- canbus-integrationSkill
- canopen-integrationSkill
- cellular-at-modem-integrationSkill
- cmbacktrace-integrationSkill
- cmsis-dsp-integrationSkill
- cortex-m-debugSkill
- cortex-r5-debugSkill
- crc-checksum-integrationSkill
- easylogger-integrationSkill
- embedded-app-example-libsSkill
- embedded-buffer-queue-libsSkill
- embedded-data-parsing-libsSkill
- embedded-debug-entrySkill
- embedded-fault-debugSkill
- embedded-framework-libsSkill
- embedded-input-libsSkill
- embedded-library-entrySkill
- embedded-linux-login-debugSkill
- embedded-peripheral-bringupSkill
- embedded-serial-log-debugSkill
- embedded-state-machine-libsSkill
- embedded-timing-libsSkill
- epd-integrationSkill
- esp-idf-integrationSkill
- fatfs-integrationSkill
- flashdb-integrationSkill
- freemodbus-integrationSkill
- freertos-kernel-debugSkill
- freertos-plus-tcp-integrationSkill
- gnss-gps-integrationSkill
- hardware-interface-debugSkill
- heatshrink-integrationSkill
- letter-shell-integrationSkill
- littlefs-integrationSkill
- low-power-debugSkill
- lvgl-integrationSkill
- lwip-integrationSkill
- mbedtls-integrationSkill
- mcuboot-integrationSkill
- mcu-flashing-debugSkill
- micro-ecc-integrationSkill
- miniz-integrationSkill
- mqtt-embedded-integrationSkill
- nanopb-integrationSkill
- nrf-connect-sdk-integrationSkill
- nr-micro-shell-integrationSkill
- openocd-jlink-stlink-debugSkill
- openthread-integrationSkill
- ota-update-integrationSkill
- plooc-integrationSkill
- qspi-xip-flash-debugSkill
- readme-writingSkill
- riscv-mcu-debugSkill
- rtos-debugSkill
- rt-thread-integrationSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill for library/framework-level power management, not just one low-power symptom.
- Distinctive: line 14
Use this skill when:
- Very specific: line 20
Do not use this skill for one-off current measurement without a PM framework.
- Distinctive: line 43
Verify wake source ownership.
- Distinctive: line 62
Before claiming PM integration works:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- Define state model. Each power state needs entry conditions, exit sources, retained resources, and forbidden operations.
- Build dependency order. Suspend children before parents and resume parents before children. Clocks and buses must wrap device hooks.
- Separate policy from mechanism. Drivers expose capabilities; policy decides when to enter a state.
- Verify wake source ownership. Wake flags must be read before clearing, and the responsible device should be identifiable.
- Protect debug and recovery. Deep states may disconnect SWD/JTAG or UART; define a recovery path.
- 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:
- Asks for PM state, I2C bus/device hooks, clock dependencies, and wake source.
- Checks resume ordering and bus clock restoration.
- Verifies repeated suspend/resume cycles with current and device-read evidence.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

