Defensive Programming for Medical Devices
CommunityBuild robust, safe medical device software.
Software Engineering#error handling#validation#safety#defensive programming#medical device#IEC 62304
AuthorAminAlam
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps prevent, detect, and safely handle abnormal conditions in safety-relevant medical device software, reducing the risk of hazardous behavior and system failures.
Core Features & Use Cases
- Input Validation: Ensures all external inputs meet defined criteria, preventing invalid data from causing issues.
- Output Bounds Checking: Prevents unsafe outputs by enforcing limits and triggering alarms when exceeded.
- Error Handling: Promotes robust error propagation and handling to avoid silent failures.
- Use Case: When developing a critical function that reads sensor data, this Skill guides you to validate the input range, check for timeouts on the read operation, and ensure any out-of-bounds data is handled gracefully, preventing a potential patient safety incident.
Quick Start
Apply defensive programming techniques to the sensor reading module, ensuring all inputs are validated and errors are propagated.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Defensive Programming for Medical Devices Download link: https://github.com/AminAlam/meddev-agent-skills/archive/main.zip#defensive-programming-for-medical-devices Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.