Skip to content
affaan-m avatar

Healthcare Phi Compliance

Protected health information and PII compliance patterns covering classification, row-level access, audit trails, and leak prevention.

CCM score
73 of 100
skills.sh installs
11.2K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers data classification, row-level security, tamper-proof audit trails, schema tagging, and common PHI leak vectors
  • Includes RLS policy examples, an audit entry schema, COMMENT ON COLUMN tagging, and a pre-deployment checklist
  • Enforces no PHI in error messages, logs, URLs, browser storage, or client code using the service role key
  • Designed for teams building or auditing clinical systems under HIPAA, DISHA, or GDPR

Install

$ npx -y skills add affaan-m/ecc --skill healthcare-phi-compliance -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Healthcare PHI/PII Compliance Patterns

Patterns for protecting patient data, clinician data, and financial data in healthcare applications. Applicable to HIPAA (US), DISHA (India), GDPR (EU), and general healthcare data protection.

When to Use

  • Building any feature that touches patient records
  • Implementing access control or authentication for clinical systems
  • Designing database schemas for healthcare data
  • Building APIs that return patient or clinician data
  • Implementing audit trails or logging
  • Reviewing code for data exposure vulnerabilities
  • Setting up Row-Level Security (RLS) for multi-tenant healthcare systems

How It Works

Healthcare data protection operates on three layers: classification (what is sensitive), access control (who can see it), and audit (who did see it).

Data Classification

Details

Repository
github.com/affaan-m/ecc
Categories
Security, Databases, Backend & APIs
First seen
Jul 14, 2026

Questions

What does the healthcare-phi-compliance skill do?

It gives patterns for protecting Protected Health Information and personally identifiable data in healthcare apps, covering data classification, row-level access control, tamper-proof audit trails, schema tagging and common leak vectors such as logs, URLs and browser storage. It is meant for code that touches patient or clinician data, or for auditing a healthcare system for data exposure.

Which compliance regimes does this healthcare PHI skill cover?

The skill states its patterns apply to HIPAA in the US, DISHA in India, GDPR in the EU and general healthcare data protection. It is useful when implementing HIPAA or GDPR access controls in a patient-facing or clinical system.

How do I install the healthcare-phi-compliance skill?

Run npx -y skills add affaan-m/ecc --skill healthcare-phi-compliance -y inside your project. Once installed, the agent can apply PHI handling rules such as no patient data in error messages, console output, URLs or browser storage.

Where does healthcare-phi-compliance rank in the Security category?

It is listed in the Security category on Claude Marketplaces and ranks in the top 100 there. Other skills in the same category include azure-compliance, entra-agent-id, firebase-security-rules-auditor, security-audit and cloudflare-one.

More from affaan-m/ecc

All 257

Similar to Healthcare Phi Compliance

More Security