Document Sokko G's architecture and folders, and move JavaScript file headers to JSDoc @file blocks

Add ARCHITECTURE.md (layers, flows, folder map, glossary), CONTRIBUTING.md
(setup and step-by-step recipes) and a README in each main folder, with an
index of docs/. Convert the 511 JavaScript headers from "// Rôle :" lines to
JSDoc @file blocks, define a three-level header template in website/AGENTS.md
and check the header in tests/file-headers.test.mjs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Shinuwa 2026-12-01 09:42:13 +01:00
parent c43702b864
commit 22b397ebfa
527 changed files with 3300 additions and 706 deletions

View file

@ -1,5 +1,11 @@
// Rôle : compte les spécialités des personnages d'équipe (simples, doubles, Équilibré), en tout et par collection.
// Usage : node scripts/team-specialties.mjs. À relancer après l'ajout d'une carte ou d'une collection (règles : docs/equipe-du-jour.md).
/**
* @file Compte les spécialités des personnages d'équipe (simples, doubles, Équilibré), en tout et par
* collection.
*
* Usage : node scripts/team-specialties.mjs. À relancer après l'ajout d'une carte ou d'une collection
* (règles : docs/equipe-du-jour.md).
*/
import { fileURLToPath } from "node:url";
import { loadCardsCatalog } from "../services/cards/catalog.js";
import { STAT_IDS } from "../services/cards/expedition-rules.js";