Regulatory & Compliance RiskISO 14971Medical

Risk Management Specialist

Medical device risk management implementing ISO 14971.

$skillfish add ~skills/risk-management-specialist

Real Conversations

See how the Risk Management Specialist skill responds to actual requests. These are representative examples of what your AI agent will produce.

You

We're developing a SaMD for detecting cardiac arrhythmias. We need to set up our ISO 14971 risk management process from scratch. Where do we start?

Agent

For a SaMD like a cardiac arrhythmia detector, ISO 14971 requires you to build a risk management system — not just fill out a form. Here's how to stand it up from scratch.

The ISO 14971 Lifecycle

The standard defines a closed-loop process with seven stages:

  1. Risk Management Plan — define scope, responsibilities, acceptability criteria, and verification methods before you do anything else
  2. Hazard Identification — systematically identify hazards associated with the device and its intended use
  3. Risk Estimation — assign severity and probability to each hazard situation
  4. Risk Evaluation — compare estimated risk against your acceptability criteria
  5. Risk Control — implement measures to reduce unacceptable risks
  6. Residual Risk Evaluation — confirm that controlled risks are now acceptable
  7. Benefit-Risk Analysis — demonstrate that overall residual risk is outweighed by clinical benefit

The process is iterative. Design changes trigger re-evaluation of affected hazards.

Required Documents

Document Purpose
Risk Management Plan (RMP) Defines criteria, scope, roles, and timeline
Risk Management File (RMF) The container — references all risk records
Hazard Log Master list of hazards, situations, and harms
FMEA Worksheet Failure mode analysis by subsystem or function
Risk Management Report Final summary required before commercial release

All of these are living documents. The Risk Management File is not a report you write at the end — it is the accumulation of all risk records throughout the development lifecycle.

Example Hazard Identification for Cardiac SaMD

Hazard: Algorithm produces false negative (misses true AFib)

Hazard Situation: Patient with active AFib is classified as normal rhythm

Harm: Delayed treatment, stroke, cardiac event, death

Severity: S5 (catastrophic — can lead to life-threatening harm)

Initial Probability: P3 (occasional — known limitation of ML classifiers on low-quality ECG input)

Initial Risk: Unacceptable — requires risk control

This is the format to use for every hazard in your log. For a cardiac arrhythmia SaMD, additional hazards to document include: false positive (unnecessary treatment), processing delay exceeding clinical utility window, incorrect patient record association, and display rendering failure on clinical workstation.

Severity / Probability Matrix

ISO 14971 does not prescribe specific S/P scales — you define them in your Risk Management Plan. A common approach for SaMD:

Severity (S1–S5):

  • S1: No injury or negligible
  • S2: Minor, reversible injury
  • S3: Moderate, reversible injury
  • S4: Severe, irreversible injury
  • S5: Death or life-threatening

Probability (P1–P5):

  • P1: Incredible (< 1 in 1,000,000 uses)
  • P2: Remote (1 in 100,000)
  • P3: Occasional (1 in 10,000)
  • P4: Probable (1 in 1,000)
  • P5: Frequent (> 1 in 100)

Your Risk Management Plan must define which S/P combinations are acceptable, broadly acceptable, and require ALARP (As Low As Reasonably Practicable) justification.

The SaMD-Specific Challenge: Algorithm as Failure Mode

For traditional hardware devices, failure modes are physical: component breaks, power fails, signal degrades. For SaMD, the algorithm itself is a failure mode.

This has two implications:

1. The algorithm's performance envelope is a hazard. Your training data distribution, class imbalance, and edge-case behavior (e.g., pediatric ECG, pacemaker artifact, atrial flutter near AFib threshold) must all be documented as potential hazard causes. The FMEA must include rows for algorithmic failure modes, not just software bugs.

2. Performance validation is a risk control. Clinical validation studies, held-out test sets, and post-market surveillance data are your evidence that the algorithm's failure probability is at the level you claimed in your risk estimation. Regulators and notified bodies will ask to see the link between your validation data and your probability ratings.

Where to Start This Week

  1. Draft your Risk Management Plan first — get it reviewed and approved before writing a single FMEA row
  2. Define your severity/probability matrix and acceptability criteria in the plan
  3. Identify your top 10 hazards using a structured session (PHA — Preliminary Hazard Analysis) with your clinical, engineering, and regulatory leads
  4. Stand up a tracking tool (even a shared spreadsheet is acceptable at this stage — the structure matters more than the tool)

Once your plan is approved, the rest of the documentation has a home to live in.

Get Started

How to install and use this skill in your preferred environment.

Skills are designed for AI coding agents (Claude Code, Cursor, Windsurf) and IDE-based workflows where the agent can read files, run scripts, and act on your codebase. Web-based AI can use the knowledge and frameworks, but won't have tool access.

Models & Context

Which AI models and context windows work best with this skill.

Recommended Models

Best
Claude Opus 4 Claude Sonnet 4 GPT-4.1 Gemini 2.5 Pro Grok 3 Kimi K2
Good
Claude Haiku 4.5 GPT-4.1 mini Gemini 2.5 Flash Grok 3 mini

Larger models produce more detailed, production-ready outputs.

Context Window

This skill's SKILL.md is typically 3–10 KB — fits in any modern context window.

8K Skill only
32K+ Skill + conversation
100K+ Skill + references + codebase

All current frontier models (Claude, GPT, Gemini) support 100K+ context. Use the full window for complex multi-service work.

Pro tips for best results

1

Be specific

Include numbers — users, budget, RPS — so the skill can size the architecture.

2

Share constraints

Compliance needs, team size, and existing stack all improve the output.

3

Iterate

Start with a high-level design, then ask follow-ups for IaC, cost analysis, or security review.

4

Combine skills

Pair with companion skills below for end-to-end coverage.

Ready to try Risk Management Specialist?

Install the skill and start getting expert-level guidance in your workflow — any agent, any IDE.

$skillfish add ~skills/risk-management-specialist
← Browse all 169 skills