Doncheli data policy

From doncheli/don-cheli-sdd · View interactive version

Doncheli data policy is an AI agent skill from the GitHub repository doncheli/don-cheli-sdd. Audit and document what personal or sensitive data the project collects, processes, and stores. Activate when user mentions "privacy", "data policy", "what data", "GDPR", "personal data", "data retention", "PII".

How to use this skill

Skill file

Don Cheli: Data Policy Auditor

Instructions

  1. Scan the codebase for PII and sensitive data patterns:
  1. Build a data inventory table: field name, model, purpose, retention, shared with
  2. Check against common compliance requirements:
  1. Flag violations as [critical | warning | info]
  2. Generate a draft Privacy Notice section if requested (--generate-notice)
  3. Save the audit to .dc/data-policy-audit-<date>.md
  4. Never make assumptions about compliance status — only report findings and flag gaps

Output Format

## Data Policy Audit — 2026-03-28

### Data Inventory
| Field     | Model      | Purpose       | Retention | Shared With     |
|-----------|-----------|---------------|-----------|----------------|
| email     | User       | Auth, comms   | Indefinite| SendGrid, Auth0|
| ip_address| AuditLog   | Security      | 90 days   | Internal only  |

### Compliance Gaps
🔴 CRITICAL: ip_address logged in plain text in audit_logs — encrypt or hash
🟡 WARNING:  No data retention policy enforced for User.email — GDPR Art. 5(e)
🟢 INFO:     No right-to-erasure endpoint found — required for GDPR compliance

### Recommendations
1. Add @Encrypted() decorator to ip_address field
2. Implement DELETE /users/:id endpoint that purges all PII
3. Document data retention in Privacy Policy
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.