/meddev-agent-skills:meddev-21-cfr-part-11from meddev-agent-skills
Guides implementation of 21 CFR Part 11 electronic records/signatures compliance: access control, audit trails, data integrity, and validation for medical device software.
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.
Provide 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.
Audit log with hash chaining:
// LOG-11: hash-chained audit entry; TEST-AUD-04 validates integrity
typedef struct {
uint8_t prev_hash[32];
uint8_t entry_hash[32];
audit_event_t ev;
} audit_record_t;
Signature capture (conceptual):
// SIG-11: enforce re-auth + meaning capture
int sign_change(const user_t *u, const char *meaning, const char *record_id) {
if (!reauthenticate(u)) return -1; // MFA or password re-prompt
audit_log("SIG_ATTEMPT", u->id, record_id);
if (!is_allowed_meaning(meaning)) return -2; // controlled vocab
return persist_signature(u, meaning, record_id, timestamp_now());
}
Record integrity with checksum:
// REQ-11-INTEGRITY: checksum stored with record
uint32_t checksum_record(const void *buf, size_t len) {
return crc32(buf, len);
}
REQ-11-###) to design elements, code, and tests (TEST-11-###).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-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.Other plugins' skills for the same job