data-retention-policy
Build a data retention and deletion schedule grounded in legal basis. Use when asked to create a data retention policy, set retention periods, plan data deletion/minimisation, or answer 'how long can we keep this data?'. Produces a retention schedule — data categories with their retention period, legal/business basis, deletion trigger and method, plus flags for data kept with no basis or no defined period.
npx skills add mohitagw15856/pm-claude-skills --skill data-retention-policy --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Data Retention Policy Skill "Keep everything forever" is a liability, not a strategy — it grows breach exposure, violates data- minimisation rules (GDPR, CCPA), and turns every data subject request into an archaeology project. This skill builds a retention schedule that ties each data category to *how long* you keep it and *why* (legal basis), with a concrete deletion trigger — so retention is a defensible policy, not an accident. ## Required Inputs Ask for these only if they aren't already provided: - **Data categories** — the kinds of data you hold (customer records, logs, financial, HR, marketing, backups). - **Legal/regulatory drivers** — anything mandating minimum retention (tax/financial records, employment law) or maximum (GDPR minimisation, sector rules). - **Business need** — why each category is genuinely needed and for how long. - **Where it lives** — systems and backups (backups are the most-forgotten place data outlives its policy). ## Output Format ### Data Retention Schedule: [organisation] **1. Schedule** — the core table, one row per data category: | Data category | Retention period | Basis (legal/business) | Deletion trigger | Method | System(s) | |---|---|---|-
- Required Inputs
- Output Format
- Data Retention Schedule: [organisation]
- Programmatic Helper
- Quality Checks
- Anti-Patterns
- Based On
python3 scripts/retention_schedule.py data.json python3 scripts/retention_schedule.py data.json --json
What does the data-retention-policy skill do?
Build a data retention and deletion schedule grounded in legal basis. Use when asked to create a data retention policy, set retention periods, plan data deletion/minimisation, or answer 'how long can we keep this data?'. Produces a retention schedule — data categories with their retention period, legal/business basis, deletion trigger and method, plus flags for data kept with no basis or no defined period.
How do I install it?
Run `npx skills add mohitagw15856/pm-claude-skills --skill data-retention-policy --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From mohitagw15856/pm-claude-skills, a repository with 1,255 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
