Agent skill

Visual Spec Review

by Jason904 in Jason904/ui-skill-lab

This skill should be used after visual-to-spec has produced 03visualspec/ and before design-system-governor or frontend implementation begins.

MITAuto-check passedFrontend & Design

Install Visual Spec Review

skills CLI
$ npx skills add Jason904/ui-skill-lab --skill visual-spec-review -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Jason904/ui-skill-lab visual-spec-review --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Jason904/ui-skill-lab.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/visual-spec-review .claude/skills/visual-spec-review && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
visual-spec-review
GitHub stars
144
Token cost
~1.6k tokens
SKILL.md length
639 words
Files
14 (incl. references)
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

This skill should be used after visual-to-spec has produced 03visualspec/ and before design-system-governor or frontend implementation begins.

  • Works in 10 steps: reference.png — visual appearance and… → visual-analysis.md / UI Type… → visual-analysis.md / Visible Element… → …
  • Tasks that involve Design systems
  • SKILL.md covers Trigger Conditions, Required Inputs, Source of Truth Hierarchy and Required Sections to Read, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Visual Spec Review is an agent skill from Jason904/ui-skill-lab. This skill should be used after visual-to-spec has produced 03visualspec/ and before design-system-governor or frontend implementation begins. It independently reviews extracted visual specs against the reference screenshot, UI type, layout paradigm, visible-element evidence, rejected assumptions, and asset strategy, catching hallucinations, inconsistencies, and implementation blockers.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 15 other files, including reference files (for example `README.md`, `examples/conflict-log.example.md` and `examples/optional-patch.example.md`).

It sits in Frontend & Design, covering Design systems. The repository describes itself as: AI-driven UI development skill pipeline — test lab for Codex skills covering PRD-to-pixel workflow. The licence is MIT.

When your agent uses it

  • Tasks that involve Design systems

Example prompts

  • “/visual-spec-review”

Workflow steps

10 steps, taken from the first numbered list in SKILL.md.

  1. reference.png — visual appearance and screenshot facts
  2. visual-analysis.md / UI Type Classification — UI type and high-level interpretation
  3. visual-analysis.md / Visible Element Inventory — reference-visible evidence and bbox mapping
  4. visual-analysis.md / Rejected Assumptions — forbidden interpretations
  5. layout-spec.md / Layout Paradigm — layout strategy
  6. component-tree.md — implementation component structure
  7. implementation-risks.md / Asset Strategy — asset and rendering strategy
  8. DESIGN.md — readable summary contract
  9. tokens.json — consumable token values
  10. human-review-needed.md — unresolved review gates

What it can do on your machine

Read from SKILL.md and the folder at commit a71b4e2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Visual Spec Review loads about 1.6k tokens when it runs, and up to ~6.8k if it reads all its reference files. Until then it costs about 103 tokens; SKILL.md has 639 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~103
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Jason904/ui-skill-lab at commit a71b4e2, republished under its MIT licence (© Jason904). 639 words, ~1,632 tokens.

Download SKILL.mdSave it as .claude/skills/visual-spec-review/SKILL.md (or your agent's skills folder). This skill also uses 13 other files; get the full folder from GitHub.
name
visual-spec-review
description
This skill should be used after visual-to-spec has produced 03_visual_spec/ and before design-system-governor or frontend implementation begins. It independently reviews extracted visual specs against the reference screenshot, UI type, layout paradigm, visible-element evidence, rejected assumptions, and asset strategy, catching hallucinations, inconsistencies, and implementation blockers.
argument-hint
[visual-spec-directory]

Version: 2.0.0

visual-spec-review

Review visual-to-spec outputs before implementation.

This skill audits the seven files in 03_visual_spec/ and determines whether they form a reliable frontend implementation contract.

It must not only check internal consistency. It must also verify that the visual spec still matches the reference screenshot, UI type, visible element evidence, rejected assumptions, and asset strategy.

Trigger Conditions

Use this skill when:

  • visual-to-spec has produced 03_visual_spec/
  • the user asks to review or validate visual specs
  • the user asks whether the UI spec is reliable before implementation
  • the user asks to catch hallucinations in layout-spec or component-tree
  • the user asks to validate screenshot-derived tokens, layout, or component tree
  • the implementation should not start until visual spec quality is confirmed

Required Inputs

Read:

text
03_visual_spec/
  visual-analysis.md
  layout-spec.md
  component-tree.md
  DESIGN.md
  tokens.json
  implementation-risks.md
  human-review-needed.md

Do not look for separate files such as:

text
ui-type-classification.md
visible-element-inventory.md
rejected-assumptions.md
asset-manifest.md

Those concepts must be read from fixed sections inside the seven visual-to-spec files.

Source of Truth Hierarchy

  1. reference.png — visual appearance and screenshot facts
  2. visual-analysis.md / UI Type Classification — UI type and high-level interpretation
  3. visual-analysis.md / Visible Element Inventory — reference-visible evidence and bbox mapping
  4. visual-analysis.md / Rejected Assumptions — forbidden interpretations
  5. layout-spec.md / Layout Paradigm — layout strategy
  6. component-tree.md — implementation component structure
  7. implementation-risks.md / Asset Strategy — asset and rendering strategy
  8. DESIGN.md — readable summary contract
  9. tokens.json — consumable token values
  10. human-review-needed.md — unresolved review gates

Required Sections to Read

From visual-analysis.md:

  • UI Type Classification
  • Visible Element Inventory
  • Rejected Assumptions

From layout-spec.md:

  • Layout Paradigm
  • Layer Model
  • Region Layout
  • Forbidden Layouts

From component-tree.md:

  • Component Tree Type
  • bboxRef for reference-visible components
  • Prohibited Components

From implementation-risks.md:

  • Asset Strategy
  • UI Type Drift Risks
  • Asset Misuse Risks
  • Hallucinated Component Risks

From human-review-needed.md:

  • high-impact structure risks
  • UI type confidence
  • layout paradigm confidence
  • asset strategy confidence
  • visible element inventory completeness

From DESIGN.md:

  • UI Type and Rendering Strategy
  • Asset Strategy
  • Forbidden Assumptions
  • Implementation Rules

From tokens.json:

  • source
  • confidence
  • strictness
  • usedBy
  • bboxRef if present

Review Stages

Run all review stages:

  1. R0 — UI Type Consistency Review
  2. R1 — Visible Element Evidence Review
  3. R2 — Rejected Assumptions Review
  4. R3 — Asset Strategy Review
  5. R4 — Token and Schema Review
  6. R5 — Component Tree Feasibility Review
  7. R6 — Layout Spec Consistency Review
  8. R7 — PRD / Prompt Pack Alignment Review
  9. R8 — Human Review Gate Review

Detailed rules are in references/review-checklists.md.

Show full SKILL.md (273 more words)Show less

Hard Rules

  • Do not treat internal spec consistency as sufficient.
  • Always validate against UI Type, Layout Paradigm, Visible Element Inventory, Rejected Assumptions, and Asset Strategy.
  • Do not pass a spec if panorama-scene, image-led, or scene-led UI has been converted into a dashboard layout.
  • Any reference-visible component must have bbox, bboxRef, or visual evidence in visual-analysis.md / Visible Element Inventory.
  • Any component or layout listed in Rejected Assumptions, Forbidden Layouts, or Prohibited Components must be blocking.
  • If the UI requires raster/image asset usage, a CSS/SVG redraw strategy for the main visual is a failure.
  • Do not silently repair source specs. Report required revisions and optionally provide patches.
  • Do not rewrite the UI design.
  • Do not create new visual-to-spec output files.
  • Do not merge this skill with design-system-governor, spec-compliance-review, or visual-acceptance-review.

Output

Write:

text
04_visual_spec_review/
  spec-review-report.md
  conflict-log.md
  revised-files-needed.md
  optional-patches/
    visual-analysis.patch.md
    layout-spec.patch.md
    component-tree.patch.md
    DESIGN.patch.md
    tokens.patch.json
    implementation-risks.patch.md
    human-review-needed.patch.md

Only create optional patch files when the correction is clear. Otherwise, list the required revision in revised-files-needed.md.

Pass / Conditional Pass / Fail

Pass only when:

  • UI Type matches the reference screenshot
  • Layout Paradigm matches UI Type
  • all reference-visible components have visible evidence
  • no rejected assumptions are violated
  • asset strategy exists and matches the UI type
  • tokens.json is parseable
  • component-tree is implementable and aligned with UI Type

Fail if any of the following occurs:

  • UI Type mismatch
  • Layout Paradigm mismatch
  • panorama-scene / image-led / scene-led UI is abstracted as dashboard
  • reference-visible component lacks bbox / bboxRef / visual evidence
  • Rejected Assumptions / Prohibited Components are violated
  • Asset Strategy is missing or conflicts with UI Type
  • main visual should be raster asset but is specified as CSS/SVG redraw
  • tokens.json cannot be parsed

Supporting Files

Read these references directly:

  • references/review-workflow.md
  • references/review-checklists.md
  • references/ui-type-review-rules.md
  • references/visible-evidence-rules.md
  • references/rejected-assumptions-rules.md
  • references/asset-strategy-review.md
  • references/pass-fail-rules.md
  • references/output-files.md

Examples:

  • examples/spec-review-report.example.md
  • examples/conflict-log.example.md
  • examples/revised-files-needed.example.md
  • examples/optional-patch.example.md

© Jason904, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 13 other files (references) in skills/visual-spec-review of Jason904/ui-skill-lab.

  • SKILL.md
  • README.md
  • examples/conflict-log.example.md
  • examples/optional-patch.example.md
  • examples/revised-files-needed.example.md
  • examples/spec-review-report.example.md
  • references/asset-strategy-review.md
  • references/output-files.md
  • references/pass-fail-rules.md
  • references/rejected-assumptions-rules.md
  • references/review-checklists.md
  • references/review-workflow.md
  • references/ui-type-review-rules.md
  • references/visible-evidence-rules.md

Open the folder on GitHubat commit a71b4e2

Compare with similar skills

Visual Spec Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Visual Spec Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Visual Spec Review this skillJason904/ui-skill-lab144—~1.6kAutomated safety check: PassMIT
Impeccablebestofjs/bestofjs3.1k26 repos~2.6kAutomated safety check: PassMIT
Figma Design System Builderwarpdotdev/warp65k2 repos~4.4kAutomated safety check: PassAGPL-3.0
Figma use_figma Plugin API Ruleswarpdotdev/warp65k4 repos~4.4kAutomated safety check: PassAGPL-3.0
UI StylingOhh-889/skyroc79513 repos~2.5kAutomated safety check: PassMIT
Shadcnsupabase/evals14543 repos~4.5kAutomated safety check: PassApache-2.0

Similar skills

  • Impeccable

    bestofjs/bestofjs

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    3.1k GitHub starsUsed in 26 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • Builds or updates a design system in Figma from a codebase in ordered phases: discovery, variables and tokens, components, theming and documentation, with checkpoints.

    65k GitHub starsUsed in 2 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.

    65k GitHub starsUsed in 4 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • UI Styling

    Ohh-889/skyroc

    Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs.

    795 GitHub starsUsed in 13 repos~2.5k tokens
    Frontend & DesignAuto-check passed
  • Shadcn

    supabase/evals

    Official

    Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI.

    145 GitHub starsUsed in 43 repos~4.5k tokens
    Frontend & DesignAuto-check passed
  • Design System

    Ohh-889/skyroc

    Token architecture, component specifications, and slide generation.

    795 GitHub starsUsed in 11 repos~1.7k tokens
    Frontend & DesignAuto-check passed

More from Jason904/ui-skill-lab

All 8 skills in this repo
  • Image2 Prompt Pack

    Jason904/ui-skill-lab

    This skill should be used when the user asks to convert a PRD, OpenSpec change, or product idea into a structured GPT Image 2 UI prompt pack for generating high-fidelity flat UI reference images.

    144 GitHub stars~1k tokensUpdated 3 mo ago
    Auto-check passed
  • Visual To Spec

    Jason904/ui-skill-lab

    A skill your agent uses when a user provides a reference UI screenshot and asks to extract visual specs, generate design tokens, create a component tree, or produce a frontend implementation…

    144 GitHub stars~1.6k tokensUpdated 3 mo ago
    Auto-check passed
  • UI UX Pro Max Skill

    Jason904/ui-skill-lab

    A skill your agent uses for UI/UX design intelligence in Codex: planning, building, reviewing, improving, or implementing web/mobile interfaces, landing pages, dashboards, design systems…

    144 GitHub stars~865 tokensUpdated 3 mo ago
    Auto-check passed
  • Design System Governor

    Jason904/ui-skill-lab

    This skill should be used after visual-spec-review passes and before OpenSpec UI update or frontend implementation.

    144 GitHub stars~1.2k tokensUpdated 3 mo ago
    Auto-check passed
  • Spec Compliance Review

    Jason904/ui-skill-lab

    This skill should be used after Codex implements a UI change and before visual acceptance review.

    144 GitHub stars~1.1k tokensUpdated 3 mo ago
    Auto-check passed
  • Visual Acceptance Review

    Jason904/ui-skill-lab

    This skill should be used after spec-compliance-review and before visual-diff-fix.

    144 GitHub stars~1.1k tokensUpdated 3 mo ago
    Auto-check passed

Questions about Visual Spec Review

What does Visual Spec Review do?

This skill should be used after visual-to-spec has produced 03visualspec/ and before design-system-governor or frontend implementation begins. Visual Spec Review is an agent skill from Jason904/ui-skill-lab. This skill should be used after visual-to-spec has produced 03visualspec/ and before design-system-governor or frontend implementation begins.

When should I use Visual Spec Review?

Visual Spec Review fits situations like: tasks that involve Design systems.

How do I install Visual Spec Review in Claude Code?

Run `npx skills add Jason904/ui-skill-lab --skill visual-spec-review -a claude-code`. Or copy the skill folder (skills/visual-spec-review in Jason904/ui-skill-lab) into .claude/skills/visual-spec-review in your project. Claude Code loads it when a task matches its description.

How do I install Visual Spec Review in Codex?

Run `npx skills add Jason904/ui-skill-lab --skill visual-spec-review -a codex`. Or copy the skill folder (skills/visual-spec-review in Jason904/ui-skill-lab) into .agents/skills/visual-spec-review in your project. Codex loads it when a task matches its description.

Can I use Visual Spec Review in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Jason904/ui-skill-lab --skill visual-spec-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/visual-spec-review, .gemini/skills/visual-spec-review, .github/skills/visual-spec-review and .opencode/skills/visual-spec-review in your project.

What does Visual Spec Review need to run?

SKILL.md names no scripts, command-line tools or credentials: Visual Spec Review is instructions for the agent only.

Does Visual Spec Review access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Visual Spec Review safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Visual Spec Review use?

Visual Spec Review is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Visual Spec Review use?

About 1.6k tokens (SKILL.md is roughly 6.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.2k tokens, read only when the agent opens those files.

What are the alternatives to Visual Spec Review?

Skills that share tags, products or a category with Visual Spec Review: Impeccable (bestofjs/bestofjs, 3.1k stars), Figma Design System Builder (warpdotdev/warp, 65k stars), Figma use_figma Plugin API Rules (warpdotdev/warp, 65k stars) and UI Styling (Ohh-889/skyroc, 795 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Visual Spec Review?

Jason904 (a GitHub user) maintains it in Jason904/ui-skill-lab, which has 144 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on June 29, 2026.

Source: Jason904/ui-skill-lab on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.