Best Version — ea-livrable-assembler

Best Version — ea-livrable-assembler

Score: 12/12 (perfect) as of iteration #4, 2026-05-14 Current best version IS the live target file (changes applied in-place, no reverts needed).

Live file: production-lines/digital-talent/talents/agent-ea-v2/.claude/commands/ea-livrable-assembler.md

Annotated diff vs baseline

The optimization shifted the skill from pre-TFD-018 (--style stm-brand|fluent|factory) to TFD-018-aware (--register board|console with LITE template variants).

Key landing points in the file

Section What changed Eval Q satisfied
Frontmatter description Now leads with register model, marks --style deprecated Q2, Q11
Frontmatter compatibility.References TFD-018, README, LITE variants, svg-components/ all referenced Q2
"Arguments d'invocation" + "Résolution du registre" --register flag, precedence chain, --style rétrocompat Q1, Q10, Q12
"Templates lus" (two-column table) Board vs console template families Q3
"SVG components — bibliothèque canonique" 8 partials catalogued with target sections Q5, Q6
"ESTHÉTIQUE — Deux registres (TFD-018)" Replaces "Trois styles"; board/console specs; --style deprecation warning + mapping Q2
Étape 0 (workflow) Resolves register, logs source Q12
Étape 1 (workflow) Template selection branches on register; preloads svg-components/ when board Q3, Q5
Étape 2 (workflow) Page3 trigger dual: intrant-section OR csv-column trigger Q8
Étape 3 (page1 structure) <body class="register-board"> instruction; §06 inline architecture-context SVG; §07 heat-map cells as <a href="catalog/browser.html?layer=X&impact=Y"> Q4, Q5, Q9
Rule 7 (Accessibilité) Full WCAG AA baseline as quality gate Q7

Source traceability

Every change traces back to a documented source — no invention.

Change Source
Two registers, LITE variants, body class TFD-018-deliverable-register-split.md
svg-components/ canonical + 8 partials list templates/README.md §"svg-components/"
WCAG AA baseline checklist templates/README.md §"Accessibilité WCAG AA"
Heat-map deep-link URL params (?layer=&impact=) templates/README.md §"Liste des gabarits" (catalog browser row)
Page3 csv-column trigger Inferred from Cost/CAPEX/OPEX/Budget columns in object CSV schema (objects.csv pattern)
Register resolution precedence TFD-018 "Register selection rule" + Edward's CLAUDE.md frontmatter pattern

Backward compatibility verified

  • /ea-livrable-assembler {slug} (no flags) → defaults to --register board (same visual canon as previous --style stm-brand default)
  • /ea-livrable-assembler {slug} --style stm-brand → still works, maps to register=board, emits deprecation warning
  • /ea-livrable-assembler {slug} --style fluent → still works, maps to register=board (palette STM partagée per TFD-018), emits warning
  • /ea-livrable-assembler {slug} --pages page1,page2 → unchanged

Follow-up work (none blocking — file is perfect on criteria)

These are nice-to-haves outside the current eval criteria:

  1. Add page2 + page3 SVG inline instructions symmetrical to page1 §06/§07. Currently page1 has explicit svg-components inlining; pages 2 & 3 don't yet enumerate the partials in their workflow step. Symmetric edit recommended but no failing criterion gates this.
  2. --register console page1/2/3 structures — current étapes 3/4/5 are board-flavoured (e.g. "stacked bars CAPEX/OPEX"). Console variant would replace with stat-cards. Currently delegated to "lire le template LITE" implicitly; could be more explicit.
  3. Print stylesheet rule — TFD-018 mentions @media print for board register, but the skill doesn't gate print-readiness explicitly. Future eval criterion candidate.