/meddev-agent-skills:meddev-embedded-cfrom meddev-agent-skills
Defines MISRA C-aligned coding standards for medical device firmware: type safety, const correctness, memory management, interrupt safety, and static analysis requirements.
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 C coding practices aligned with MISRA C and medical device safety needs: type safety, control flow, memory management, interrupts, and static analysis.
uint32_t, etc.); avoid implicit type promotions; enable warnings-as-errors (-Wall -Wextra -Werror). Rationale: predictability.const; avoid casting away const. Rationale: prevent unintended mutation.malloc. Rationale: determinism.static inline for simple accessors; minimize macros.static_assert for sizes and assumptions where compiler supports.Fixed-width types and const:
// REQ-C-TYPE-01; TEST-C-01
static uint32_t sum_samples(const uint16_t *samples, size_t n) {
uint32_t acc = 0U;
for (size_t i = 0; i < n; i++) {
acc += samples[i];
}
return acc;
}
Static buffer, no malloc:
// REQ-C-MEM-02; TEST-C-05
static uint8_t rx_buf[128];
size_t uart_read_safe(uint8_t *out, size_t max_len) {
size_t n = uart_read(rx_buf, sizeof(rx_buf));
if (n > max_len) n = max_len;
memcpy(out, rx_buf, n);
return n;
}
ISR defers work:
// REQ-C-ISR-03; TEST-C-10
volatile bool g_data_ready = false;
void UART_IRQHandler(void) {
clear_irq();
g_data_ready = true; // minimal work
}
REQ-C-###; link to unit tests TEST-C-### and MISRA deviation records.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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-softwareOther plugins' skills for the same job