agentleFS
vaquarkhanvaquarkhan/data-engineering-agent-skills/skills/privacy-retention-and-right-to-delete/SKILL.md

privacy-retention-and-right-to-delete

Skill48 starsChanged 6 months agoMITView on GitHub

Guides agents through privacy, retention, and deletion workflows in data systems. Use when handling personal data, retention limits, deletion requests, legal holds, or data minimization requirements across pipelines and published datasets.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the data platform must respect privacy obligations as an engineering behavior, not a policy slide.

    line 10
  2. Distinctive:

    Do not assume masking alone satisfies retention or deletion obligations.

    line 20
  3. Distinctive:

    no retention schedule exists

    line 62

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Privacy, Retention, And Right To Delete

Overview

Use this skill when the data platform must respect privacy obligations as an engineering behavior, not a policy slide. It helps agents make retention, deletion, masking, and minimization explicit across storage, transformations, and publishes.

When to Use

  • handling personal or regulated data
  • defining retention rules
  • implementing deletion or erasure requests
  • changing how sensitive fields are stored, copied, or published
  • validating that downstream systems do not retain data longer than allowed

Do not assume masking alone satisfies retention or deletion obligations.

Workflow

  1. Classify the data and obligations. Clarify:
    • sensitive fields
    • retention limit
    • deletion trigger
    • legal hold exceptions
    • downstream replication paths
  2. Map where the data lives. Include:
    • raw landing
    • transformed tables
    • serving layers
    • extracts
    • caches and feature stores
  3. Define the enforcement path. Decide how the system will:
    • prevent unnecessary copies
    • enforce retention windows
    • process deletions
    • prove compliance actions happened
  4. Validate downstream propagation. Deletion in one layer is not enough if copies remain elsewhere.
  5. Record exceptions and audit evidence.

Common Rationalizations

RationalizationReality
"The source system already deleted it."Downstream data products may still retain copies.
"We only use hashed identifiers."Hashing does not eliminate all privacy or retention duties.
"We can clean up old data later."Retention failures often become expensive compliance incidents.

Red Flags

  • no retention schedule exists
  • deletion requests stop at one system boundary
  • old extracts and caches are ignored
  • privacy controls rely on undocumented manual steps

Verification

  • Sensitive data and retention obligations are classified
  • All material storage locations and copies are mapped
  • Deletion and retention enforcement are explicit and testable
  • Audit evidence or runbooks exist for compliance actions

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.