data-contract
Skill0 starsChanged 7 months agoMITView on GitHub
Genere ou valide un contrat de qualite data (Data Quality Contract) pour une source de donnees. Utiliser quand on ajoute une nouvelle source, modifie un schema, ou verifie la conformite des contrats existants.
Files
/data-contract — Gestion des Contrats Data
Objectif
Creer ou valider un Data Quality Contract (DQC) pour une source de donnees, definissant les SLOs, le schema attendu, et les regles de validation.
Arguments
$ARGUMENTS: nom de la source (ex: "sirene", "rna", "bodacc") ou "validate" pour verifier tous les contrats
Workflow — Mode creation
Phase 1 — Analyse de la source
- Identifier la source dans
src/config/sources.ts - Lire le crawler/importeur correspondant
- Analyser le schema des donnees ingerees (Prisma + Zod)
- Determiner la licence et les obligations legales
Phase 2 — Generation du contrat
Generer un fichier YAML au format ODCS v3 :
# data-contracts/[source-name]-dqc-v1.0.yml
contract:
name: "[source-name]-dqc"
version: "1.0"
description: "Data Quality Contract pour [source]"
owner: "datalake-souverain"
source:
name: "[source-name]"
api_url: "[url]"
license: "[etalab-2.0|ODbL-1.0]"
attribution: "[organisation]"
cadence: "[daily|weekly|monthly]"
rate_limit: "[N/min]"
personal_data: [true|false]
schema:
type: "object"
properties:
siren: { type: "string", pattern: "^\\d{9}$" }
# ... champs specifiques
quality:
tier: "[Gold|Silver|Bronze]"
slos:
validity: { min: 99.5 }
completeness: { min: 97, critical_fields: ["siren", "legalName"] }
uniqueness: { min: 99.5, key: "siren" }
freshness: { max_age_days: 7 }
traceability: { min: 100 }
validation:
zod_schema: "src/core/entities/[schema].ts"
test_file: "tests/dqc/[source-name].test.ts"Phase 3 — Validation
- Verifier que le schema Zod couvre tous les champs du contrat
- Verifier que le crawler respecte le rate limit declare
- Verifier que les SLOs sont coherents avec le tier
Workflow — Mode validation
- Lister tous les contrats dans
src/config/data-contracts/ - Pour chaque contrat :
- Verifier que le crawler existe et est actif
- Verifier la coherence schema Prisma ↔ Zod ↔ contrat
- Signaler les contrats obsoletes ou incomplets
- Generer un rapport de conformite
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- gmanch94/claude-code-aidlc-template★ 2same name
- bakhod1r/awesome-agents★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository172 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/skills/vercel-composition-patterns/AGENTS.mdAGENTS.md
- .claude/skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- .claude/skills/vercel-react-native-skills/AGENTS.mdAGENTS.md
- address-sanitizerSkill
- aflppSkill
- agentic-actions-auditorSkill
- agentic-workspaceSkill
- agent-patternsSkill
- aides-finderSkill
- algorand-vulnerability-scannerSkill
- algorithmic-artSkill
- apexSkill
- ask-questions-if-underspecifiedSkill
- atherisSkill
- audit-context-buildingSkill
- audit-flash-cyberSkill
- audit-prep-assistantSkill
- audit-quickSkill
- bodacc-watchSkill
- brand-guidelinesSkill
- burpsuite-project-parserSkill
- cairo-vulnerability-scannerSkill
- canvas-designSkill
- capitalizeSkill
- cargo-fuzzSkill
- claude-in-chrome-troubleshootingSkill
- claude-memorySkill
- cnil-scannerSkill
- code-maturity-assessorSkill
- codeqlSkill
- code-review-agentSkill
- commitSkill
- competitive-intelSkill
- constant-time-analysisSkill
- constant-time-testingSkill
- content-machineSkill
- context-engineeringSkill
- cosmos-vulnerability-scannerSkill
- coverage-analysisSkill
- create-prSkill
- daily-briefingSkill
- data-auditSkill
- data-cleanerSkill
- data-freshness-checkSkill
- data-scienceSkill
- debug-buttercupSkill
- deep-researchSkill
- deploy-to-vercelSkill
- designing-workflow-skillsSkill
- devcontainer-setupSkill
- devops-agentSkill
- differential-reviewSkill
- dl-capitalizeSkill
- dl-costSkill
- dl-crawlSkill
- dl-importSkill
- dl-mcpSkill
- dl-scaffoldSkill
- dl-schemaSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

