Arckit fr marche public

From tractorjuice/arckit-codex · View interactive version

Arckit fr marche public is an AI agent skill from the GitHub repository tractorjuice/arckit-codex. [COMMUNITY] Generate French public procurement documentation aligned with code de la commande publique, UGAP catalogue, and DINUM digital standards

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 French public procurement documentation (Dossier de Consultation des Entreprises) aligned with the Code de la Commande Publique, UGAP, and DINUM digital doctrine requirements.

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 and projects/{NNN}-{slug}/vendors/README.md
  5. Set PROJECT_ID and PROJECT_PATH

Step 2: Read Source Artifacts

Read all documents from Step 0. Extract key information for the procurement file:

Step 3: Procurement Template Reading

Read the template (with user override support):

Step 4: Threshold Analysis

Before generating the document, determine the applicable procedure:

| Estimated value (excl. VAT) | Procedure | BOAMP | JOUE | Min. Period |

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

| < €60,000 (supplies/services) or < €100,000 (works) | No publicity or competition required (R2122-8) | No | No | None set |

| From €60,000 to < €90,000 (supplies/services) | MAPA (Marché à Procédure Adaptée) | Free choice of publicity | No | Set by the buyer (no fixed minimum) |

| From €90,000 (supplies/services) or €100,000 (works) to below the formal-procedure threshold | MAPA | BOAMP or a legal-notices journal (JAL) | If needed to reach interested bidders | Set by the buyer (no fixed minimum) |

| ≥ €140,000 (supplies/services, central government authorities) | Formal procedure, e.g. open call for tenders (Appel d'Offres Ouvert) | Yes | Yes | Open call: 35 days (30 if tenders can be sent electronically) |

| ≥ €216,000 (supplies/services, other contracting authorities) | Formal procedure, e.g. open call for tenders | Yes | Yes | Open call: 35 days (30 if tenders can be sent electronically) |

| ≥ €5,404,000 (works, all contracting authorities) | Formal procedure, e.g. open call for tenders | Yes | Yes | Open call: 35 days (30 if tenders can be sent electronically) |

Central government authorities (autorités publiques centrales) are the State (except the armed forces' health-service establishments), State public bodies other than EPIC (except public health establishments), independent administrative authorities with legal personality, the Caisse des dépôts, the Légion d'honneur, UGAP and two foundations. Local authorities and other contracting authorities use €216,000. Contracting entities (entités adjudicatrices, utilities) use €432,000 for supplies and services.

Note: The formal-procedure thresholds are the 2026–2027 EU thresholds (Commission Delegated Regulation (EU) 2025/2152, applicable from 1 January 2026), set out in the French avis of 13 January 2026 that forms annex 2 of the Code de la commande publique. EU thresholds are revised every two years, next on 1 January 2028. The national €60,000 / €100,000 thresholds come from décret n° 2025-1386 (works from 1 January 2026, supplies and services from 1 April 2026). Publicity: CCP R2131-12 (MAPA) and R2131-16 (formal procedures); time limits: R2161-2 and R2161-3.

Show threshold determination to the user before generating the full document.

Step 5: Generate Procurement Documentation

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

  1. Detect version: Check for existing ARC-{PROJECT_ID}-MARPUB-v*.md files:
  1. Auto-populate Document Control:
  1. Section 1: Threshold Analysis and Recommended Procedure
  1. Section 2: Requirements Statement
  1. Section 3: Award Criteria
  1. Section 4: Security and Sovereignty Clauses
  1. Section 5: UGAP Catalogue
  1. Section 6: Indicative Timeline
  1. Section 7: ANSSI-Qualified Security Provider Selection

If the procurement includes cybersecurity services (audit, incident response, SOC/detection, security consulting, or outsourced administration and maintenance of the system), include selection criteria requiring ANSSI qualification:

| ANSSI Qualification | Scope | When to Require |

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

| PASSI (Prestataires d'Audit de Sécurité des SI) | Penetration testing, technical audits | Any IS security audit or pentest |

| PRIS (Prestataires de Réponse aux Incidents de Sécurité) | Incident response, forensics | IR retainer; recommended for OIV/OSE systems |

| PDIS (Prestataires de Détection des Incidents de Sécurité) | SOC, threat detection, SIEM management | Managed detection services; required to operate the qualified detection probes on an OIV's SIIV, unless a State service runs them |

| PACS (Prestataires d'Accompagnement et de Conseil en Sécurité des SI) | Security consulting: homologation support, IS risk management, secure architecture, cyber-crisis preparation | Consulting for homologation, risk analysis, security architecture or crisis preparation |

| PAMS (Prestataires d'Administration et de Maintenance Sécurisées) | Secure administration and maintenance of the IS, including remote administration by an outsourced provider | Managed services (infogérance) or outsourced administration and maintenance of the system in scope |

  1. Section 8: Digital State Doctrine Compliance

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

Write the document to:

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

Step 6: Summary Output

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Procurement File Generated
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

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

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 Procurement Parameters
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Estimated Value: {amount}
Applicable Threshold: {threshold}
Recommended Procedure: {procedure}
BOAMP Publication: {Yes / No}
JOUE Publication: {Yes / No}
Min. Consultation Period: {X days}

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🛡️ Mandatory Clauses Included
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

✅ Environmental award criterion and execution condition (CCP L2152-7, L2112-2)
✅ Security annex (RGS v2.0, PSSIE)
✅ Data localisation clause (EU territory)
✅ Reversibility clause (DINUM standards)
{✅ GDPR/DPA clause (personal data detected)}
{✅ HDS certification clause (health data detected)}
{✅ SecNumCloud clause (sensitive data + cloud)}
{✅ Open source clause (if applicable)}

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📦 Requirements Linked
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

{N} functional requirements extracted
{N} technical requirements (NFR-xxx) included

Next steps:
1. Review and complete UGAP catalogue references (ugap.fr)
2. Legal team validation of contract clauses
3. {If tenders received: Run $arckit-evaluate for scoring}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Important Notes

Key References

| Document | Publisher | URL |

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

| Code de la commande publique | Légifrance | https://www.legifrance.gouv.fr/codes/id/LEGITEXT000037701019/ |

| UGAP — Union des Groupements d'Achats Publics (framework catalogue) | UGAP | https://www.ugap.fr/ |

| BOAMP — Bulletin Officiel des Annonces des Marchés Publics | DILA | https://www.boamp.fr/ |

| TED / JOUE — EU procurement journal (above EU thresholds) | EU Publications Office | https://ted.europa.eu/ |

| ANSSI-qualified security providers (PACS, PASSI, PRIS, PDIS, PAMS) | ANSSI | https://cyber.gouv.fr/offre-de-service/solutions-certifiees-et-qualifiees/comprendre-levaluation-de-securite/qualification-de-produit-et-services/referentiels-qualification/ |

| DINUM digital doctrine — standards for public IS procurement | DINUM | https://www.numerique.gouv.fr/services/cloud/doctrine/ |

| Procurement thresholds (EU thresholds revised every two years) | DAJ / Légifrance | https://www.economie.gouv.fr/daj/marches-publics |

| Avis relatif aux seuils de procédure (13 January 2026, CCP annex 2) | Légifrance | https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000053346567 |

| CCP L2152-7 — environmental award criterion (loi n° 2021-1104, art. 35) | Légifrance | https://www.legifrance.gouv.fr/codes/article_lc/LEGIARTI000043975064 |

Note for reviewers: French public procurement is governed by the Code de la commande publique (transposing EU Directives 2014/24 and 2014/25). UGAP is a French central purchasing body — pre-competed framework agreements that public buyers can call off without running a full tender. BOAMP is the French procurement notices bulletin: from €90,000 a MAPA notice goes in the BOAMP or a legal-notices journal (JAL), and at or above the EU thresholds the State, its public bodies other than EPIC and local authorities publish in both the BOAMP and the JOUE/TED. Since August 2026, at least one award criterion must take account of the environmental characteristics of the offer (CCP L2152-7). PACS, PASSI, PRIS and PDIS are ANSSI qualification schemes for security service providers — requiring PASSI-qualified auditors and PRIS-qualified incident responders is mandatory for OIV and recommended for all sensitive IS.

Success Criteria

Example Usage

$arckit-fr-marche-public Generate procurement documentation for a digital identity platform for a French ministry, estimated value €2.5M, handling personal data, requires SecNumCloud, RGAA compliance mandatory

$arckit-fr-marche-public Procurement file for 001 — cybersecurity services contract, €800K, MAPA procedure, existing UGAP framework available

$arckit-fr-marche-public Create procurement file for a French regional health authority digital platform, health data in scope, HDS certification required, estimated €3.5M over 3 years

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.