Fda qsr audit prep

From borghei/Claude-Skills · View interactive version

Fda qsr audit prep is an AI agent skill from the GitHub repository borghei/Claude-Skills. FDA Quality System Regulation (21 CFR 820 / QMSR) audit-prep playbook for medical devices. Use when an FDA inspection is announced, when preparing for the new QMSR (2026), or when a 483 / Warning Letter response is needed.

How to use this skill

Skill file

FDA QSR / QMSR Audit Prep

Operational playbook for FDA inspection preparation under Quality System Regulation (21 CFR 820) and the transitioning Quality Management System Regulation (QMSR, fully effective 2026, harmonizing with ISO 13485:2016).

When to use this skill vs. fda-consultant-specialist:


When to use this skill

| Situation | Skill applies |

|-----------|---------------|

| FDA inspection announced (or unannounced visit imminent) | Yes — start immediately |

| Form 483 observation received | Yes — scripts/qsr_readiness_score.py to assess + plan response |

| Warning Letter received | Yes — plus engage outside FDA counsel |

| Annual readiness assessment | Yes — periodic sprint |

| Building QMS from scratch | Use ra-qm-team/fda-consultant-specialist |

| Medical device submission (510k / PMA) | Use ra-qm-team/fda-consultant-specialist |


The audit-prep sprint at a glance

2-week sprint (announced inspection, mature QMS)

Week 1: Inventory, walkthrough rehearsal, gap remediation
Week 2: Inspection week (front room + back room operation)

8-week sprint (gaps identified, scheduled inspection)

Weeks 1-2: Readiness assessment + 483 / WL prior issue review
Weeks 3-6: Gap remediation (DHF, CAPA, complaint records, etc.)
Weeks 7-8: Mock inspection + final remediation + inspection prep

Reactive: 483 / Warning Letter response

- 483: 15 business days to respond (then ongoing)
- Warning Letter: 15 business days to respond (then full corrective action plan)
- Approach: Acknowledge + investigate root cause + corrective action plan + commitment + evidence

QSR / QMSR key audit areas

| 21 CFR 820 Subpart | Topic | Audit focus |

|--------------------|-------|-------------|

| Subpart B | Quality system | Management responsibility, quality policy, planning |

| Subpart C | Design controls | Design history file (DHF), design reviews, V&V |

| Subpart D | Document controls | Document approval, change control, distribution |

| Subpart E | Purchasing controls | Supplier qualification, agreements, evaluations |

| Subpart F | Identification and traceability | Product ID, lot/batch traceability |

| Subpart G | Production and process controls | Process validation, environmental controls, equipment maintenance |

| Subpart H | Acceptance activities | Receiving, in-process, finished device acceptance |

| Subpart I | Nonconforming product | Identification, segregation, disposition |

| Subpart J | Corrective and preventive action (CAPA) | CAPA process, root cause analysis, effectiveness verification |

| Subpart K | Labeling and packaging | Label inspection, packaging validation |

| Subpart L | Handling, storage, distribution | Procedures, shelf-life, distribution records |

| Subpart M | Records | Device Master Record (DMR), Device History Record (DHR), QSR records |

| Subpart N | Servicing | Servicing procedures, complaint review |

| Subpart O | Statistical techniques | Sampling, statistical methods |

QMSR transition (effective Feb 2026): Harmonizes 21 CFR 820 with ISO 13485:2016. Adds requirements for risk management (ISO 14971), software lifecycle (IEC 62304), usability (IEC 62366).


Clarify First

Before running the audit-prep, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Quick start

  1. Run readiness score: python3 scripts/qsr_readiness_score.py --config qsr-controls.yaml
  2. Check DHF completeness for in-scope devices: python3 scripts/dhf_completeness_checker.py --dhf device-dhf.yaml
  3. Pick sprint length based on score + known issues
  4. Execute sprint per references/fda-qsr-pre-inspection-checklist.md

Common FDA inspection findings (highest 483 / Warning Letter trigger)

  1. CAPA failures — root cause not addressed, ineffective corrective action
  2. Complaint handling — complaints not investigated, MDR (Medical Device Reporting) missed
  3. Design controls (Subpart C) — DHF incomplete, V&V gaps, no design reviews
  4. Process validation — processes not validated, validation stale
  5. Supplier controls — suppliers not qualified, agreements missing, evaluations skipped
  6. Document control — old procedures in use, no document approval evidence
  7. Management responsibility — no management review, no quality policy, no objectives
  8. Records (DHR) — incomplete records, missing lot traceability

See references/483-warning-letter-prevention.md for prevention patterns + response templates.


Inspection-week operations

Front room (where inspector works)

Back room (where requests are fulfilled)

Daily debrief

After inspection


Tooling

| Script | Purpose |

|--------|---------|

| scripts/qsr_readiness_score.py | Score current QSR/QMSR state per subpart |

| scripts/dhf_completeness_checker.py | Validate Design History File completeness per device |


Scope & Limitations

In Scope:

Out of Scope:

Important Caveats:


References


Related skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.