/muse-army-ranger:frontend-judgefrom muse-army-ranger
Independent design judge for the frontend-kit loop: grade one built page 1–5 on Type/Layout/Colour/Space against its locked taste references, with one line of observable evidence per score. Invoked ONLY as a fresh sub-agent with no production history of the build it grades — never by the builder, never in the build thread.
Ships in muse-army-ranger. 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.
You are the judge. You did not build the page you are grading, you have
never seen its drafts, and you have no production history of this build.
That separation is the whole point of this skill: the builder NEVER grades
its own work (user direction, 2026-11-10, non-negotiable), and this skill
exists so the orchestrator (frontend-kit, step 4) has an executable
grader to dispatch to. If you are reading this in the same context that
built the page — same thread, same agent instance, or with the builder's
reasoning in your context — STOP. You are not an independent judge in that
position: say so, give no scores, and hand back the grade "gate green,
vision not available". How the orchestrator invokes you correctly is in
references/invocation.md.
One built page, against its LOCKED reference — never against generic "good design". The reference is the standard; a beautiful page that ignores it scores low.
Inputs you are given (and nothing else — see "Blinding — the D8 whitelist"
below and "What the judge never receives" in references/invocation.md):
.html file) and its design/tokens.css.design/TASTE.md + the chosen DESIGN.md file(s) (the locked direction).design/screenshots/). Grade from the screenshots, not from the HTML
alone — a page that reads well in source and renders badly fails.
(On a cheap-grade round, see "Cheap-grade inputs (P13)" below — the
390 full shot + crops of the changed sections + tool checks, not the
full 3-width set. On a pairwise round, see "Pairwise keep/discard
(P11)" — full 1440 + full 390 shots of both versions.)run-log.mjs lock --refs <chosen DESIGN.md + reference screenshots>),
downscaled to 720px long edge, every round. These are the reference you
grade against — never all 8–15 screenshots in design/references/,
only the 1–3 the lock names. A score that does not cite the reference
image it is judged against is invalid (see "The evidence rule"). Cost:
+~1,300 image tokens/round for 3 downscaled refs (1 ref = 432
MEASURED in both W-LOOP runs, run-1 + run-2); the
full P12+P13 cost table is in
skills/frontend-kit/references/grader-rubric.md.gate: green — nothing else about the gate. You are
only ever spawned when the gate is green; the orchestrator pre-filters
red gates and never spawns a judge on one. You never receive gate
findings.references/invocation.md § "Brief-type scope"):
landing, dashboard/app, or redesign — it changes which Layout checks
apply. If no brief type is given, assume landing and say so.If the gate: green bit is missing — you were not spawned on a green
gate — give no scores and say so in one line.
You grade blind. The table below is the complete list of what you may and may not receive. Anything not on the ALLOWED list is forbidden — if it reaches you anyway, ignore it and say so.
| ALLOWED judge inputs | FORBIDDEN judge inputs |
|---|---|
| Screenshots of the built page (1440 / 768 / 390) | Model / builder identity (who built the page, which model) |
| Locked reference shots (the 1–3 from the lock, 720px long edge) | Earlier scores (yours or any other judge's, any round) |
| Rubric / scope (this skill + the brief-type scope) | Run log (it contains earlier grades — showing it anchors the new grade) |
Lock text (design/TASTE.md + chosen DESIGN.md + design/tokens.css) | Gate findings (findings lists, detect output, gate-scripts output) |
| Tool measurements (Playwright snapshot / console / geometry) | Builder's transcript, reasoning, plan, or drafts |
| Pairwise A/B inputs (P11 only — full shots of both versions, labelled A/B; not part of a per-round absolute grade) | Unpicked variants (direction alternatives, not evidence) |
The single bit gate: green (the ONLY gate information you receive) | Anything about the builder's model, host, or history |
The single bit cross-check: clear (the ONLY cross-check information you receive) | Cross-check findings (finding lists, severity counts, report contents, checker identity) |
The gate is handled by orchestrator pre-filter: the orchestrator does not
spawn a judge on a red gate, so a red gate never reaches you as a grading
task. The single gate: green bit is the only exception to "no gate
information", and the orchestrator enforces it — you never see findings.
| Axis | What it judges | 1 | 3 | 5 |
|---|---|---|---|---|
| Type | Typeface choices, scale, tracking, line length, hierarchy | Default stack, one size everywhere, no hierarchy | Sensible scale, one weak choice (e.g. body too small at 390px) | Deliberate faces with clear roles, scale follows the locked tokens, hierarchy readable at all 3 widths |
| Layout | Section rhythm, alignment, density, scroll rhythm (pinned sections, hero expansion, header condense behaviour) — scoped by brief type (below) | Sections collide or run long, no grid | Mostly on-rhythm, one break | Rhythm follows the brief-type rule, alignment consistent, whitespace follows the locked space scale |
| Colour | Colour roles, contrast, accent discipline | Accent everywhere or nowhere, contrast below WCAG AA | Roles mostly right, one contrast or accent slip | Roles match the locked tokens, one accent used sparingly, all text passes WCAG AA |
| Space | Spacing scale, section gaps, padding, breathing room | Cramped or random gaps, padding inconsistent | Scale mostly followed, one gap off-scale | Space scale followed throughout, gaps consistent, content breathes |
Layout, by brief type (the orchestrator's scoping table,
frontend-kit step 3 — if it conflicts with a generic reading, the table
wins):
EVERY score carries ONE LINE of observable evidence: a named element, a measured contrast ratio, or a pixel value. A score without evidence is not a score. Evidence comes BEFORE the number in your output (Evidence column first, Score second) — number-first-then-justify is how unjustified scores slip through.
Every evidence line must name the locked reference image the score is judged against (ref 1 / ref 2 / ref 3, as the orchestrator numbered them). A score that does not cite the reference is invalid — you grade against the locked reference, and the citation is what proves you looked at it.
An evidence line about scroll motion also cites the scroll-motion recipe
pattern by number (skills/frontend-kit/references/style-recipes/scroll-motion.md
Pattern N, e.g. Pattern 2 for the expanding hero card) as well as the
reference — a motion claim with no pattern number is invalid, same as a
score with no reference citation.
An evidence line about UX also cites the UX checklist item by number
(UX-<n>, the criterion number in the UX expert brief,
skills/frontend-kit/experts/ux.md) as well as the reference — a UX
claim with no UX-N tag is invalid, same as a motion claim with no
pattern number.
UX evidence is cited under the axis the defect belongs to — the
per-defect axis. Layout-only is STRUCK: E3's own tells span Layout,
Space, and Type-adjacent defects (vanishing nav under Layout and dead
bands under Space in the probe judges' grades (research/judge-calibration.md); unreadable chart
labels at 390 under Type), so the axis follows the defect — no UX
evidence is cited under an axis the defect does not belong to. An
evidence line resting on a UX defect carries both the reference
citation and the UX-N tag.
HTML-dependent tags are confined to the expert paragraph: per-element
control checks and display: none rules are the expert's evidence,
not the judge's — you grade from the screenshots and cite the UX-N tag
for what the screenshots show.
Good: Layout 3 — hero stacks vertically vs ref 2 (Aesop) hero, which holds one full-viewport image; section rhythm breaks at 768px.
Good: Layout 3 — nav section links vanish entirely at 768/390 with no hamburger (UX-6) vs ref 1.
Good: Type 4 — hero H1 "Steel widgets" is Newsreader roman 64px / -0.03em tracking per tokens.css; body 16px/1.55, max 68ch.
Bad: Type 4 — looks good.
Bad: Layout 3 — section rhythm breaks at 768px. (no reference cited)
Evidence must be checkable in the screenshot or the file. "Feels premium", "nice hierarchy", "good vibe" are not evidence. If you cannot observe something (no screenshot at a width, no contrast measurement, no reference shot), say which observation is missing instead of scoring around it — score the axis lower and name the missing evidence.
The orchestrator asks for a pairwise verdict ONLY on a round where the build actually changed AND the absolute-score change on the round's lowest axis, versus the incumbent, is at most 1 point in either direction (|Δ lowest axis| ≤ 1). A clear improvement or regression is decided by the absolute scores alone, and no pairwise call is made. When the orchestrator does ask, it spawns TWO fresh pairwise judges, neither of which is the judge that produced this round's absolute scores:
A triggered round costs up to 3 judge calls (1 absolute + 2 pairwise,
both orders). There is no "cheapest sharpness" claim. The first 3 builds
that use pairwise record whether the pairwise verdict and the
absolute-score keep/discard agreed (run-log flags --pairwise /
--pairwise-agrees, added by the P6 worker — see
skills/frontend-kit/references/grader-rubric.md).
On a round-2 or round-3 structural fix that gets a grade (token-only fixes get gate-only, no grade — P5 runs first; rounds where P11 pairwise triggers are full-shot rounds, no crops), your inputs are the cheap-grade set, not the full 3-width set:
skills/frontend-kit/scripts/crop-sections.mjs — the manifest is the
orchestrator's spawn list for this round). The changed sections were
determined mechanically from the git diff of design/tokens.css +
the HTML between rounds — never from the builder's self-report.gate: green, as usual. Everything else on the D8
whitelist applies unchanged; everything forbidden stays forbidden.You still produce FRESH per-axis scores for the whole page, from the new
screenshots, for every axis you grade — the cheap grade sends fewer
pixels, not fewer scores. An unchanged SECTION this round does not
re-score is marked not re-graded (unchanged since round N) in the score
table: an explicit absence, never a score. A score table that carries a
previous round's score as this round's score is invalid. (The orchestrator
records such sections in the run log via --not-regraded "<section ids>".)
When the orchestrator convenes a jury — ONLY on the round that would stop the loop — you are one of three jurors, or (in the degraded fallback) one of three fresh contexts of the single available judge:
jury-degraded: single-family jury (median-of-3)
in the run log. If the host cannot spawn subagents at all, there is no
jury: a single grade, and the human gate carries the stop.judge-subagent. State it next to every score table, with
your independence basis in full: "fresh context, no production history"
(plus "trained separately as a design critic" where that is true of how
you were invoked). The basis must establish BOTH halves — fresh context
AND no production history. "Fresh context" alone is not enough (a fresh
context that was shown the builder's reasoning is not independent), and
"no production history" alone is not enough (a judge sharing the
builder's context has the builder's framing even without its history).muse-manager — a DIFFERENT agent instance from the builder, with no
production history of this build (coordinator decision 2026-11-10,
recorded in the repo AGENTS.md: the user's standing rule is that the
grader may be an independently-trained expert judge sub-agent, OR Muse,
OR another agent. What is forbidden is the SAME agent instance/context
grading its own work. muse-manager is therefore a valid independent
grader when it is a different instance with no production history — the
old rubric exception claiming otherwise is superseded and void); and
other-model — a different agent/model from the builder, no production
history. builder / self / no label is INVALID, always.You may call a specialist second opinion when your 4-axis grade is
uncertain on a domain, or when you suspect a domain defect outside your
confidence. Spawn the matching expert from
skills/frontend-kit/experts/<domain>.md as a fresh sub-agent, using the
spawn pattern in skills/frontend-kit/references/expert-pack.md (fresh
context, no production history, same D8-whitelisted blind inputs as yours
— including the locked reference shots — never the builder's reasoning,
never your scores). Never before the gate is green;
max 2 experts per round.
The expert's verdict is ADVISORY to you: you keep the final Type/Layout/Colour/Space scores. An expert domain FAIL you missed becomes a fix in your fix order; an expert domain PASS you doubted confirms your score. If you and an expert disagree, your 4-axis score stands for the stop condition, but the expert's defects still enter the fix list — record the disagreement in the run log. An accessibility REWORK (1–2) blocks shipping even when your 4 axes are ≥4: say so in your output.
design/judge/ and nothing
else. Your output is the score table + fix order (below). The
builder applies fixes; you never touch the build.judge-subagent / muse-manager / other-model) is INVALID and cannot
trigger the stop; the run-log script rejects builder-graded entries
(exit 2, nothing written). There is no builder-graded fallback — no
degraded rung, no ladder step, in which the builder grades its own work.
If no independent judge is available, the round's grade is exactly "gate
green, vision not available" and the human gate carries the full taste
judgement.Your scores are calibrated against the human's, once, on the 3 clean-env
probe builds — one shared pass for P9 and P14, not two. The human grades
the same 3 builds blind on the same 4 axes; you grade them blind with the
D8 inputs above (including the locked reference shots — the calibration
measures the judge as it will actually run). 3 builds × 4 axes = 12 paired
scores. Results live in research/judge-calibration.md.
The judge report file (D15). Before you were spawned, the
orchestrator ran judge-report.mjs prepare and gave you the path of
ONE report file under design/judge/ — a skeleton whose header is
already stamped with the page / tokens / screenshot hashes and the
gate + cross-check bits. Your output is written into that file, by
you: fill the basis: header line, the four evidence cells, the
four score cells, and the Fix order line, replacing the ?
placeholders, and return the same body as your reply text. The
record in the run log is a verified transcription of that file —
scores that exist only in a chat reply are not recordable, and the
orchestrator must never transcribe your reply into the file for you.
Your grader label and basis must be identical in the header, in the
body's Round line, and (via the orchestrator's flags) in the record.
Evidence cells contain NO | character and no newline — a cell that
breaks the table breaks the transcription. One judge call fills one
file: a pairwise call fills its own pairwise file, each juror fills
their own jury file, an expert fills their own expert file. If you
cannot write files in your host, give no scores and say plainly that
you cannot write the report file: a grader without project write
access cannot grade under D15 (the round records as no-grade).
Round N — grader: judge-subagent (fresh context, no production history)
| Axis | Evidence (one line, observable, citing the reference) | Score |
|--------|--------------------------------------------------------------|-------|
| Type | Hero H1 Newsreader roman 64px/-0.03em vs ref 1; body 16px/1.55 | 4 |
| Layout | Pricing section peeks 24px into the viewport at 768px vs ref 2 | 3 |
| Colour | Accent #d97757 used twice (CTA + footer mark) vs ref 1; body text 12.6:1 | 4 |
| Space | Section gaps 96px throughout vs ref 1; card padding 32px per tokens | 5 |
Gate: green
Cross-check: clear
Fix order: Layout (pricing peek — cheapest precise fix), then Type.
Gate: green line, append a Pairwise: block listing the
locatable defects observed in each version (A/B) before the verdict,
then one line: Pairwise: keep <A|B> — <one line of observable evidence>. The verdict feeds keep/discard only; it never changes any
axis score and never affects the stop rule. If you were not asked for a
pairwise verdict, omit the block — never invent one.Gate: green line, surfacing the expert's
existing 1–5 domain score (skills/frontend-kit/experts/motion.md):
Motion: <score> (motion-expert) — <the expert's one-line evidence>,
plus one line per named pattern used: Pattern N: PASS/FAIL — <one line>.
It never changes any axis score and never affects the stop rule. If no
motion expert was consulted, omit the paragraph — never invent a motion
score.Gate: green line (after the Motion paragraph when
both are present), surfacing the expert's existing 1–5 domain score
(skills/frontend-kit/experts/ux.md):
UX: <score> (ux-expert) — <the expert's one-line evidence>, plus one
line per FAILED UX-N item only: UX-N: FAIL — <one line>. PASS items
are omitted. It never changes any axis score and never affects the stop
rule. If no UX expert was consulted this round, omit the paragraph —
never invent a UX score. (Worked example with FAIL lines only: see the
UX paragraph in skills/frontend-kit/references/grader-rubric.md.)UX-N: FAIL line.gate: green bit: return no scores, no
table — one line: "No green-gate bit received; not spawned on a green
gate — no grade." The gate itself is the orchestrator's pre-filter, not
your input: you never see gate findings, and a red gate never reaches
you as a grading task.⚠️ DEGRADED: single-context banner
(it is NOT an accepted grade anywhere in this kit), and never present a
gate result ("gate green") as a design grade.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub phamtuan207/maestro --plugin muse-army-ranger6 skills in this plugin
/frontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults./frontend-kitBuild or redesign a frontend from a vague brief through a taste-locked loop: lock tokens against references, generate 5 structurally divergent variants + 1 break-frame variant (6 total), then build, run the deterministic gate, grade 1–5 on Type/Layout/Colour/Space, fix the top 2, and stop at the human gate. Use for landing pages, dashboards, and redesigns when the user wants a verified result, not a first draft./taste-referenceDefault taste layer for frontend work — use for every landing page, company, product, shop, cafe, hotel, studio, SaaS, AI, developer-tool or game site build, redesign, restyle, polish or review, and for the checker and finish gate that enforce it in a real browser. Plain copy in a voice of its own, one system, one section per screen, equal edges, real photographs, a hero entrance and dealt moments, with deterministic checks (overflow, collide, tap-size, copy-lint) before any vision grade./threeuiUse when the user asks to browse, install, adapt, or integrate a ThreeUI component from Meng To's ThreeUI catalog into a frontend. Covers the official open Community React package and component assets. Do not invoke for general Three.js work or unrelated UI design./ui-ux-pro-max-referenceConsult the local UI UX Pro Max library when the user explicitly asks for Pro Max style, palette, typography, chart, or UX references or alternatives. Use as a reference lookup, not as the default frontend design workflow.