design-vision-loop

Solid

Vision feedback loop for UI — render the running UI, screenshot it across viewports + dark mode, run deterministic gates then a multimodal critique against the design system, and iterate until it passes. Use after building or changing a UI component/page, when asked to 'check the UI', make it 'look right', or verify a build matches a design spec / Stitch screen.

Web & Frontend 24 stars 3 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
47
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

> **AI-consumed reference.** This skill *verifies* rendered UI; it does not generate taste (that's > `frontend-aesthetics`) or enforce statically (that's the `design-conformance` hook + > `theme-consistency` rule). Close the loop: build → **see** → critique → fix. # Design Vision Loop Open-loop text guidance is why "correct" UI still looks off — nobody looked at it. This skill adds the eyes: **render → screenshot → critique → iterate**, the pattern Anthropic endorses for UI agents (*Building agents with the Claude Agent SDK*: "visual feedback… can be helpful"; computer-use docs: "after each step, take a screenshot and carefully evaluate… only when you confirm a step was executed correctly should you move on"). ## Precondition The UI must be renderable: a running dev server URL/route, or a static HTML artifact. If nothing renders (component with no harness), say so and either spin up a preview or fall back to static review — don't pretend to have looked. ## The loop (max 3 iterations by default) ```toon loop[4]{step,action,tools}: 1,Render + capture,"navigate → resize each viewport → screenshot; emulate dark mode, screenshot again" 2,Tier-1 deterministic gates,"run the design-conformance check + read console errors — cheap, run FIRST" 3,Tier-2 vision critique,"read the screenshots, score against references/critique-rubric.md" 4,Verdict,"PASS → done · defects → fix → re-enter step 1 (until pass or budget hit)" ``` **Two-tier verification is deliberate** (Anthropi...

Details

Author
nguyenthienthanh
Repository
nguyenthienthanh/aura-frog
Created
8 months ago
Last Updated
1 weeks ago
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category