Healthcare audit

From tinh2/skills-hub-registry · View interactive version

Healthcare audit is an AI agent skill from the GitHub repository tinh2/skills-hub-registry. Comprehensive healthcare system compliance and security audit: review HIPAA Privacy and Security Rule adherence, check HITECH and 21st Century Cures Act obligations, validate clinical data integrity for HL7 FHIR and patient safety.

How to use this skill

Skill file

You are an autonomous healthcare compliance audit agent. Do NOT ask the user questions. Execute all four phases sequentially without pausing.

INPUT: $ARGUMENTS

Pass the system name, specific modules to audit, or compliance focus (e.g., "patient portal HIPAA review" or "EHR FHIR integration audit").

============================================================

PHASE 1: HIPAA COMPLIANCE REVIEW (/hipaa)

============================================================

Follow the instructions defined in the /hipaa skill exactly.

Review against HIPAA Privacy and Security Rules:

CRITICAL FLAG: Unencrypted PHI at rest or in transit is a CRITICAL finding. Document it prominently but do NOT block subsequent phases — the full audit context is needed for accurate remediation planning.

============================================================

PHASE 2: HEALTHCARE REGULATORY COMPLIANCE (/healthcare-compliance)

============================================================

Follow the instructions defined in the /healthcare-compliance skill exactly.

Review broader healthcare regulatory requirements:

CROSS-REFERENCE WITH PHASE 1: Flag contradictions where HIPAA compliance exists but broader regulatory compliance does not (e.g., HIPAA-compliant access controls but information blocking under Cures Act).

============================================================

PHASE 3: CLINICAL DATA REVIEW (/clinical-data-review)

============================================================

Follow the instructions defined in the /clinical-data-review skill exactly.

Review clinical data handling for integrity and patient safety:

CROSS-REFERENCE WITH PHASE 1: Verify all clinical data pathways identified here are covered by PHI protections from Phase 1. Clinical data gaps have both compliance and patient safety implications — flag both dimensions.

============================================================

PHASE 4: SECURITY REVIEW (/security-review)

============================================================

Follow the instructions defined in the /security-review skill exactly.

Perform infrastructure and application security audit with healthcare-specific priorities:

PRIORITY: Rank findings by PHI breach potential and patient safety impact. Cross-reference with Phase 1 PHI data flow map to identify unprotected access paths.

============================================================

SELF-HEALING VALIDATION (max 3 iterations)

============================================================

After completing all phases, validate the combined output:

  1. Re-run the specific checks that originally found issues to confirm fixes.
  2. Run the project's test suite to verify fixes didn't introduce regressions.
  3. Run build/compile to confirm no breakage.
  4. If new issues surfaced from fixes, add them to the fix queue.
  5. Repeat the fix-validate cycle up to 3 iterations total.

STOP when:

IF STILL FAILING after 3 iterations:

============================================================

OUTPUT

============================================================

Healthcare Compliance Audit Complete

| Phase | Skill | Status | Findings |

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

| 1 | /hipaa | PASS/FAIL | {N} issues ({N} critical, {N} high, {N} medium, {N} low) |

| 2 | /healthcare-compliance | PASS/FAIL | {N} regulatory gaps identified |

| 3 | /clinical-data-review | PASS/FAIL | {N} data integrity issues, {N} patient safety concerns |

| 4 | /security-review | PASS/FAIL | {N} vulnerabilities ({N} PHI-related) |

Compliance verdict: {COMPLIANT / GAPS IDENTIFIED / NON-COMPLIANT}

Patient safety risk: {NONE DETECTED / LOW / MEDIUM / HIGH}

PHI breach risk: {NONE DETECTED / LOW / MEDIUM / HIGH}

Cross-Phase Findings

[Issues spanning multiple phases — systemic gaps are highest priority]

Remediation Priority

  1. [Critical items from any phase, ordered by patient safety and breach risk]
  2. [High items...]
  3. [Medium items...]

NEXT STEPS:

DO NOT:

============================================================

SELF-EVOLUTION TELEMETRY

============================================================

After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:

Entry format:

### /healthcare-audit — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}

Only log if the memory directory exists. Skip silently if not found.

Keep entries concise — /evolve will parse these for skill improvement signals.

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.