Commit Graph
4 Commits
Author SHA1 Message Date
Wayner Barrios 7ccfa329af Separate frontend planning scopes 2026-07-28 14:09:20 -04:00
Wayner Barrios c753cd35ad Adopt native skill discovery 2026-07-27 14:32:22 -04:00
Wayner Barrios 3aa3153d53 Enforce variety across generations in frontend-design
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.
2026-05-27 15:53:52 -04:00
Wayner Barrios 09dc86739a Add design specifics and a self-critique rubric to frontend-design
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.
2026-05-27 15:53:52 -04:00