/meddev-agent-skills:meddev-hardware-abstractionfrom meddev-agent-skills
Provides testable, portable, and safe HAL design patterns for medical device firmware: clear interfaces, separation from app logic, mock support, and concurrency safety.
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 patterns for HAL design that enable testability, portability, and safety: clear interfaces, separation from application logic, and mockability.
hal_uart_write, hal_uart_read).HAL interface (header):
// REQ-HAL-IF-01; TEST-HAL-03
typedef enum { HAL_OK = 0, HAL_EINVAL, HAL_EIO, HAL_EBUSY } hal_status_t;
hal_status_t hal_uart_init(uint32_t baud);
hal_status_t hal_uart_write(const uint8_t *buf, size_t len, size_t *written);
hal_status_t hal_uart_read(uint8_t *buf, size_t len, size_t *read, uint32_t timeout_ms);
Mock implementation (test build):
// REQ-HAL-MOCK-02; TEST-HAL-05
static size_t mock_written;
hal_status_t hal_uart_write(const uint8_t *buf, size_t len, size_t *written) {
mock_written = len;
*written = len;
return HAL_OK;
}
Init with validation:
// REQ-HAL-INIT-03; TEST-HAL-07
hal_status_t hal_uart_init(uint32_t baud) {
if (baud < 1200 || baud > 921600) return HAL_EINVAL;
// configure hardware ...
return HAL_OK;
}
REQ-HAL-### to tests (TEST-HAL-###) including mocks; link to portability requirements.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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