Medical Device Software skill for Claude

Use for any question about the software inside a medical device, SaMD or regulated health app - which IEC 62304 safety class (A/B/C) it is and how much process and documentation that class needs, what to record about open-source or third-party libraries (SOUP, SBOM), trace matrix and release testing, IEC 81001-5-1 security, or the FDA documentation level and 524B cyber-device duties. Checks the user's files with four scripts that cite the clause.

Medical Device Software SKILL.md

The full skill file from alirezarezvani/claude-skills (MIT).

Medical Device Software

Portability: 4 stdlib scripts, no network. Fill CSVs, run, keep the output with the software file. Not a conformity assessment. IEC 62304 is paywalled: clause markers here come from two agreeing secondary sources (🟡) and your licensed copy prevails. A notified body or FDA reviewer can read a borderline call differently.

Software files fail review in the same places: a class claimed lower than the harm allows, an "external" risk control that lives in the same software system, a SOUP list with "latest" as the version and no anomaly review, a trace matrix with risk controls nobody tested, and security treated as an afterthought. Three classifications get confused, and they use different inputs:

QuestionDecided byAssessed
IEC 62304 class A/B/C (which activities)worst-case harm, clause 4.3 + A1 Fig. 3after risk controls external to the software system
FDA Basic / Enhanced (what you submit)probable risk of death or serious injurybefore any risk controls
FD&C Act 524B cyber devicesoftware + any internet-capable path (USB counts)not risk-based

Workflow

# 1 - Classify: system and item classes, FDA level, cyber device?
python scripts/software_safety_classifier.py --inventory assets/software_inventory.example.csv
# 2 - Gap check: is every activity the class requires done, with evidence?
python scripts/lifecycle_gap_check.py --class B --security --assessment assets/lifecycle_assessment.example.csv
# 3 - SOUP: identified, specified, anomaly lists reviewed, in the SBOM?
python scripts/soup_register_check.py --register assets/soup_register.example.csv --sbom assets/sbom.example.cdx.json --cyber-device
# 4 - Release: every requirement tested, every risk control verified?
python scripts/trace_matrix_check.py --matrix assets/trace_matrix.example.csv --class C --release

Class first: steps 2 to 4 take the class from step 1. --template prints an empty input; lifecycle_gap_check.py --list --class X prints the required ids.

The gates block on (exit 4)

  1. A claimed class below what the harm allows, or an item below its system without a segregation rationale — 62304 4.3.
  2. An external risk control used to lower the class that is not itself verified — 62304 4.3 (A1).
  3. A required activity NOT MET, or NA where the clause is not conditional — the class table (A1 Table A.1).
  4. A SOUP item with no exact version (8.1.2), no stated requirements (5.3.3/5.3.4) or no anomaly-list review (7.1.3) for class B/C, or past end of support with no plan.
  5. A class B/C risk control with no hazard or no passing test (7.3.1, 7.3.3); with --release, any untested requirement or open failed result without an anomaly record (5.7, 5.8).
  6. A cyber device with no vulnerability monitoring on a SOUP item — 524B(b)(1).

Hard rules

  • Unassessed is not MET. The gap check refuses a file that skips a required id.
  • Unclassified is class C. Unknown inputs never round down.
  • Severity decides the class, not probability. Only verified external controls lower it.
  • Class A still tests. Software system testing (5.7) applies to every class since A1.
  • Mark the confidence. 🟢 primary text checked · 🟡 secondary sources agree · 🔴 not verified. EN 62304 and EN IEC 81001-5-1 are not confirmed as cited in the OJ under the MDR; never claim presumption of conformity without checking the current list.
  • Never sign or submit. The scripts prepare evidence; the manufacturer's named people approve the class, the release and the submission.

Scripts

ScriptRoleExit codes
scripts/software_safety_classifier.py62304 4.3 class per system and item, segregation, FDA documentation level, 524B cyber device0 classified · 2 findings · 3 bad input · 4 blocked
scripts/lifecycle_gap_check.py62304 activities by class (+4.4 legacy), 81001-5-1 activities with --security0 ready · 2 gaps · 3 · 4 blocked
scripts/soup_register_check.py8.1.2, 5.3.3/5.3.4, 7.1.3, end of support, 81001-5-1 risk-transfer category, SBOM cross-check (CycloneDX/SPDX)0 pass · 2 · 3 · 4 blocked
scripts/trace_matrix_check.pysystem → software requirement → test → result, risk control → hazard, release state0 pass · 2 · 3 · 4 blocked

All support --help, --sample, --template and --output json.

References and assets

How to install Medical Device Software

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit alirezarezvani/claude-skills/ra-qm-team/skills/medical-device-software#main ~/.claude/skills/medical-device-software

Codex

npx degit alirezarezvani/claude-skills/ra-qm-team/skills/medical-device-software#main ~/.codex/skills/medical-device-software

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Medical Device Software skill do?

Use for any question about the software inside a medical device, SaMD or regulated health app - which IEC 62304 safety class (A/B/C) it is and how much process and documentation that class needs, what to record about open-source or third-party libraries (SOUP, SBOM), trace matrix and release testing, IEC 81001-5-1 security, or the FDA documentation level and 524B cyber-device duties. Checks the user's files with four scripts that cite the clause.

+How do I install Medical Device Software in Claude Code?

Copy the skill folder into ~/.claude/skills/medical-device-software, for example with "npx degit alirezarezvani/claude-skills/ra-qm-team/skills/medical-device-software#main ~/.claude/skills/medical-device-software". Claude Code loads it automatically and uses it when a task matches.

+Does Medical Device Software work with ChatGPT or Codex?

Yes. Medical Device Software uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/medical-device-software. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Medical Device Software free?

Medical Device Software is published on GitHub by alirezarezvani under the MIT license, which allows free use.

Related testing & code review skills

  1. Agent Browser

    Official

    Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms,…

    vercel-labs/agent-browser★ 53k
  2. Playwright

    Official

    Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction,…

    openai/skills★ 29k
  3. Playwright Skill

    Complete browser automation with Playwright. Auto-detects dev servers, writes reusable test scripts, and supports screenshots, responsive…

    lackeyjb/playwright-skill★ 3.3k
  4. Memory Review

    Review what the agent has learned in auto-memory: what to promote to permanent rules, stale entries to prune, duplicates to merge.

    alirezarezvani/claude-skills★ 30k
  5. Migrate

    Use when moving tests from Cypress or Selenium to Playwright ('migrate tests', 'convert tests', 'replace selenium').

    alirezarezvani/claude-skills★ 30k
  6. Month End Close

    Use when running, planning or speeding up a month-end (or quarter-end) close — building or reviewing the close checklist and calendar,…

    alirezarezvani/claude-skills★ 30k
  7. Named Persona Adversarial Review

    Use when a PR has architectural or UX impact, or automated review feels generic, and you want it reviewed through named engineers'…

    alirezarezvani/claude-skills★ 30k
  8. Pr Review Expert

    File-by-file pull request review for bugs, security and quality, with a merge verdict.

    alirezarezvani/claude-skills★ 30k
  9. Pw

    Use for any Playwright or end-to-end browser testing work: writing tests, fixing flaky ones, migrating from Cypress or Selenium, CI setup,…

    alirezarezvani/claude-skills★ 30k

See all testing & code review skills →

More skills from alirezarezvani

  1. Meeting Analyzer

    Use when the user shares meeting transcripts (.vtt, .srt, .txt, Otter, Granola, Zoom) or asks how they come across in meetings.

    alirezarezvani/claude-skills★ 30k
  2. Meetings

    Use when someone wants to decide whether a meeting is worth calling, price a meeting in dollars, build a timeboxed agenda with desired…

    alirezarezvani/claude-skills★ 30k
  3. Memory Engineering

    Use before adding memory to an agent or when a memory store keeps growing (long context vs RAG vs graph vs agentic memory, what to expire).

    alirezarezvani/claude-skills★ 30k

All skills by alirezarezvani →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.