/meddev-agent-skills:meddev-power-managementfrom meddev-agent-skills
Defines safe power management patterns for battery-operated medical devices: sleep modes, wake sources, power budgets, battery monitoring, brownout handling, and data preservation with integrity checks.
Ships in meddev-agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Define safe power management patterns: sleep modes, wake sources, power budget, battery monitoring, graceful shutdown, and data preservation.
Low battery handling:
// REQ-PWR-BATT-01; TEST-PWR-04
void handle_battery(float vbat) {
if (vbat < VBAT_CRIT) {
annunciate_low_batt();
save_state_crc();
enter_safe_shutdown();
} else if (vbat < VBAT_WARN) {
annunciate_low_batt();
}
}
Brownout interrupt:
// REQ-PWR-BROWN-02; TEST-PWR-06
void BOD_IRQHandler(void) {
clear_bod_irq();
save_state_crc();
enter_safe_shutdown();
}
Atomic retained write:
// REQ-PWR-DATA-03; TEST-PWR-08
bool save_state_crc(void) {
state_t s = collect_state();
s.crc = crc32(&s, sizeof(s) - sizeof(s.crc));
return write_retained_atomic(&s, sizeof(s));
}
REQ-PWR-### and TEST-PWR-###; link to risk controls for power loss hazards.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub aminalam/meddev-agent-skills --plugin meddev-agent-skills59 skills in this plugin
/meddev-21-cfr-part-11Provide implementation guidance for electronic records/signatures (ER/ES) compliance: access control, audit trails, data integrity, and validation expectations in medical device software and supporting tools. Use when working on 21 cfr part 11 in medical device software./meddev-ai-assisted-development-governanceDefine governance for AI/LLM-assisted software development (e.g., Cursor, Copilot, Claude): human review expectations, evidence that generated code is covered by requirements-based tests, tool validation for GxP-adjacent workflows, and alignment with Computer Software Assurance (CSA) principles (risk-based, critical thinking) without replacing your SOPs. Use when working on ai assisted development governance in medical device software./meddev-ai-ml-medical-device-softwareAddress machine learning inside the regulated product (not LLM coding assistants): Good Machine Learning Practice (GMLP), training/validation data integrity, Predetermined Change Control Plans (PCCP) where applicable, drift monitoring, and linking models to ISO 14971 and software lifecycle controls. Use when working on ai ml medical device software in medical device software./meddev-audit-loggingDefine what and how to log for medical devices: security/safety events, integrity, protection, and retention of logs for compliance and forensics. Use when working on audit logging in medical device software./meddev-authenticationDefine secure user/device authentication, session management, and RBAC suitable for medical device risk profiles. Use when working on authentication in medical device software./meddev-automated-testingDefine how to automate tests (unit, integration, system/HIL where feasible) in CI/CD pipelines for medical devices with gating and evidence capture. Use when working on automated testing in medical device software.Other plugins' skills for the same job