Arckit fr rgpd

From tractorjuice/arckit-codex · View interactive version

Arckit fr rgpd is an AI agent skill from the GitHub repository tractorjuice/arckit-codex. [COMMUNITY] Assess CNIL-specific GDPR obligations for French deployments — cookies, health data (HDS), minors, délibérations CNIL, and French enforcement patterns

How to use this skill

Skill file

⚠️ Community-contributed command — not part of the officially-maintained ArcKit baseline. Output should be reviewed by qualified DPO / RSSI / legal counsel before reliance. Citations to ANSSI / CNIL / EU regulations may lag the current text — verify against the source.

You are helping an enterprise architect generate a French CNIL Compliance Assessment — the French-specific GDPR layer applied by the CNIL (Commission Nationale de l'Informatique et des Libertés). Run this after $arckit-eu-rgpd to add French obligations that go beyond the EU GDPR baseline.

User Input

$ARGUMENTS

Instructions

Note: Before generating, scan projects/ for existing project directories. For each project, list all ARC-*.md artifacts, check external/ for reference documents, and check 000-global/ for cross-project policies. If no external docs exist but they would improve output, ask the user.

Step 0: Read existing artifacts from the project context

MANDATORY (warn if missing):

RECOMMENDED (read if available, note if missing):

OPTIONAL (read if available, skip silently):

Step 0b: Read external documents and policies

Step 1: Identify or Create Project

Identify the target project from the hook context. If the project doesn't exist:

  1. Use Glob to list projects/*/ directories and find the highest NNN-* number
  2. Calculate the next number (zero-padded to 3 digits)
  3. Slugify the project name
  4. Use the Write tool to create projects/{NNN}-{slug}/README.md
  5. Set PROJECT_ID and PROJECT_PATH

Step 2: Read Source Artifacts

Read all documents from Step 0. Identify:

Step 3: CNIL Template Reading

Read the template (with user override support):

Step 4: Generate CNIL Compliance Assessment

CRITICAL: Use the Write tool to create the assessment document.

  1. Detect version: Check for existing ARC-{PROJECT_ID}-CNIL-v*.md files:
  1. Auto-populate Document Control:
  1. Section 1: CNIL Regulatory Framework
  1. Section 2: Cookies and Trackers (always included — present in virtually all digital services)
  1. Section 3: Health Data (only if health data detected in data model or user input)
  1. Section 4: DPO Registration with CNIL
  1. Section 5: Data Subject Rights (French context)
  1. Section 6: Minors (if applicable)
  1. Section 7: CNIL Enforcement Priority Self-Assessment
  1. Section 8: Breach Notification to CNIL
  1. Section 9: International Transfers (French context)
  1. Section 10: Gap Analysis and Action Plan

Before writing the file, read .arckit/references/quality-checklist.md and verify all Common Checks plus CNIL per-type checks pass.

Write the document to:

projects/{project_id}/ARC-{PROJECT_ID}-CNIL-v{VERSION}.md

Step 5: Summary Output

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ CNIL Compliance Assessment Generated
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📄 Document: projects/{project_id}/ARC-{PROJECT_ID}-CNIL-v{VERSION}.md
📋 Document ID: {document_id}
📅 Assessment Date: {date}
🔒 Classification: Diffusion Restreinte

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 French-Specific Compliance Areas
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

| Area                       | Status      | Gaps |
|---------------------------|-------------|------|
| CNIL Cookie Guidelines    | {status}    | {N}  |
| Health Data (HDS)         | {N/A or status} | {N} |
| Age of Consent (15 years) | {N/A or status} | {N} |
| DPO Registration          | {status}    | {N}  |
| Post-Mortem Rights        | {status}    | {N}  |
| CNIL Enforcement Risks    | {level}     | {N}  |

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Critical Actions
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

{List 🔴 High priority gaps}

Next steps:
1. {If health data: Run $arckit-fr-secnumcloud for HDS-compliant hosting}
2. {If DPIA required: Run $arckit-dpia}
3. {If procurement: Run $arckit-fr-marche-public for DPA clauses}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Important Notes

Key References

| Document | Publisher | URL |

|----------|-----------|-----|

| CNIL — official website and guidance | CNIL | https://www.cnil.fr/ |

| Délibération 2020-091 — cookies and consent (French rules) | CNIL | https://www.cnil.fr/fr/cookies-et-autres-traceurs/regles/cookies/que-dit-la-loi |

| Loi n°78-17 Informatique et Libertés (amended) | Légifrance | https://www.legifrance.gouv.fr/loda/id/JORFTEXT000000886460 |

| HDS — Hébergement de Données de Santé (health data hosting) | ANS (Agence du Numérique en Santé) | https://esante.gouv.fr/produits-services/hds |

| DPO registration with CNIL | CNIL | https://notifications.cnil.fr/ |

| CNIL AIPD / DPIA guidance and tool (PIA) | CNIL | https://www.cnil.fr/fr/outil-pia-telechargez-et-installez-le-logiciel-de-la-cnil |

| GDPR full text | EUR-Lex | https://eur-lex.europa.eu/eli/reg/2016/679/oj |

Note for reviewers: This command covers France-specific GDPR obligations layered on top of the baseline EU GDPR (covered by $arckit-eu-rgpd). Key French specifics: the age of digital consent is 15 (not the GDPR default of 16), HDS (Hébergement de Données de Santé) is a mandatory French certification for any cloud provider hosting health data, and the CNIL has issued specific guidance on analytics tools — notably ruling that Google Analytics transfers personal data to the US unlawfully (2022). The CNIL is the French Data Protection Authority (DPA), member of the EDPB.

Success Criteria

Example Usage

$arckit-fr-rgpd Assess CNIL compliance for a French regional hospital group deploying a patient portal, processing données de santé, with third-party analytics and a mobile app targeting both adults and teenagers

$arckit-fr-rgpd CNIL layer for 001 — e-commerce platform with Google Analytics, loyalty profiling, EU-US transfers

$arckit-fr-rgpd French GDPR layer for a ministry HR system handling agent personal data, DPO mandatory, no health data

Suggested Next Steps

After completing this command, consider running:

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.