Install any skill in seconds. Free to start, no credit card required.
Get Started Free →EU MDR 2017/745 compliance specialist for medical device classification, technical documentation, clinical evidence, and post-market surveillance. Use for Annex VIII classification, GSPR, clinical evaluation, EUDAMED, and UDI.
.claude/skills/borghei-mdr-745-specialist/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | 191% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 378% | 0% |
| case-15 | ✓→✓ | = Same ✓ | 201% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 440% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 833% | 0% |
EU MDR compliance patterns for medical device classification, technical documentation, and clinical evidence.
Before classifying the device or analyzing gaps, confirm these inputs. If any is unknown or vague, ASK — do not assume:
Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the classification.
Classify device under MDR Annex VIII:
| Factor | Class I | Class IIa | Class IIb | Class III | |--------|---------|-----------|-----------|-----------| | Duration | Any | Short-term | Long-term | Long-term | | Invasiveness | Non-invasive | Body orifice | Surgical | Implantable | | System | Any | Non-critical | Critical organs | CNS/cardiac | | Risk | Lowest | Low-medium | Medium-high | Highest |
| Information Use | Condition Severity | Class | |-----------------|-------------------|-------| | Informs decision | Non-serious | IIa | | Informs decision | Serious | IIb | | Drives/treats | Critical | III |
Example 1: Absorbable Surgical Suture
Example 2: AI Diagnostic Software
Example 3: Cardiac Pacemaker
Prepare technical file per Annex II and III:
ANNEX II TECHNICAL DOCUMENTATION
├── Device description and UDI-DI
├── Label and instructions for use
├── Design and manufacturing info
├── GSPR compliance matrix
├── Benefit-risk analysis
├── Verification and validation
└── Clinical evaluation report| Requirement | Evidence | Status | |-------------|----------|--------| | Safe design (GSPR 1-3) | Risk management file | ☐ | | Chemical properties (GSPR 10.1) | Biocompatibility report | ☐ | | Infection risk (GSPR 10.2) | Sterilization validation | ☐ | | Software requirements (GSPR 17) | IEC 62304 documentation | ☐ | | Labeling (GSPR 23) | Label artwork, IFU | ☐ |
| Class | Route | NB Involvement | |-------|-------|----------------| | I | Annex II self-declaration | None | | Is/Im | Annex II + IX/XI | Sterile/measuring aspects | | IIa | Annex II + IX or XI | Product or QMS | | IIb | Annex IX + X or X + XI | Type exam + production | | III | Annex IX + X | Full QMS + type exam |
Develop clinical evidence strategy per Annex XIV:
| Class | Minimum Evidence | Investigation | |-------|------------------|---------------| | I | Risk-benefit analysis | Not typically required | | IIa | Literature + post-market | May be required | | IIb | Systematic literature review | Often required | | III | Comprehensive clinical data | Required (Article 61) |
CER CONTENTS
├── Executive summary
├── Device scope and intended purpose
├── Clinical background (state of the art)
├── Literature search methodology
├── Data appraisal and analysis
├── Safety and performance conclusions
├── Benefit-risk determination
└── PMCF plan summaryEstablish PMS system per Chapter VII:
| Component | Requirement | Frequency | |-----------|-------------|-----------| | PMS Plan | Article 84 | Maintain current | | PSUR | Class IIa and higher | Per class schedule | | PMCF Plan | Annex XIV Part B | Update with CER | | PMCF Report | Annex XIV Part B | Annual (Class III) | | Vigilance | Articles 87-92 | As events occur |
| Class | Frequency | |-------|-----------| | Class III | Annual | | Class IIb implantable | Annual | | Class IIb | Every 2 years | | Class IIa | When necessary |
| Timeline | Requirement | |----------|-------------| | 2 days | Serious public health threat | | 10 days | Death or serious deterioration | | 15 days | Other serious incidents |
Implement UDI system per Article 27:
| Module | Content | Actor | |--------|---------|-------| | Actor | Company registration | Manufacturer, AR | | UDI/Device | Device and variant data | Manufacturer | | Certificates | NB certificates | Notified Body | | Clinical Investigation | Study registration | Sponsor | | Vigilance | Incident reports | Manufacturer | | Market Surveillance | Authority actions | Competent Authority |
Required elements per Article 13:
references/mdr-classification-guide.md contains:
references/clinical-evidence-requirements.md contains:
references/technical-documentation-templates.md contains:
bash# Quick gap analysis python scripts/mdr_gap_analyzer.py --device "Device Name" --class IIa # JSON output for integration python scripts/mdr_gap_analyzer.py --device "Device Name" --class III --output json # Interactive assessment python scripts/mdr_gap_analyzer.py --interactive
Analyzes device against MDR requirements, identifies compliance gaps, generates prioritized recommendations.
Output includes:
| Factor | Considerations | |--------|----------------| | Designation scope | Covers your device type | | Capacity | Timeline for initial audit | | Geographic reach | Markets you need to access | | Technical expertise | Experience with your technology | | Fee structure | Transparency, predictability |
| Document | Title | Status | Key Impact | |----------|-------|--------|------------| | MDCG 2024-1 | Transition provisions under MDR Art. 120 | Final (2024) | Extended transition deadlines for legacy devices | | MDCG 2024-6 | Clinical evidence needed for medical devices previously CE marked under Directives | Final (2024) | Reduced clinical evidence burden for well-established devices | | MDCG 2023-4 Rev.1 | Notified Body capacity and availability | Revised (2024) | NB capacity monitoring and optimization | | MDCG 2022-18 Rev.1 | Software qualification and classification under MDR | Revised (2024) | Updated software classification algorithm | | MDCG 2020-1 Rev.1 | Clinical evaluation — equivalence | Revised (2024) | Refined equivalence demonstration requirements | | MDCG 2019-16 Rev.1 | Cybersecurity for medical devices | Revised (2024) | Enhanced cybersecurity requirements for connected devices | | MDCG 2019-11 Rev.1 | Qualification and classification of software | Active | Software as medical device classification |
| Device Category | Transition Deadline | Conditions | |----------------|--------------------|-----------| | Class III and implantable | 26 May 2026 | Valid MDD/AIMDD certificate + QMS application to NB by 26 May 2024 | | Class IIb | 31 December 2027 | Valid certificate + QMS application to NB | | Class IIa and Class I (sterile/measuring) | 31 December 2028 | Valid certificate + QMS application to NB | | Class I (up-classified under MDR) | 31 December 2028 | Previously exempt from NB involvement |
Conditions for extended deadlines:
Is the software a medical device?
│
▼
Does the software perform an action on data?
│
Yes─┴─No → NOT a medical device (data storage/communication only)
│
▼
Is the action for the benefit of individual patients?
│
Yes─┴─No → NOT a medical device (population health/admin)
│
▼
Is the action one of: treatment, diagnosis, monitoring, prediction?
│
Yes─┴─No → NOT a medical device (lifestyle/wellness)
│
▼
QUALIFIES AS MEDICAL DEVICE SOFTWARE → Apply classification rules| Decision Factor | Class IIa | Class IIb | Class III | |----------------|-----------|-----------|-----------| | Provides information to inform clinical management | Non-serious conditions | Serious conditions | N/A | | Drives clinical management or diagnoses | N/A | Non-serious conditions | Serious or critical conditions | | Monitors physiological processes | Non-vital parameters | Vital parameters (not immediate danger) | Vital parameters (immediate danger) |
| MDR Requirement | IEC 62304 Mapping | Documentation | |----------------|-------------------|---------------| | GSPR 17.1 (repeatability, reliability) | Software development process | Software development plan | | GSPR 17.2 (state of the art) | Software architecture | Architecture design document | | GSPR 17.3 (minimum IT requirements) | System requirements | IT environment specification | | GSPR 17.4 (foreseeable misuse) | Risk management | Software risk analysis | | Annex II §6.5 (software verification) | Software testing | Test plans and reports | | Annex I §23.4 (labeling for software) | Release documentation | Software release notes |
| AI/ML Capability | MDR Classification Impact | Regulatory Consideration | |-----------------|--------------------------|-------------------------| | AI-assisted detection | Typically Class IIa-IIb (Rule 11) | Must demonstrate clinical performance per intended use | | AI-driven diagnosis | Typically Class IIb-III (Rule 11) | Requires clinical investigation for novel indications | | AI treatment optimization | Typically Class IIb-III (Rule 11 + specific rules) | Benefit-risk analysis must account for AI uncertainty | | Continuously learning AI | Classification per highest risk output | Post-market monitoring must track algorithm evolution |
In addition to standard Annex II requirements, AI/ML devices must document:
| Section | Content | MDCG Reference | |---------|---------|----------------| | Algorithm description | Architecture, training approach, feature engineering | MDCG 2019-11, IMDRF SaMD WG | | Training data | Sources, demographics, size, labeling methodology, quality | MDCG 2020-1 (equivalence) | | Validation methodology | Test dataset independence, performance metrics, subgroup analysis | Annex XIV | | Clinical performance | Sensitivity, specificity, AUC, PPV, NPV per intended population | CER requirements | | Change management | How algorithm updates are validated and deployed | GSPR 17 | | Explainability | How the AI's output can be understood by intended users | GSPR 23 (labeling) |
| EU AI Act Requirement | MDR Equivalent | Combined Approach | |----------------------|----------------|-------------------| | High-risk classification (Annex III, Point 10) | Annex VIII classification rules | Both classifications apply; meet stricter requirement | | Conformity assessment (Art. 43) | Annex IX/X/XI assessment | MDR conformity assessment satisfies AI Act (Art. 120) | | Technical documentation (Annex IV) | Annex II technical documentation | Extend MDR technical file with AI Act-specific elements | | Risk management (Art. 9) | ISO 14971 + GSPR | ISO 14971 satisfies both when AI risks are included | | Data governance (Art. 10) | GSPR 17 + Annex XIV | Add AI-specific data governance to clinical evaluation | | Post-market monitoring (Art. 72) | Chapter VII PMS | Single PMS system covering both AI Act and MDR |
> See also: ../risk-management-specialist/SKILL.md for AI-specific risk management under ISO 14971, and ../fda-consultant-specialist/SKILL.md for FDA's AI/ML SaMD framework and PCCP.
| Module | Status | Mandatory Date | Content | |--------|--------|----------------|---------| | Actor Registration | Operational | Available now | Economic operator registration | | UDI/Device Registration | Operational | 6 months after Eudamed fully functional | Device and UDI-DI data | | Notified Body and Certificates | Operational | Available now | Certificate data upload by NBs | | Clinical Investigations | Operational | Available now | Study registration and reporting | | Vigilance | Partially operational | 24 months after fully functional | Incident reports, FSCAs, trend reports | | Market Surveillance | In development | 18 months after fully functional | CA market surveillance activities |
Key consideration: Until Eudamed is declared fully functional by the European Commission, manufacturers must use existing national systems (e.g., BfArM in Germany, ANSM in France) for vigilance reporting.
| Data Element | Required For | Update Frequency | |-------------|-------------|-----------------| | SRN (Single Registration Number) | All manufacturers | On change | | Authorized representative details | Non-EU manufacturers | On change | | Device identification (UDI-DI) | All devices placed on market | Before first placing on market | | Basic UDI-DI | Device model/family grouping | Before first placing on market | | GMDN code | Device nomenclature | On initial registration | | Risk class | Classification per Annex VIII | On initial registration | | NB certificate reference | Class IIa and above | When certificate issued | | Clinical investigation registration | Interventional studies | Before study start |
| Element | Description | Example | |---------|-------------|---------| | Device identifier | Unique code for device model/version | 04069876543219 (GS1 GTIN) | | Issuing entity | GS1, HIBCC, ICCBBA, or IFA | Selected by manufacturer | | Device model | Specific device configuration | "CardioMonitor X200" | | Device version | Software version (for SaMD) | "v3.1.0" | | Applicable regulations | MDR or IVDR reference | MDR 2017/745 | | Risk class | Per Annex VIII | Class IIa | | Basic UDI-DI | Grouping identifier for device family | 04069876500001 |
| PI Element | When Required | Format | |-----------|---------------|--------| | Lot/batch number | When tracking by lot | Lot: ABC123 | | Serial number | When individual tracking required (Class III, implantable) | SN: 2024-00001 | | Manufacturing date | When relevant to safety | Mfg: 2024-06-15 | | Expiry date | When device has shelf life | Exp: 2026-06-15 | | Software version | SaMD and software-driven devices | SW: v3.1.0 |
| Carrier Type | Format | Where Applied | |-------------|--------|---------------| | AIDC (barcode/2D code) | GS1 DataMatrix, GS1-128, HIBC | Device label, package label | | HRI (human-readable) | Plain text interpretation of AIDC | Adjacent to AIDC on label | | RFID | GS1 EPC/RFID | Optional, in addition to AIDC |
Labeling placement rules:
| Device Class | Submission Deadline | |-------------|-------------------| | Class III and implantable | Before placing on the market | | Class IIb | Before placing on the market | | Class IIa | Before placing on the market | | Class I | Before placing on the market |
> Note: All timelines are contingent on Eudamed being declared fully functional. Until then, manufacturers should pre-register in Eudamed (available modules) and maintain data readiness.
Healthcare organizations manufacturing or deploying medical devices may be classified as essential entities under NIS2:
| NIS2 Requirement | MDR Impact | Action for Manufacturers | |-----------------|-----------|--------------------------| | Art. 21: Cybersecurity risk management | MDCG 2019-16 cybersecurity guidance | Align device cybersecurity with organizational NIS2 compliance | | Art. 23: Incident reporting (24h/72h) | Art. 87-92 vigilance reporting | Unified incident reporting covering both device and infrastructure incidents | | Art. 21(2)(d): Supply chain security | Art. 11 authorized representatives, supply chain | Assess cybersecurity of device component suppliers | | Art. 20: Governance and accountability | Art. 10 manufacturer obligations | Senior management oversight of both NIS2 and MDR compliance |
> See also: ../information-security-manager-iso27001/SKILL.md for ISO 27001 alignment with NIS2 requirements.
eu-ai-act-specialist for AI Act obligationsnis2-directive-specialist for NIS2 compliance| Problem | Possible Cause | Resolution | |---------|---------------|------------| | Device classification unclear -- rules yield different results | Multiple classification rules apply; highest class must be selected per MDR Article 51(7) | Apply all applicable rules from Annex VIII (Rules 1-22); use the implementing rule that gives the highest classification; for software, apply MDCG 2019-11 Rev.1 algorithm; document rationale for each rule considered | | Notified Body rejects technical file for incompleteness | GSPR compliance matrix gaps, missing clinical evaluation, or insufficient risk management documentation | Review GSPR checklist in this skill; ensure Annex II technical file structure is complete; verify CER meets Annex XIV requirements; confirm ISO 14971 risk management file is current and comprehensive | | EUDAMED registration delays blocking market access | Module not operational or manufacturer SRN not obtained | Check current EUDAMED module status; obtain SRN via actor registration module (operational); use national systems for vigilance reporting until Eudamed Vigilance module is fully functional | | Clinical evidence insufficient for Class IIb/III device | Equivalence route rejected by NB or clinical investigation not planned | Reassess equivalence per MDCG 2020-1 Rev.1 (technical, biological, clinical equivalence with access to data); if equivalence fails, plan clinical investigation per Article 61; consider MDCG 2024-6 for reduced evidence burden on well-established devices | | MDR transition deadline approaching with NB application pending | Limited NB capacity (approximately 40 designated EU-wide as of 2025) | Verify transition deadline for your device class (Class III: May 2026, Class IIb: Dec 2027, Class IIa: Dec 2028); ensure QMS application was submitted to NB by applicable deadline; maintain MDD/AIMDD compliance during transition | | UDI labeling rejected by NB or competent authority | UDI-DI/UDI-PI format incorrect, AIDC carrier unreadable, or missing elements | Verify all required UDI elements per Article 27; ensure AIDC format (GS1 DataMatrix preferred) is scannable; include HRI adjacent to barcode; for reusable devices, apply direct marking that survives reprocessing | | AI/ML medical device faces dual regulatory obligations | Device classified under both MDR and EU AI Act as high-risk | Assess both MDR Annex VIII classification and EU AI Act Annex III categorization; MDR conformity assessment may satisfy AI Act per Art. 120; extend technical documentation with AI-specific elements per MDCG 2024-8 |
mdr_gap_analyzer.py, with all requirements addressed or in-progress with documented timelineIn Scope:
Out of Scope:
quality-manager-qms-iso13485 for ISO 13485 QMSrisk-management-specialist for ISO 14971Important Notes:
| Skill | Integration | When to Use | |-------|-------------|-------------| | fda-consultant-specialist | Cross-framework mapping for dual US/EU market; FDA QMSR aligns with ISO 13485 used by MDR | When device requires both FDA clearance/approval and EU MDR CE marking | | quality-manager-qms-iso13485 | ISO 13485 QMS is prerequisite for MDR conformity assessment (Annex IX, XI) | When establishing or auditing QMS for MDR compliance | | risk-management-specialist | ISO 14971 risk management file is core component of MDR technical documentation | When developing risk management file, FMEA, and benefit-risk analysis | | eu-ai-act-specialist | AI medical devices subject to both MDR and EU AI Act; classification and conformity assessment interaction | When AI-enabled medical device requires dual regulatory compliance | | capa-officer | CAPA process supports MDR vigilance obligations and FSCA implementation | When post-market surveillance identifies safety or performance issues requiring corrective action | | infrastructure-compliance-auditor | Cybersecurity validation per MDCG 2019-16 Rev.1 for connected medical devices | When connected device requires cybersecurity documentation for technical file |
Analyzes device against MDR requirements, identifies compliance gaps, and generates prioritized recommendations.
| Flag | Required | Description | |------|----------|-------------| | --device <name> | Yes (unless --interactive) | Device name for gap analysis | | --class <class> | Yes (unless --interactive) | Device classification: I, Is, Im, IIa, IIb, III | | --output <format> | No | Output format: json for machine-readable output; default is human-readable text | | --interactive | No | Launch interactive assessment mode with guided questions |
Analysis Categories: Technical documentation (Annex II), GSPR compliance, clinical evidence (Annex XIV), post-market surveillance (Chapter VII), UDI/EUDAMED, labeling (Article 13), quality management system, risk management, and conformity assessment route.
Output: Requirements checklist with per-item status (Not Started/In Progress/Complete/N/A), gap identification with priority (Critical/High/Medium/Low), critical gap highlighting, completion percentage, and compliance roadmap recommendations.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-22 | fail→fail | 20,349 | 20,353 | +0% | 1 | 1 | 0% | 4,092 | 11,669 | +185% | 0 | 0 | — |
case-15 | pass→pass | 20,951 | 16,479 | -21% | 1 | 1 | 0% | 3,428 | 10,331 | +201% | 0 | 0 | — |
case-21 | fail→fail | 29,828 | 37,703 | +26% | 1 | 1 | 0% | 5,118 | 13,808 | +170% | 0 | 0 | — |
case-01 | fail→fail | 35,573 | 33,492 | -6% | 1 | 1 | 0% | 6,207 | 13,459 | +117% | 0 | 0 | — |
case-02 | fail→pass | 21,008 | 14,139 | -33% | 1 | 1 | 0% | 3,410 | 9,928 | +191% | 0 | 0 | — |
case-03 | pass→pass | 9,947 | 11,792 | +19% | 1 | 1 | 0% | 1,791 | 9,679 | +440% | 0 | 0 | — |
case-04 | pass→pass | 5,738 | 6,717 | +17% | 1 | 1 | 0% | 944 | 8,810 | +833% | 0 | 0 | — |
case-05 | pass→pass | 5,921 | 7,493 | +27% | 1 | 1 | 0% | 971 | 8,869 | +813% | 0 | 0 | — |
case-06 | pass→pass | 16,143 | 19,378 | +20% | 1 | 1 | 0% | 2,794 | 10,713 | +283% | 0 | 0 | — |
case-07 | pass→pass | 16,903 | 14,646 | -13% | 1 | 1 | 0% | 2,721 | 10,054 | +269% | 0 | 0 | — |
case-08 | fail→fail | 8,334 | 10,573 | +27% | 1 | 1 | 0% | 1,525 | 9,568 | +527% | 0 | 0 | — |
case-09 | pass→pass | 7,517 | 8,257 | +10% | 1 | 1 | 0% | 1,363 | 9,039 | +563% | 0 | 0 | — |
case-10 | fail→fail | 9,821 | 10,848 | +10% | 1 | 1 | 0% | 1,776 | 9,597 | +440% | 0 | 0 | — |
case-11 | fail→pass | 10,149 | 7,079 | -30% | 1 | 1 | 0% | 1,845 | 8,822 | +378% | 0 | 0 | — |
case-12 | pass→pass | 9,800 | 10,449 | +7% | 1 | 1 | 0% | 1,642 | 9,447 | +475% | 0 | 0 | — |
case-13 | fail→fail | 8,630 | 11,477 | +33% | 1 | 1 | 0% | 1,617 | 9,633 | +496% | 0 | 0 | — |
case-14 | pass→pass | 10,692 | 10,787 | +1% | 1 | 1 | 0% | 1,832 | 9,491 | +418% | 0 | 0 | — |
case-16 | fail→fail | 6,961 | 3,297 | -53% | 1 | 1 | 0% | 1,051 | 8,178 | +678% | 0 | 0 | — |
case-17 | pass→pass | 13,580 | 9,928 | -27% | 1 | 1 | 0% | 2,374 | 9,198 | +287% | 0 | 0 | — |
case-18 | pass→pass | 16,467 | 15,369 | -7% | 1 | 1 | 0% | 2,547 | 9,965 | +291% | 0 | 0 | — |
case-19 | pass→pass | 15,548 | 13,670 | -12% | 1 | 1 | 0% | 2,419 | 9,796 | +305% | 0 | 0 | — |
case-20 | fail→fail | 22,630 | 33,467 | +48% | 1 | 1 | 0% | 4,045 | 13,371 | +231% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +9 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.