AGENT SKILL

fda-qsr-audit-prep

/cs:fda-qsr-audit-prep <scope> — FDA 21 CFR 820 (QSR / QMSR) audit 6-question forcing interrogation. Post-Feb 2026 substantially harmonized with ISO 13485. Use before annual internal QSR audit, pre-FDA-inspection readiness, or Form 483 response.

License 许可
MIT
所属仓库
TehutiRaEl/THEHIVE
最近更新
2026-11-15
Stars
★ 0
Forks
0

01 前言 Front Matter

name
fda-qsr-audit-prep
description
/cs:fda-qsr-audit-prep <scope> — FDA 21 CFR 820 (QSR / QMSR) audit 6-question forcing interrogation. Post-Feb 2026 substantially harmonized with ISO 13485. Use before annual internal QSR audit, pre-FDA-inspection readiness, or Form 483 response.

03 SKILL.md 正文

/cs:fda-qsr-audit-prep — FDA QSR Forcing Questions

Command: /cs:fda-qsr-audit-prep <scope>

The FDA QSR auditor pressure-tests any US medical-device QSR work. Six questions before any internal audit, FDA inspection, Form 483 response, or recall decision.

When to Run

  • Before annual internal QSR audit
  • Before pre-FDA-inspection readiness review (any device commercially distributed in US)
  • After receiving Form 483 observations
  • After Warning Letter receipt
  • After MDR-reportable event
  • Before recall decision (voluntary vs FDA-initiated)
  • Before submitting 510(k) / PMA (where QSR posture affects approval timeline)

The Six QSR Questions

1. Show me the complaint files from the last quarter — and the corresponding MDR reports.

21 CFR 820.198 + 21 CFR 803 — most-cited FDA inspection area.

  • Complaint log complete: who / what / when / device / batch
  • Investigation closure within reasonable timeline
  • MDR-reporting decision tree applied: death OR serious injury OR malfunction-that-could-cause = MDR
  • 30-day timeline for most MDR reports; 5 days for certain serious events
  • Complaint trending input to management review

2. When was process validation (IQ/OQ/PQ) last revalidated per 21 CFR 820.75?

Cross-walks ISO 13485 Clause 7.5.6 (substantially harmonized post-Feb 2026).

  • Initial validation at process introduction
  • Revalidation triggers: process / equipment / material change OR periodic schedule
  • Statistical techniques per 21 CFR 820.250 where applicable
  • Cross-check with cs-cqm-iso13485 for ISO 13485 alignment

3. Show me the DHRs for products commercially distributed in last 2 years.

21 CFR 820.180 — 2-year retention from commercial distribution; check sampling for completeness.

  • Device History Record (DHR) for each unit/lot/batch
  • Must include: dates of manufacture, quantity manufactured, quantity released, acceptance records, primary identification label, device identification, control number
  • Sample stratified by product class
  • Verify DHR closeness to DHF (design history file)

4. Show me CAPAs from the last 6 months with effectiveness verification.

21 CFR 820.100 = ISO 13485 8.5.2 substantially harmonized.

  • Root cause analysis depth (5 Why minimum)
  • Effectiveness verification = measurable evidence, not "we updated the procedure"
  • Containment / correction / corrective action distinction documented
  • Closure approval by appropriate authority
  • Aging CAPAs > 90 days flagged

5. Show me labeling (21 CFR 801) review for the most recent product launch.

FDA-specific overlay not in ISO 13485.

  • Labeling per 21 CFR 801 requirements
  • For specific device types: also 21 CFR 800 series sectoral overlays
  • UDI (Unique Device Identification) per 21 CFR 830
  • Promotional materials reviewed for accuracy + non-misleading

6. If a Form 483 was issued in the last 3 years, show me the closure status.

Form 483 = FDA observation; not equivalent to ISO nonconformity.

  • Response within 15 working days
  • Each observation has documented corrective + preventive action with timeline
  • Effectiveness verification evidence
  • For Warning Letters: separate response track + potentially FDA meeting

Workflow

# 1. QSR compliance posture
python ra-qm-team/skills/fda-consultant-specialist/scripts/qsr_compliance_checker.py compliance_state.json

# 2. FDA submission tracking (510(k) / PMA / IDE)
python ra-qm-team/skills/fda-consultant-specialist/scripts/fda_submission_tracker.py submissions.json

# 3. HIPAA overlap (if connected device handles PHI)
python ra-qm-team/skills/fda-consultant-specialist/scripts/hipaa_risk_assessment.py phi_inventory.json

# 4. Mock FDA inspection
python ../../skills/compliance-os/scripts/audit_simulator.py fda_qsr_scope.json

Output Format

# FDA QSR Audit Prep: <scope>
**Date:** YYYY-MM-DD

## The Decision Being Made
[programme-plan | inspection-readiness | 483-response | MDR-decision | recall]

## Complaint + MDR Posture
- Complaints last quarter: N
- MDR-reportable events: M
- MDR reports filed within timeline: % (target 100%)
- Complaint trending review at management level: yes/no

## Process Validation Status (21 CFR 820.75)
- Validations on schedule: %
- Stale validations: <list>
- Statistical techniques applied: yes/no per process

## DHR Completeness (21 CFR 820.180)
- DHRs sampled: N
- Completeness rate: %
- 2-year retention compliant: yes/no
- Stratified by product class: yes/no

## CAPA Health (21 CFR 820.100)
- CAPAs sampled: N
- Root cause analysis depth: adequate/inadequate
- Effectiveness verification: complete/incomplete
- Aging CAPAs > 90 days: N

## Labeling (21 CFR 801)
- Recent products reviewed: <list>
- Labeling accurate + non-misleading: yes/no
- UDI compliance per 21 CFR 830: yes/no

## Form 483 / Warning Letter History
- Form 483s last 3 years: N (each: closed/in-progress)
- Warning Letters last 5 years: N (each: closed/in-progress)
- Pattern across observations: <thematic>

## ISO 13485 Cross-Walk (post-Feb 2026 harmonization)
- ISO 13485 audit findings: <link to cs-cqm-iso13485 output>
- FDA-specific overlays remaining: labeling + complaint handling + MDR reporting + recall procedures
- Cross-framework reuse: % of evidence shared

## Verdict
🟢 INSPECTION-READY | 🟡 GAPS-IDENTIFIED | 🔴 NOT-READY

## Top 3 Actions
[3 concrete next steps with owner + FDA-cited timeline (15 days / 30 days / etc.)]

## Outside Counsel Required
[For Warning Letter response, recall decisions, or 510(k) / PMA strategy disputes]

Routing

  • /cs:compliance-readiness — for multi-framework view
  • /cs:iso13485-audit-prep — for ISO 13485 cross-walk pair (substantially harmonized)
  • /cs:gdpr-audit-prep — if connected device handles personal data
  • /cs:gc-review — for Warning Letter response coordination

Related


Version: 1.0.0

04 同仓库更多 Skills

TehutiRaEl
TehutiRaEl/THEHIVE

preamble-gate

Use BEFORE doing any work in this repo — before the first file edit, commit, push, PR, branch operation, workflow dispatch, scheduled trigger or timer, agent/subagent spawn, dependency install, or message sent to an outside service. Forces a plain-language preamble to the founder first: WHAT you are about to do, WHY, HOW, why it is NECESSARY, the PROJECTED IMPROVEMENT, and the COST and RISK — then, for consequential work (governance, security, money, CI/triggers, rewriting history, multi-agent fan-out), waits for an explicit go-ahead. Read-only investigation (reading files, grep, git log/diff, answering questions) is exempt. Applies to every AI that works in this repo, not just Claude. Founder rule, 2026-11-10, written after an unattended automation ran up cost and froze the hive. Not a substitute for wired-or-not (which governs how completion is CLAIMED); this governs what happens BEFORE work starts.

★ 0
TehutiRaEl
TehutiRaEl/THEHIVE

visionary-recommender

暂无简介

★ 0
TehutiRaEl
TehutiRaEl/THEHIVE

syllabus

Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.

★ 0
TehutiRaEl
TehutiRaEl/THEHIVE

research

Default entry point for any research request — a hybrid router that classifies the question deterministically and either delegates to a specialist research skill (pulse for trends/sentiment, grants for NIH funding, litreview for academic literature, syllabus for course reading, patent for prior-art + IP landscape, dossier for entity research) or runs its own plan-decompose-multi-source-search-synthesize-cite fallback workflow when no specialist matches. Always surfaces the routing decision so users can override. Use when the user makes any research request that doesn't obviously match a more-specific specialist skill (e.g., "research [topic]", "look into [topic]", "what do we know about [topic]", "investigate [topic]", "find me information on [topic]", "do some research on [topic]", "I need to understand [topic]"). Output is a markdown briefing (default) or .docx document (on request) with full citations and an audit log.

★ 0
TehutiRaEl
TehutiRaEl/THEHIVE

pulse

Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X/Twitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend/sentiment/problems/opportunities/comparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Use when the user requests multi-source recency intelligence on a topic (e.g., 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]'), and for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.

★ 0
TehutiRaEl
TehutiRaEl/THEHIVE

patent

Patent prior-art and landscape intelligence skill — not generic patent help. Commits to one of five sub-use-cases via forcing intake (novelty search / freedom-to-operate / competitive landscape / acquisition diligence / litigation prior-art) before any search runs. Searches Google Patents, Espacenet, USPTO, and optionally Lens.org for citation-graph signals. Output is an editable Word document (.docx) with verdict, ranked closest art (claim-text extracted), CPC-class-aware landscape, family-resolved hits, geographic coverage, FTO flags where applicable, strategy recommendations, and full audit log. Use when the user asks for patent searching or analysis (e.g., 'prior art search for [invention]', 'freedom to operate analysis for [product]'). Produces search signal, not legal advice — always recommends consulting a patent attorney before filing or licensing decisions. Trademark, copyright, and trade-secret questions are out of scope.

★ 0