No slash command · from archon-os
Renders UI, screenshots across viewports and dark mode, runs deterministic design-conformance checks, then multimodal critique against design system, iterating until passing.
Ships in archon-os. 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.
AI-consumed reference. This skill verifies rendered UI; it does not generate taste (that's
frontend-aesthetics) or enforce statically (that's thedesign-conformancehook +theme-consistencyrule). Close the loop: build → see → critique → fix.
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").
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.
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 (Anthropic ranks rules-based feedback above LLM-as-judge): the deterministic gate is the strong signal and it's nearly free, so run it before spending a vision call. Only screenshot-critique what already passes the lint-level gate.
browser_navigate to the route → for each viewport in references/viewport-matrix.md
(browser_resize 375 → 768 → 1440) → browser_take_screenshot.prefers-color-scheme: dark (via browser_evaluate / an emulation call) and
re-screenshot at the primary viewport. If the design system declares no dark mode, skip and note it..claude/workflow/vision/<route>-<viewport>[-dark].png.design-conformance check over the changed files (hardcoded hex/px vs tokens, mixed component
libraries, missing prefers-reduced-motion). Any FAIL → fix before wasting a vision call.browser_console_messages — runtime errors / failed asset loads are defects regardless of looks.Read the captured screenshots and score against references/critique-rubric.md. Conformance target is
.claude/design/design-system.md (palette / type scale / spacing / signature). If a Stitch screen PNG or
Figma frame exists, compare at the layout level (structure, hierarchy, spacing rhythm) — not pixel-diff.
Output a verdict, not vibes:
verdict[2]{field,form}:
status,"PASS | ITERATE"
defects[]{element,viewport,expected,actual}"
Fix each defect, re-render, re-capture. Stop at PASS or after the iteration budget (default 3 — raise only if the user asks). If still failing at budget, report the remaining defects honestly rather than looping.
Call browser_close as soon as you reach PASS or the iteration cap. Do not leave the browser open.
The @playwright/mcp Chrome does not close itself — an unclosed browser survives the task and, if the
session later exits ungracefully, is orphaned and runs for days (the playwright-reaper SessionStart hook
is only the backstop for that leak; closing here is what prevents it). Use the browser, then dispose it.
Write the verdict + screenshot paths + defect log to .claude/workflow/vision-report-<route>.md so a
Phase-4 reviewer (or the user) has the visual evidence. Never claim "looks good" without an attached shot.
See also: references/critique-rubric.md, references/viewport-matrix.md,
rules/agent/design-system-persistence.md (conformance target), skills/frontend-aesthetics/SKILL.md
(taste), hooks/design-conformance.cjs (tier-1 gate), skills/stitch-design/SKILL.md (screen PNG targets).
What SKILL.md sets; muted values are Claude Code's defaults
verify UI looks right, screenshot critique, iterate UI against design system, match a design spec / Figma / Stitch screen, responsive + dark-mode check, make it look designed
npx claudepluginhub nguyenthienthanh/archon --plugin archon-os45 skills in this plugin
/agent-detectorCRITICAL: MUST run for EVERY message. Detects agent, complexity, AND model automatically. Without this, tasks route to wrong agents and use wrong models, degrading quality and wasting tokens./api-designerDesigns RESTful APIs with endpoint naming, versioning strategies (URL path, header-based), pagination (offset and cursor), error response schemas, and OpenAPI conventions. Use when the user asks about REST API design, creating endpoints, URL structure, API versioning, status codes, Swagger, or OpenAPI specs./bugfix-quickFast bug fixes with root cause investigation + TDD. Enforces 'no fix without root cause' discipline and verification protocol. Without this skill, fixes are applied at symptoms instead of sources, and bugs return./chain-of-verificationDraft → generate verification questions → answer independently via tools → revise. Catches hallucinated facts in reports and reviews. MANDATORY for Phase 4 security/test claims. Paper: Dhuliawala et al. 2023./code-mapReverse-dependency lookup — "I am about to change this file, what breaks?" Use when assessing the blast radius of an edit, finding every importer of a module (including the ones that never name it), or checking what the startup code-map digest was derived from. Not for finding text: grep is better at that./code-reviewer8-aspect evidence-based code review/audit (security, correctness, compatibility, architecture, error handling, test gaps, type safety, simplicity) built on Google eng-practices, OWASP Top 10:2025, CWE Top 25, SemVer. Every finding needs file:line + a concrete failure scenario. Use when the user asks to review/audit code, check a PR, review before merge, in TDD Phase 4, via /check review or /run review.Other plugins' skills for the same job