AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Data Privacy Compliance

skill-05-deepak-patidar-claude-skills-data-privacy-compliance · by 05-deepak-patidar

Engineering for personal data — minimization, retention, deletion, subject rights, and compliance basics (GDPR, India DPDP, CCPA-class laws) as buildable requirements. Use when handling user personal data (names, mobiles, emails, addresses, IDs), designing signup/KYC/contact features, adding analytics or third-party trackers, planning data retention or deletion, or when the user says "privacy", "…

No reviews yet
0 installs
14 views
0.0% view→install

Install

$ agentstack add skill-05-deepak-patidar-claude-skills-data-privacy-compliance

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-05-deepak-patidar-claude-skills-data-privacy-compliance)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Data Privacy Compliance? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Data Privacy Compliance

Personal data is not an asset with a downside; it's a liability with a use case. Every mobile number you store can leak, be subpoenaed, be demanded back by its owner, or trigger a regulator. The engineering stance: collect the minimum, know where every copy lives, and be able to prove deletion. Retrofitting privacy is 10× the cost of designing it in — this skill is the design-it-in checklist.

(Legal disclaimer that is itself a rule: this skill makes you ready for compliance; the final word on GDPR/DPDP/sector rules for your product comes from qualified counsel. Flag to the user when their situation needs one — payments, health, minors, cross-border.)

Gate 1: Minimization — the cheapest compliance is data you don't have

  • For every field collected: what feature needs it? No feature, no field. "Might be useful later" is how liability accumulates. Optional fields default to not-asked, not merely not-required.
  • Collect at the moment of need, not at signup ("we'll need GSTIN eventually" → ask when they create their first tax invoice).
  • Derived beats raw: store age-band not birthdate, city not GPS trail, "verified: yes" not the ID document — whenever the feature allows.
  • Third-party sprawl counts: every analytics snippet, error tracker, and marketing pixel is you sharing personal data. Each gets the question: what do they receive, is it configured to mask it (IP anonymization, PII scrubbing in the error tracker), and is there an agreement (DPA) behind it? Keep the list of processors written down — every privacy law asks for it.

Gate 2: The data map — you can't protect what you can't find

Maintain a one-page inventory: each category of personal data × where it lives — primary DB tables, logs, error tracker, analytics, backups, exports, search indexes, caches, third parties, spreadsheets someone downloaded. This map is the prerequisite for every other gate, and it's what deletion requests get executed against. Update it when schemas change (same-PR rule, docs-and-runbooks).

The copies everyone forgets: request logs with PII in URLs (put identifiers in bodies/headers, not paths/query strings), error-tracker payloads, LLM prompts sent to AI providers (ai-engineering — that's a processor too), webhook payloads stored raw, and old exports in object storage.

Gate 3: Protection tiers (proportional, not theatrical)

  • Baseline for all personal data: encrypted in transit (everywhere, including internal hops) and at rest (disk/DB-level suffices for most), access through the app's authz — no shared read-everything DB credentials for humans; admin access audited (saas-multi-tenancy's admin rules).
  • Elevated for sensitive classes (government IDs, financial account numbers, health, anything about minors): field-level encryption or tokenization, masked in every UI/log (****1234), access logged per-view, and a real justification for storing it at all (see Gate 1).
  • Logs and analytics are the leak-by-default channel: PII masked at the logging layer (observability-readiness's rules), not by per-callsite discipline.

Gate 4: Retention and deletion — the part that must be BUILT

"Delete on request" is a feature with real engineering inside; laws (GDPR erasure, DPDP) make it mandatory, and it cannot be bolted on later:

  • Retention schedule: for each data category, how long and why ("invoices: 8 years, tax law" — legal holds beat deletion requests, and that's fine, but write it down). "Forever, by default" is the anti-pattern; a scheduled purge job enforces the schedule (idempotent, audited, tested).
  • Deletion capability: one tested procedure that, given a person, removes/anonymizes them across the data map — DB rows, files, search indexes, caches, and requests forwarded to processors. Where financial records must survive (they usually must), anonymize: keep the transaction, sever the person (name → "Deleted user", contact fields nulled).
  • Backups: industry-accepted answer is documented — deleted data expires with backup rotation (e.g., "gone from backups within 35 days"), and restores replay deletions. Write this down; auditors ask.
  • Account/tenant offboarding runs the same machinery (saas-multi-tenancy Gate 4: export → grace window → purge).

Gate 5: Subject rights and consent — the user-facing surface

  • Export ("give me my data"): produce a person's data in usable form — mostly a scoped query + JSON/CSV. Build it once, before it's requested with a deadline attached.
  • Consent where required (marketing communications, tracking cookies, anything beyond providing the service): recorded with timestamp and version of what they agreed to; withdrawable as easily as given; defaults unchecked. Transactional messages (OTP, invoice) don't need marketing consent — don't mix the streams, and honor unsubscribe on the marketing one.
  • Privacy policy states what you actually do (generated-boilerplate that contradicts your data map is worse than none). Update it when the map changes.

Gate 6: Breach readiness (before, not during)

You'll be judged on speed and honesty: know who decides (name a person), what laws require notification and in what window (GDPR: 72h to regulator; DPDP: notify the Board and affected users; know yours), and how you'd determine scope — which is your audit trail and access logs again (observability-readiness). A 30-minute tabletop drill ("support laptop stolen — what do we do?") is the whole preparation, and it's 30 minutes.

Review checklist for any new feature touching personal data

  • [ ] New fields pass Gate 1 (feature-justified, minimal, derived where possible).
  • [ ] Data map updated; new third-party recipients added to the processor list.
  • [ ] Fields masked in logs/errors; not in URLs.
  • [ ] Deletion procedure covers the new data; retention class assigned.
  • [ ] If it's a new sensitive class or crosses borders — flag for counsel, don't improvise.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.