mcpField
Q
qms-audit-expert

qms-audit-expert

github.com/alirezarezvaniTesting & quality28.9k751 installsUpdated 2d ago
Repository

About qms-audit-expert

An ISO 13485 internal audit guide for medical-device quality management systems. It covers risk-based planning, audit execution, finding and CAPA management, external audit preparation, and includes an audit scheduling script.

Key features

  1. 01Risk-based audit planning
  2. 02Evidence collection and finding records
  3. 03Nonconformity classification and CAPA tracking
  4. 04External audit readiness checklist
  5. 05Audit schedule optimization script

Use cases

  1. 01Planning an annual internal audit program
  2. 02Conducting audits and documenting evidence
  3. 03Tracking findings and corrective-action effectiveness
  4. 04Preparing for certification or regulatory audits

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/alirezarezvani/claude-skills --skill qms-audit-expert

After installing, type/qms-audit-expertin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
iso13485_audit_playbook.md
iso13485-audit-guide.md
nonconformity-classification.md
scripts/
audit_schedule_optimizer.py

Details

From the project README

QMS Audit Expert

ISO 13485 internal audit methodology for medical device quality management systems.


Table of Contents


Audit Planning Workflow

Plan risk-based internal audit program:

  1. List all QMS processes requiring audit
  2. Assign risk level to each process (High/Medium/Low)
  3. Review previous audit findings and trends
  4. Determine audit frequency by risk level
  5. Assign qualified auditors (verify independence)
  6. Create annual audit schedule
  7. Communicate schedule to process owners
  8. Validation: All ISO 13485 clauses covered within cycle
Risk-Based Audit Frequency
Risk LevelFrequencyCriteria
HighQuarterlyDesign control, CAPA, production validation
MediumSemi-annualPurchasing, training, document control
LowAnnualInfrastructure, management review (if stable)
Audit Scope by Clause
ClauseProcessFocus Areas
4.2Document ControlDocument approval, distribution, obsolete control
5.6Management ReviewInputs complete, decisions documented, actions tracked
6.2TrainingCompetency defined, records complete, effectiveness verified
7.3Design ControlInputs, reviews, V&V, transfer, changes
7.4PurchasingSupplier evaluation, incoming inspection
7.5ProductionWork instructions, process validation, DHR
7.6CalibrationEquipment list, calibration status, out-of-tolerance
8.2.2Internal AuditSchedule compliance, auditor independence
8.3NC ProductIdentification, segregation, disposition
8.5CAPARoot cause, implementation, effectiveness
Auditor Independence

Verify auditor independence before assignment:

  • Auditor not responsible for area being audited
  • No direct reporting relationship to auditee
  • Not involved in recent activities under audit
  • Documented qualification for audit scope

Audit Execution

Conduct systematic internal audit:

  1. Prepare audit plan (scope, criteria, schedule)
  2. Review relevant documentation before audit
  3. Conduct opening meeting with auditee
  4. Collect evidence (records, interviews, observation)
  5. Classify findings (Major/Minor/Observation)
  6. Conduct closing meeting with preliminary findings
  7. Prepare audit report within 5 business days
  8. Validation: All scope items covered, findings supported by evidence
Evidence Collection
MethodUse ForDocumentation
Document reviewProcedures, recordsDocument number, version, date
InterviewProcess understandingInterviewee name, role, summary
ObservationActual practiceWhat, where, when observed
Record traceProcess flowRecord IDs, dates, linkage
Audit Questions by Clause

Document Control (4.2):

  • Show me the document master list
  • How do you control obsolete documents?
  • Show me evidence of document change approval

Design Control (7.3):

  • Show me the Design History File for [product]
  • Who participates in design reviews?
  • Show me design input to output traceability

CAPA (8.5):

  • Show me the CAPA log with open items
  • How do you determine root cause?
  • Show me effectiveness verification records

See references/iso13485-audit-guide.md for complete question sets.

Finding Documentation

Document each finding with:

Requirement: [Specific ISO 13485 clause or procedure]
Evidence: [What was observed, reviewed, or heard]
Gap: [How evidence fails to meet requirement]

Example:

Requirement: ISO 13485:2016 Clause 7.6 requires calibration
at specified intervals.

Evidence: Calibration records for pH meter (EQ-042) show
last calibration 2024-01-15. Calibration interval is
12 months. Today is 2025-03-20.

Gap: Equipment is 2 months overdue for calibration,
representing a gap in calibration program execution.

Nonconformity Management

Classify and manage audit findings:

  1. Evaluate finding against classification criteria
  2. Assign severity (Major/Minor/Observation)
  3. Document finding with objective evidence
  4. Communicate to process owner
  5. Initiate CAPA for Major/Minor findings
  6. Track to closure
  7. Verify effectiveness at follow-up
  8. Validation: Finding closed only after effective CAPA
Classification Criteria
CategoryDefinitionCAPA RequiredTimeline
MajorSystematic failure or absence of elementYes30 days
MinorIsolated lapse or partial implementationRecommended60 days
ObservationImprovement opportunityOptionalAs appropriate
Classification Decision
Is required element absent or failed?
├── Yes → Systematic (multiple instances)? → MAJOR
│   └── No → Could affect product safety? → MAJOR
│       └── No → MINOR
└── No → Deviation from procedure?
    ├── Yes → Recurring? → MAJOR
    │   └── No → MINOR
    └── No → Improvement opportunity? → OBSERVATION
CAPA Integration
Finding SeverityCAPA DepthVerification
MajorFull root cause analysis (5-Why, Fishbone)Next audit or within 6 months
MinorImmediate cause identificationNext scheduled audit
ObservationNot requiredNoted at next audit

See references/nonconformity-classification.md for detailed guidance.


External Audit Preparation

Prepare for certification body or regulatory audit:

  1. Complete all scheduled internal audits
  2. Verify all findings closed with effective CAPA
  3. Review documentation for currency and accuracy
  4. Conduct management review with audit as input
  5. Prepare facility and personnel
  6. Conduct mock audit (full scope)
  7. Brief personnel on audit protocol
  8. Validation: Mock audit findings addressed before external audit
Pre-Audit Readiness Checklist

Documentation:

  • Quality Manual current
  • Procedures reflect actual practice
  • Records complete and retrievable
  • Previous audit findings closed

Personnel:

  • Key personnel available during audit
  • Subject matter experts identified
  • Personnel briefed on audit protocol
  • Escorts assigned

Facility:

  • Work areas organized
  • Documents at point of use current
  • Equipment calibration status visible
  • Nonconforming product segregated
Mock Audit Protocol
  1. Use external auditor or qualified internal auditor
  2. Cover full scope of upcoming external audit
  3. Simulate actual audit conditions (timing, formality)
  4. Document findings as for real audit
  5. Address all Major and Minor findings before external audit
  6. Brief management on readiness status

Reference Documentation

ISO 13485 Audit Guide

references/iso13485-audit-guide.md contains:

  • Clause-by-clause audit methodology
  • Sample audit questions for each clause
  • Evidence collection requirements
  • Common nonconformities by clause
  • Finding severity classification
Nonconformity Classification

references/nonconformity-classification.md contains:

  • Severity classification criteria and decision tree
  • Impact vs. occurrence matrix
  • CAPA integration requirements
  • Finding documentation templates
  • Closure requirements by severity

Tools

Audit Schedule Optimizer
# Generate optimized audit schedule
python scripts/audit_schedule_optimizer.py --processes processes.json

# Interactive mode
python scripts/audit_schedule_optimizer.py --interactive

# JSON output for integration
python scripts/audit_schedule_optimizer.py --processes processes.json --output json

Generates risk-based audit schedule considering:

  • Process risk level
  • Previous findings
  • Days since last audit
  • Criticality scores

Output includes:

  • Prioritized audit schedule
  • Quarterly distribution
  • Overdue audit alerts
  • Resource recommendations
Sample Process Input
{
  "processes": [
    {
      "name": "Design Control",
      "iso_clause": "7.3",
      "risk_level": "HIGH",
      "last_audit_date": "2024-06-15",
      "previous_findings": 2
    },
    {
      "name": "Document Control",
      "iso_clause": "4.2",
      "risk_level": "MEDIUM",
      "last_audit_date": "2024-09-01",
      "previous_findings": 0
    }
  ]
}

Audit Program Metrics

Track audit program effectiveness:

MetricTargetMeasurement
Schedule compliance>90%Audits completed on time
Finding closure rate>95%Findings closed by due date
Repeat findings<10%Same finding in consecutive audits
CAPA effectiveness>90%Verified effective at follow-up
Auditor utilization4 days/monthAudit days per qualified auditor

Comments

Markdown supported