/gist:verdictfrom gist
Builds a self-contained HTML review page for Mat to validate deliverables (doc, plan, spec, code) or settle 3+ decisions. Cards typed by action (constat, decision, question, relecture, tri, essai) with phase-based budgets.
Ships in gist. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Goal: Mat validates in a browser (Windows PC or phone) in ~3 minutes; only his deviations come back as JSON pasted in chat.
Kit dir /repos/agent-skills/gist/skills/verdict/ (source of truth, gist plugin): src/template.src.html (the source: verdict CSS layer, chrome, runtime), template.html (assembled from it, the file you copy), check-page.py, grammaires/vignettes.html (visual markup per grammar id, generated), grammaires/grammaires.md (full catalog, generated; phase finir or debrief only). Regenerate the generated two with python3 /repos/agent-skills/gist/skills/verdict/grammaires/src/make-grammaires.py (sources: the three BRIEF-*.md next to it; it also injects the thumbnail CSS into the source and reassembles template.html); never hand-edit them or template.html.
| phase | cards shown | budget (cards / first-level words) | the rest |
|---|---|---|---|
| explorer | critical + medium only | 7 / 250 | count in the hero details "N détails reportés dans "; write them there |
| construire | + important minor points | 10 / 400 | grouped in one tri card |
| finir | everything, exhaustive | no cap | nothing hidden; grammaires.md usable |
80/20 rule: never spend Mat's time on the 20% details outside phase finir. Dropped points are counted in the hero and written to the work's plan, never lost.
data-type on every data-block)| type | Mat does | silence means | markup |
|---|---|---|---|
| constat | nothing unless he disagrees | agreed | title = the claim + at most 1 visual; no sentence at first level: the proof goes in <details><summary>détail</summary> |
| decision | chooses | medium: reco applied; critical: blocked | data-level, .opts > .opt2[data-opt], .recline |
| question | gives info only he has | blocked | title = the question; what it blocks goes in <details><summary>détail</summary> |
| relecture | reads the text itself (the deliverable) | not validated | verbatim text by script; del/ins/mark for changes |
| tri | sets each item's state | each item's default | card `data-choices="garder |
| essai | does a gesture outside the page, reports | not done | <b>Geste :</b> … <b>Attendu :</b> … |
Decision levels:
data-level="moyenne" data-default="<opt>", reco preselected, options without pros/cons (those go in <details>), recline <b>★ X</b> · <reason> ending "Sans réponse : X."data-level="critique", no default, <span class="crit">🛑 CRITIQUE · <why> · réponse obligatoire</span> first, recline <b>★ X</b> · <reason>, consequence in <details>.Wording: eli42 — plain words, complete sentences that say what is at stake ("Sur quelle partie tester ?", "★ A · lisible sur téléphone."); never telegraphic or implicit labels, never internal jargon. Fill the caps below with clear words; the full text goes in <details>.
Caps per element (first level; check-page.py warns past them): title <= 6 words (noun phrase or short claim, never a sentence) · body <= 1 line, 15 words · option <= 5 words · reco reason <= 12 words · tri line <= 6 words · hero <= 30 words.
.cap) at first level, the reco is ★ X · reason; (c) a constat is its title plus at most one visual. Everything else goes in <details><summary>détail</summary>, which every card may carry. check-page.py warns on (b) and (c).<details>.<details> or nowhere.data-default), doubts are a glyph <span class="flag" title="<why>">⚠️</span>; never "proposé : X" or "voix incertaine" in text.<details><summary>détail</summary>…</details> in the card, or a separate debrief page only when Mat asks.<details><summary>source et contrôles</summary> (source · date, passed checks, dropped details + plan file).div.sk from grammaires/vignettes.html id="<ID>", write it <div class="sk full">, put real data in)| content shape | visual |
|---|---|
| before / after figures | V05 slopegraph |
| share or state of a whole | V01 segmented bar |
| compared quantities | V07 dot plot, V35 unit chart |
| options side by side | V10 option cards (V09 Pugh table in details) |
| steps, order | .flow > .st/.ar, V29 timeline |
| argument structure | V16 claim tree |
| architecture, impact | V18 C4 boxes, V24 blast rings |
| risks | V12 risk matrix |
| code diff | V38 diff-stat bar (pre diff in details) |
| positioning, prioritising (tri > 8 items) | V11 2x2 |
| items x criteria (coverage, conformity) | table.grille, cells td.y/.n/.p (V26, V27 for reference) |
| annotated text, prose diff | mark, del, ins inline (P07, P05) |
| visual specimens (renders, swatches, fonts) | .planche > figure > … + figcaption |
| durations on a calendar | .gantt: label span + span.tr > i[style="left:x%;width:y%"], i.no late, b[style="left:x%"] deadline |
| links between items | inline <svg class="svg">: rect + text nodes, line arrows; <= 8 nodes |
No shape -> title only, the text in <details>. Default per type: relecture = annotated text, tri = list (2x2 beyond 8), essai = V34 step table, decision = V10.
cp /repos/agent-skills/gist/skills/verdict/template.html <project>/build/review-<slug>.html (<project> = folder of the deliverable; create build/ if missing). Never read template.html beyond the content zone (fonts are 150 KB of base64 lines).meta review-id = <slug>-YYYYMMDD, meta review-phase, <title>, top-bar title (TITRE_COURT in .top strong).REVIEW-HTML:CONTENT:BEGIN and CONTENT:END (the template's content is a one-card-per-type example). Never edit the style, top bar, global block, dialog or runtime.python3 /repos/agent-skills/gist/skills/verdict/check-page.py <page> -> must print OK (- lines = errors, fix); ~ lines = budget or cap warnings: shorten, move to details, or drop; rerun until no ~ line remains (template example aside).http://100.64.0.1:8000/<path relative to /praxis> (his python3 -m http.server 8000 runs from /praxis; check with curl -s -o /dev/null -w '%{http_code}' <url>; page outside /praxis or server down -> SendUserFile display: render + absolute path). Stop. Wait for the pasted JSON or "traite le feedback".reponses; record defauts_appliques as decided; sans_reponse.bloquants -> ask again, do not proceed on them; relecture / essai left -> not validated / not done, say so. Next round: first block "ce que j'ai fait de tes retours" as constats (one per response).{review_id, phase, envoye_le, global:{verdict, commentaire}, reponses:[{id, type, verdict, commentaire?, items?}], defauts_appliques:{<decision id>: <opt>}, sans_reponse:{bloquants:[ids], relecture:[ids], essai:[ids]}}
Verdicts: constat non; decision <opt> or question; relecture ok|corriger; essai ok|ecart|pasfait; question = commentaire; tri items:{<item id>: <choice>} only where it differs from the item's default. "Envoyer" = Mat attests he went through the page.
html.escape), never retyped.code, pre, base .kpis .n) = code-produced facts. Emoji: meaningful markers only (state, section type, count), never decorative, the word kept beside them (DS 0.6.1).The page is the Digital Stoic design system, tool mode (/repos/agent-skills/gist/skills/design-system/, DS >= 0.6.0): base CSS and fonts are injected by the DS assembler, never copied by hand. Edit src/template.src.html, never template.html, then reassemble: python3 /repos/agent-skills/gist/skills/verdict/grammaires/src/make-grammaires.py (or bun /repos/agent-skills/gist/skills/design-system/artifact-build.mjs src/template.src.html template.html from the kit dir when the grammar sources did not change).
@font + @base markers, then GRAMMAR-CSS (generated), then the VERDICT layer (chrome, blocks, options, pills, tri, visuals), body mode-outil, then the content zone and RUNTIME.--ok / --warn / --no with their -weak grounds; --no = refusal, never --voice; critical = inversion --crit-bg / --crit-fg; the active choice = --accent.s-*); no shadow, no gradient, radius --r.artifact-base.css, its gallery table, check-demos), then reassemble here.
History and examples: /praxis/projects/_archive/viz-review/build/ (pre-v1 pages: dense, older look, do not imitate).check-page.py (opens in a new tab)grammaires/grammaires.md (opens in a new tab)grammaires/src/BRIEF-conformite-archi.md (opens in a new tab)grammaires/src/BRIEF-grammaires-visuelles-A.md (opens in a new tab)grammaires/src/BRIEF-grammaires-visuelles-B.md (opens in a new tab)grammaires/src/make-c6.py (opens in a new tab)grammaires/src/make-catalog.py (opens in a new tab)grammaires/src/make-grammaires.py (opens in a new tab)grammaires/src/make-recettes.py (opens in a new tab)grammaires/vignettes.html (opens in a new tab)src/template.src.html (opens in a new tab)template.html (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub digital-stoic-org/agent-skills --plugin gist2 skills in this plugin
Other plugins' skills for the same job