agentleFS
isatimurisatimur/presentation-md/skills/deck-design-judge/SKILL.md

deck-design-judge

Skill4 starsChanged 4 months agoMITView on GitHub

Scorecard a slide deck: gates, 10-dimension rubric, ranked fixes. Use after generation, for bake --judge, or when presentation-generator needs a quality gate before ship.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Done when: every shot reviewed, or T1 fallback noted.

    line 70
  2. Distinctive:

    Read rubric.md. Score all 10 dimensions 0–5 with

    line 74
  3. Distinctive:

    Done when: every dimension has score + evidence.

    line 82
  4. Distinctive:

    After generating a deck (before handoff):

    line 103
  5. Distinctive:

    Default TARGET = 85, zero gates.

    line 111
  6. Very specific:

    Prefer the brand bundle’s fonts/accent/radii/flat rule over generic defaults when present.

    line 120

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Deck design judge

Scorecard process: tier → locate → metrics → (shots) → rubric → merge. Leading words: scorecard, gate, evidence, self-critique.

Steps

1. Pick the tier

TierRunsWhen
T0deck_metrics.py onlyFast sanity / CI
T1 (default)Metrics + one LLM rubric judgeAlmost always
T2T1 + screenshots the judge opensFinal visual QA
T3T2 + multi-model panel (median), via scripts/judge_panel.pyHighest stakes — judge-panel.md

Done when: tier is stated (default T1 if unsure).

2. Locate deck + brand tokens

Find the .html (or shots dir). Read nearby colors_and_type.css / token files / logo SVGs. Note typeface, accent, radii, flat vs elevated.

Swiirl / Untitled-UI lineage is flat — elevation shadows are a gate.

Workspace: <deck-dir>/.design-eval/<timestamp>/.

Done when: deck path and flat/elevated rule are recorded.

3. Metrics (every tier)

python3 <skill>/scripts/deck_metrics.py <deck.html> \
  [--tokens <colors_and_type.css>] -o <workspace>/metrics.json

Swiirl HTML (optional — swiirl-design is internal brand-token tooling; skip this step if you don't have it):

python3 <swiirl-design>/scripts/check_brand_html.py <deck.html> \
  -o <workspace>/brand_check.json

Interpret flags with metrics.md.

Done when: metrics.json exists and every gate id is listed.

4. Screenshots (T2 / T3 only)

bash <skill>/scripts/render_slides.sh <deck.html> <workspace>/shots/

Open each PNG — overflow, clipping, accent area, 3-second rule. No Chrome → fall back to T1 and note it.

Done when: every shot reviewed, or T1 fallback noted.

5. Rubric judge

Read rubric.md. Score all 10 dimensions 0–5 with evidence (slide #, metric, quoted headline). Prefer the lower anchor when merely “fine.” T3: run the real panel — scripts/judge_panel.py <deck.html> --metrics <workspace>/metrics.json --out <workspace>/judge.json (median per model; errored models excluded, not zeroed) — see judge-panel.md.

Emit <workspace>/judge.json.

Done when: every dimension has score + evidence.

6. Scorecard

python3 <skill>/scripts/scorecard.py <workspace>/metrics.json <workspace>/judge.json \
  -o <workspace>/scorecard.md --json <workspace>/scorecard.json --deck <deck.html>

Any gate → grade capped at C, label Not ready. Show scorecard.md in order: Verdict → Gates → Dimensions → Top fixes → Metrics appendix.

Share your scorecard: --json emits a portable scorecard.json (schema_version 1.0 — deck sha256, tier, panel models, per-model votes, gates, dimensions, grade, top fixes). It's the shareable artifact for the public benchmark; provenance and the wider ecosystem are in ATTRIBUTION.md.

Done when: user has the scorecard path.

Self-critique loop

After generating a deck (before handoff):

score → if gates clear AND overall ≥ TARGET → ship
      → else apply top 1–3 fixes (gates first), re-measure, re-score
      → ≤3 rounds; report before/after delta

Default TARGET = 85, zero gates. Re-run metrics (and shots in T2) every round — never assume a fix worked.

Done when: target met, rounds exhausted, or progress stalled — ship best + delta.

In-skill reference

  • Gates = objective walls (text density, shadows in flat systems, contrast, craft, frameworks).
  • Rubric = weighted subjective half; the number is a compass, the fixes are the point.
  • Prefer the brand bundle’s fonts/accent/radii/flat rule over generic defaults when present.
  • Anchors: calibration.md.

Scripts

ScriptRole
scripts/deck_metrics.pyDeterministic metrics + G1–G5
scripts/scorecard.pyMerge → scorecard
scripts/render_slides.shT2/T3 screenshots
scripts/brand_tokens.pyToken projection helper

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.