ericrisco/rsc-harness / skills/data-policy
data-policy
VerifiedUse when building internal data-governance machinery: a retention schedule (period, lawful basis, expiry action, system where deletion runs), an Art. 6 lawful-basis register, an Art. 30 ROPA, or a consent capture/withdrawal model. NOT the public privacy notice or DSAR handling (that is `gdpr-privacy`), NOT SOC 2 posture (that is `compliance`).
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 12.3 KB |
| evals/README.md | markdown | 994 B |
| evals/cases.yaml | config | 3.1 KB |
| references/consent-and-ropa.md | markdown | 4.6 KB |
| references/retention-schedule.md | markdown | 4.9 KB |
| scripts/verify.shexecutable | script | 5.3 KB |
evals/cases.yaml
View on GitHubskill: data-policy
should_trigger:
- prompt: "Write our data retention policy with periods for HR, customer, and finance data."
why: "Core artifact — a retention schedule mapping categories to periods, the skill's primary job."
- prompt: "How long are we allowed to keep customer support tickets and server logs?"
why: "Everyday entry point — a retention-period question per data category."
- prompt: "Set up a Record of Processing Activities for our SaaS."
why: "ROPA / Art. 30 inventory, explicitly in scope."
- prompt: "Is our lawful basis for the newsletter consent or legitimate interest?"
why: "Non-obvious — looks like a marketing question, but it is a lawful-basis governance call (Art. 6) this skill owns."
- prompt: "We auto-delete users after 2 years but our backups still have them — how do we fix retention in backups?"
why: "Non-obvious — the backups/enforcement gap is squarely this skill's 'make it real in systems' section, not db mechanics."
- prompt: "Define cuánto tiempo guardamos los datos de clientes y qué borramos al expirar."
why: "Spanish trigger — retention period + expiry action, the core artifact."
- prompt: "Design our consent capture and withdrawal flow and log proof of consent."
why: "Consent model — capture, withdrawal, proof logging, the consent-matrix part of the skill."
should_not_trigger:
- prompt: "Write the privacy policy our users see on the website."
route_to: gdpr-privacy
why: "Public-facing notice + DSAR handling, not the internal retention/governance machinery."
- prompt: "Draft the Data Processing Addendum clauses in our vendor contract."
route_to: contracts
why: "Negotiated two-party contractual clauses, not an internal policy artifact."
- prompt: "Get us SOC 2 audit-ready and map our security controls."
route_to: compliance
why: "Audit posture / framework control mapping, not data-lifecycle rules."
- prompt: "Encrypt the PII at rest and harden the database access."
route_to: security-audit
why: "Security controls on the systems, not the governance policy they enforce."
- prompt: "Write the TTL migration to actually drop the old partitions."
route_to: db-migrations
why: "Deletion mechanics in the database, not the retention policy those mechanics satisfy."
capability:
- scenario: "A 20-person SaaS asks for a retention schedule covering customer accounts, support tickets, marketing consents, and access logs — with the lawful basis for each and what runs at expiry."
must_include:
- "A table with one row per category, each having all of: retention period, lawful basis (specific Art. 6 sub-paragraph), expiry action (delete/anonymize/archive), and system of record."
- "At least one row using a lawful basis other than consent (e.g. Art. 6(1)(b) contract or 6(1)(f) legitimate interest for logs)."
- "Explicit handling of backups/archives, not just live data."
- "A legal-hold exception note for the auto-deletion workflow."
- "The DPO/counsel sign-off boundary and a not-legal-advice statement."
- "A 'validate against local + sector law' caveat — no period asserted as universally lawful."
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |