The skill already warned against converging on common choices, but the new
font and layout lists risk becoming the next default the way Space Grotesk
did. This adds an explicit "vary across generations" rule — treat the lists
as seeds to rotate, deliberately diverge when a brief resembles a prior one,
and never ship two different products as the same template. A matching
self-critique check rejects output that reads as a default pattern or a
previous generation. A test guards the rule; the command is regenerated from
the skill.
The skill was pure aesthetic prose with no self-review. This adds three
sections, reworded from cited sources and kept under 500 lines:
- Concrete anti-default moves: font-by-vibe picks, layout archetypes, type
contrast, semantic CSS-variable tokens, one orchestrated page-load.
- An objective self-critique rubric the model runs before returning (WCAG 2.2
AA contrast/semantics/alt/focus/reflow plus craft checks), framed honestly
since models tend to over-praise their own output.
- An optional, cross-platform validation note (html-validate static; pa11y or
axe for rendered DOM), including an opt-in vision-only Playwright screenshot
loop that text-only models skip.
Adds tests/frontend-design.test.mjs to guard the additions. The command is
regenerated from the skill and stays in sync.