/meddev-agent-skills:meddev-code-commentsfrom meddev-agent-skills
Provides conventions for code comments with traceability tags (REQ-###, RISK-CTRL-###, TEST-###) linking code to requirements, risks, and tests. Includes patterns for safety-critical software documentation.
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 conventions for code comments that support traceability to requirements, risks, and tests, while maintaining clarity and brevity.
REQ-###, RISK-CTRL-###, TEST-###) in comments near implementing code. Rationale: link code to artifacts.Traceability on requirement and risk control:
// REQ-221: stop pump within 50 ms on door open; RISK-CTRL-19; TEST-410
bool pump_stop_on_door_open(void) {
...
}
API doc example:
/**
* @brief Set infusion rate.
* @param ml_per_hr range [0, MAX_FLOW]; clamps and alarms if exceeded.
* @return 0 on success, -ERANGE if clamped.
* REQ-300, RISK-CTRL-27
*/
int set_flow(float ml_per_hr);
REQ-###, RISK-CTRL-###, TEST-### aligned with external artifacts; code review enforces presence on safety-relevant sections.What SKILL.md sets; muted values are Claude Code's defaults
59 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-softwarenpx claudepluginhub aminalam/meddev-agent-skills --plugin meddev-agent-skillsOther plugins' skills for the same job