healthcare-phi-compliance

Classify PHI/PII data and enforce access controls with audit trails.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/cescrafli/compyrasion --skill healthcare-phi-compliance-cescrafli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: healthcare-phi-compliance
Source: https://github.com/cescrafli/compyrasion/tree/main/skills/healthcare-phi-compliance
Command: npx skills add https://github.com/cescrafli/compyrasion --skill healthcare-phi-compliance-cescrafli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PHI/PII data protection patterns for healthcare applications to prevent data leakage, unauthorized access, and insufficient auditing; covering data classification, access control, audit trails, encryption, and common leak vectors.

Core Features & Use Cases

  • Data classification tagging for PHI/PII at the schema level and throughout data flows.
  • Enforced access controls and row-level security to restrict who can view sensitive information.
  • Immutable audit trails and structured logging to document PHI/PII access and modifications.
  • Guidance on secure data handling, encryption, and best-practice deployments in multi-tenant healthcare environments.
  • Common leak-vector mitigation including safe error handling, minimal data exposure in logs, and secure storage.

Quick Start

Configure your system to classify PHI/PII, enforce access controls, and enable auditable trails for healthcare data.

Frequently Asked Questions about healthcare-phi-compliance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce row-level security for PHI in electronic health records?

Implement row-level security for PHI by configuring access control policies that filter query results based on user roles. This ensures clinical staff only view patient records they are explicitly authorized to access within the healthcare application.

What is data classification tagging for PHI and PII in healthcare applications?

Data classification tagging for PHI and PII is the process of labeling sensitive data at the schema level and throughout data processing pipelines. It enables consistent identification and protection of protected health information across clinical workflows and patient portals.

How do I create immutable audit trails for patient portal data access?

Create immutable audit trails for patient portal data access by implementing structured logging mechanisms that document every PHI or PII view and modification. This ensures compliance by maintaining a tamper-proof record of all user interactions with sensitive healthcare data.

Does this approach handle common PHI leak vectors in multi-tenant healthcare environments?

Yes, this approach handles common PHI leak vectors in multi-tenant healthcare environments by enforcing safe error handling, minimizing sensitive data exposure in application logs, and providing secure storage guidelines to prevent data leakage across shared infrastructure.

What are the best practices for secure data handling and encryption in clinical workflows?

Best practices for secure data handling and encryption in clinical workflows include applying schema-level PHI classification, enforcing strict access controls, and utilizing immutable audit logging to track data modifications and ensure protected health information remains encrypted and secure.