Arckit fr dinum

From tractorjuice/arckit-codex · View interactive version

Arckit fr dinum is an AI agent skill from the GitHub repository tractorjuice/arckit-codex. [COMMUNITY] Assess compliance with French digital administration standards — RGI, RGAA, RGESN, RGS, and DINUM doctrine cloud de l'État

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 DINUM Standards Compliance Assessment for a French public sector digital service. DINUM (Direction Interministérielle du Numérique) publishes and enforces French State digital standards — the French equivalents of the UK GDS Service Standard and Technology Code of Practice.

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. Note especially:

Step 3: DINUM Template Reading

Read the template (with user override support):

Step 4: Applicability Scoping

Before generating the assessment, determine which standards apply:

| Standard | Mandatory if... | For this project |

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

| Doctrine cloud de l'État | Any cloud hosting by French State entity | [Yes/No] |

| RGI v2.0 | Any public digital service | Always Yes |

| RGAA 4.1 | State / EPA / EIC with > 250 agents, or large private company | [Mandatory/Recommended] |

| RGESN | Not binding by law: the RGESN 2024 is a non-binding reference (REEN law art. 25, CPCE L38-5). Required only where the organisation's policy or a contract adopts it | [Recommended / Required by policy or contract] |

| RGS v2.0 | Any information system operated by the State | Always Yes |

| FranceConnect | Citizen authentication required | [Yes/No] |

| ProConnect | Civil servant authentication required | [Yes/No] |

| DSFR | Citizen-facing public digital service | [Mandatory/Recommended] |

Show this scoping table to the user before generating the full assessment.

Step 5: Generate DINUM Assessment

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

  1. Detect version: Check for existing ARC-{PROJECT_ID}-DINUM-v*.md files:
  1. Auto-populate Document Control:
  1. Section 1: Doctrine Cloud de l'État (Circulaire 6282/SG du 5 juillet 2021)
  1. Section 2: RGI v2.0 — Interoperability
  1. Section 3: RGAA 4.1 — Digital Accessibility
  1. Section 4: RGESN — Digital Service Ecodesign
  1. Section 5: RGS v2.0 — Information Systems Security
  1. Section 6: FranceConnect / ProConnect Integration (if applicable)
  1. Section 7: DSFR — French State Design System (if citizen-facing)
  1. Section 8: Gap Analysis and Action Plan
  1. Executive Summary (top of document)

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

Write the document to:

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

Step 6: Summary Output

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ DINUM Standards Assessment Generated
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📄 Document: projects/{project_id}/ARC-{PROJECT_ID}-DINUM-v{VERSION}.md
📋 Document ID: {document_id}
📅 Assessment Date: {date}

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Compliance Summary
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

| Referential       | Status        | Critical Gaps |
|-------------------|---------------|--------------|
| Doctrine Cloud    | {status}      | {N}          |
| RGI v2.0          | {status}      | {N}          |
| RGAA 4.1          | {X%}          | {N}          |
| RGESN             | {status}      | {N}          |
| RGS v2.0          | {status}      | {N}          |

Total critical gaps: {N}

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚡ Immediate Actions Required
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

{List of 🔴 High priority gaps with owners}

Next steps:
1. {If personal data: Run $arckit-fr-rgpd for CNIL compliance}
2. {If cloud: Run $arckit-fr-secnumcloud for cloud doctrine alignment}
3. {If RGS gaps: Run $arckit-secure for security controls}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Important Notes

Key References

| Document | Publisher | URL |

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

| RGAA 4.1 — Référentiel Général d'Accessibilité pour les Administrations | DINUM | https://accessibilite.numerique.gouv.fr/ |

| RGESN — Référentiel Général d'Écoconception de Services Numériques (2024, non-binding) | Arcep / Arcom, with ADEME | https://ecoresponsable.numerique.gouv.fr/publications/referentiel-general-ecoconception/ |

| RGI 2.0 — Référentiel Général d'Interopérabilité | DINUM | https://www.numerique.gouv.fr/publications/interoperabilite/ |

| RGS v2.0 — Référentiel Général de Sécurité | ANSSI | https://cyber.gouv.fr/le-referentiel-general-de-securite-rgs |

| DSFR — Système de Design de l'État | DINUM | https://www.systeme-de-design.gouv.fr/ |

| FranceConnect — identity federation | DINUM | https://franceconnect.gouv.fr/ |

| Doctrine cloud de l'État — cloud-first policy | DINUM | https://www.numerique.gouv.fr/services/cloud/doctrine/ |

| API.gouv.fr — government API catalogue | DINUM | https://api.gouv.fr/ |

Note for reviewers: DINUM (Direction Interministérielle du Numérique) is France's central digital government directorate, equivalent in purpose to the UK's GDS (Government Digital Service). The RGI, RGAA and RGS are mandatory referentiels for French public IS — not voluntary standards. The RGESN is the exception: Arcep and Arcom publish it under the REEN law as a non-binding reference, which a public body can make mandatory through its own policy or its contracts. The DSFR (Design System of the French State) is the official component library for all public-facing government digital services, analogous to the GOV.UK Design System.

Success Criteria

Example Usage

$arckit-fr-dinum Assess DINUM standards compliance for a citizen-facing tax declaration portal operated by a French ministry, handling personal and financial data, targeting full RGAA compliance and SecNumCloud hosting, with FranceConnect integration

$arckit-fr-dinum DINUM compliance for 001 — regional government digital service, 300 agents, partial cloud migration to OVHcloud

$arckit-fr-dinum Assess digital standards for a French local authority (mairie) citizen portal, under 250 agents, RGAA recommended not mandatory

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.