com um clique
dtge-doc-audit
Audit DHF document inventory and coverage against DCA requirements
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Audit DHF document inventory and coverage against DCA requirements
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Run the self-improvement pipeline to analyze usage, plan, and apply Claude Code configuration improvements
Create, schedule, and manage autonomous AI-agent tasks with systemd timers
Create and manipulate Obsidian Canvas (.canvas) files using the JSON Canvas spec
Create a git commit with proper conventional commit message
Code generation, exploration, and image analysis via Codex CLI
Query Gemini CLI for quick lookups, deep research, and approach comparison
| name | dtge-doc-audit |
| description | Audit DHF document inventory and coverage against DCA requirements |
Audit medical device Design History File (DHF) document inventory and coverage against DCA (Design Compliance Analysis) requirements.
The document audit service:
/dtge-doc-audit <project-path> # Full document audit
/dtge-doc-audit <project-path> --domain usability # Audit specific domain
/dtge-doc-audit <project-path> --quick # Quick summary only
/dtge-doc-audit <project-path> --report # Generate formal report
Scan project directory for DHF documents:
# File patterns to discover
**/*.docx, **/*.odt, **/*.pdf, **/*.md
# Extract metadata from filenames
# Pattern: [prefix] DHFD-XX Title RXX ECRXXX (date).ext
Extract from each document:
Update registry: <project>/registry.json
Schema: ~/Documents/DTGE/Work/workflow/schemas/registry.schema.json
Check if DCA exists for project:
<project>/dca.json/dtge-generate-dca first or generate basic DCAFor each document:
[Code] Extract text via LibreOffice MCP tools:
libreoffice/read_document_text
libreoffice/get_document_info
[Code] Parse document structure:
[LLM] Map to DCA requirements:
Compare DCA requirements against document registry:
Gap Types:
| Type | Description | Example |
|---|---|---|
missing_document | Required document doesn't exist | No Use Specification |
incomplete_coverage | Document exists but doesn't fully address requirement | FMEA missing cybersecurity hazards |
outdated_reference | Document references old standard version | ISO 14971:2007 instead of 2019 |
evidence_gap | Document exists but lacks required evidence | Missing summative evaluation data |
process_gap | Required process not documented | No vulnerability management plan |
Categorize by Domain:
Assign Severity:
| Severity | Criteria |
|---|---|
critical | Required for regulatory submission, no pathway without it |
high | Strong expectation from FDA/notified body, may delay approval |
medium | Expected documentation, strengthens submission |
low | Best practice, nice to have |
Update gaps.json: <project>/gaps.json
Schema: ~/Documents/DTGE/Work/workflow/schemas/gaps.schema.json
Generate Gap Report: Based on template from existing gap assessments
# Gap Assessment - {Project Name}
## 1. Purpose
Brief description of assessment scope and objectives.
## 2. Design Changes Under Assessment
If applicable, list ECRs and changes being evaluated.
## 3. Standards Evolution
Table of standards changes since predicate/last assessment.
## 4. Gap Assessment by Domain
### 4.1 Usability Engineering (IEC 62366-1)
#### Current State
#### Gap Analysis Table
| Requirement | Current Evidence | Gap Status | Priority |
#### Recommendations
### 4.2 Cybersecurity (FDA 2023 Guidance)
[Same structure]
### 4.3 Risk Management (ISO 14971:2019)
[Same structure]
### 4.4 Software Documentation (IEC 62304)
[Same structure]
### 4.5 Hardware Validation
[Same structure]
### 4.6 Labeling
[Same structure]
## 5. Summary and Prioritization
### 5.1 High Priority Gaps
| Gap ID | Domain | Description | Remediation |
### 5.2 Medium Priority Gaps
[Same table structure]
### 5.3 Lower Priority Gaps
[Same table structure]
## 6. Recommended Action Plan
Phased remediation approach.
## 7. Document References
| Document ID | Title | Relevance |
## 8. Revision History
Document audit uses DCA as the "should have" baseline.
Gaps feed into /dtge-create-dhf for remediation document generation.
Gaps can trigger ECR creation via /dtge-ecr-manager.
Document Audit Summary - Higi Green Special 510(k)
Documents Scanned: 47
DCA Requirements: 87
Coverage:
Covered: 62 (71%)
Partial: 8 (9%)
Gap: 17 (20%)
Gaps by Severity:
Critical: 4 (GAP-01, GAP-04, GAP-05, GAP-06)
High: 5 (GAP-02, GAP-03, GAP-07, GAP-08, GAP-09)
Medium: 6 (GAP-10 through GAP-15)
Low: 2 (GAP-16, GAP-17)
Gaps by Domain:
Usability: 4
Cybersecurity: 4
Risk Mgmt: 3
Software: 4
Hardware: 1
Labeling: 1
Run `/dtge-doc-audit --report` for full report.
Work/Clients/Qualira/Higi/special_510k/11-Gap_Assessment/Special_510k_Gap_Assessment.mdWork/Clients/Qualira/Higi/scripts/build_traceability_matrix.py