/meddev-agent-skills:meddev-audit-loggingfrom meddev-agent-skills
Defines audit logging requirements for medical devices: scope, integrity, time sync, PHI minimization, retention, and performance. Use for FDA/21 CFR Part 11 / EU MDR compliance.
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 what and how to log for medical devices: security/safety events, integrity, protection, and retention of logs for compliance and forensics.
Hash-chained log entry:
// REQ-AUD-INT-01; TEST-AUD-04
typedef struct {
uint8_t prev_hash[32];
audit_event_t ev;
uint8_t hash[32];
} audit_record_t;
Structured log example:
evt=auth_fail user=clinician1 code=LOCKOUT ts=2026-01-04T12:00:00Z
REQ-AUD-### to TEST-AUD-###; logs tied to device ID/version; align with Part 11/ISO 14971 controls.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
audit-logging, medical-device, data-integrity, compliance, forensics
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-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./meddev-ble-medicalGuide secure, reliable BLE implementation for medical devices handling PHI/therapy control: services, pairing/bonding, LE Secure Connections, privacy, and performance. Use when working on ble medical in medical device software.Other plugins' skills for the same job