[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78GTXXWH8J03D8WSWFPJ75V":3,"skill-same:01M78GTXXWH8J03D8WSWFPJ75V":90},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M78GTXXWH8J03D8WSWFPJ75V","visual-qa",null,"Rigorous visual QA for any UI you built or changed, across BOTH web\u002Fpage UIs and TUI\u002Fterminal UIs. MUST USE after building or changing any UI to verify it visually before declaring it done. Captures objective reference evidence with a bundled diff script (image-diff for screenshots, tui-check for terminal captures), then runs two parallel read-only oracle passes (design-system and functional integrity; visual fidelity and CJK precision) and synthesizes one good\u002Fbad verdict. Triggers: visual QA, visual regression, screenshot diff, pixel diff, image comparison, UI looks wrong, design system check, is this really a design system or just an image, alpha channel breakage, responsive check, CJK text, Korean\u002FJapanese\u002FChinese text clipping, baseline drop, glyph drop, TUI alignment, terminal UI, tmux capture, box-drawing border misalignment, wide-character column drift. Use it even when the user does not say visual QA but asks whether a page, component, or terminal layout looks right.","younghai\u002Flazyz","younghai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10753869?v=4","01M78GJ5KADQ959GDR0ZM7DDNF","young kwon","01M78GJ5M3F6D2YKVXCNX3WMR9",0,"MIT","https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz\u002Fblob\u002Fmain\u002Frelease\u002Flazyz-0.11.0-20261007\u002Fskills\u002Fvisual-qa\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: visual-qa\ndescription: \"Rigorous visual QA for any UI you built or changed, across BOTH web\u002Fpage UIs and TUI\u002Fterminal UIs. MUST USE after building or changing any UI to verify it visually before declaring it done. Captures objective reference evidence with a bundled diff script (image-diff for screenshots, tui-check for terminal captures), then runs two parallel read-only oracle passes (design-system and functional integrity; visual fidelity and CJK precision) and synthesizes one good\u002Fbad verdict. Triggers: visual QA, visual regression, screenshot diff, pixel diff, image comparison, UI looks wrong, design system check, is this really a design system or just an image, alpha channel breakage, responsive check, CJK text, Korean\u002FJapanese\u002FChinese text clipping, baseline drop, glyph drop, TUI alignment, terminal UI, tmux capture, box-drawing border misalignment, wide-character column drift. Use it even when the user does not say visual QA but asks whether a page, component, or terminal layout looks right.\"\n---\n\n## ZCode Harness Tool Compatibility\n\nThis skill was ported from the Codex\u002FOpenCode OmO harness. ZCode does not provide `call_omo_agent`, `task`, `background_output`, `team_*`, `multi_agent_v1.spawn_agent`, or any Codex-only multi-agent tools. Translate every such example to ZCode's native tools:\n\n| Codex\u002FOpenCode example | ZCode tool to use |\n| --- | --- |\n| `call_omo_agent(subagent_type=\"explore\", ...)` | `Agent` tool with `subagent_type=\"Explore\"` and a self-contained `prompt` |\n| `call_omo_agent(subagent_type=\"librarian\", ...)` | `Agent` tool with `subagent_type=\"Explore\"` (research-focused prompt) |\n| `task(subagent_type=\"plan\", ...)` | `Agent` tool with `subagent_type=\"general-purpose\"` (planning-focused prompt) |\n| `task(subagent_type=\"oracle\", ...)` for final verification | `Agent` tool with `subagent_type=\"general-purpose\"` (rigorous-review prompt) |\n| `task(category=\"...\", ...)` for implementation or QA | `Agent` tool with `subagent_type=\"general-purpose\"` |\n| `multi_agent_v1.spawn_agent(...)` \u002F `spawn_agent(...)` | `Agent` tool with `subagent_type` and a self-contained `prompt` |\n| `background_output(task_id=\"...\")` | Only unstructured read-only research may use background mode; its completion arrives as a parent task notification, not a plugin hook |\n| `multi_agent_v1.wait_agent(...)` mailbox signals | No equivalent plugin tool; use returned foreground Agent results or the host's background research notifications |\n| `team_*(...)` | ZCode has no native team-of-threads API. Approximate with multiple parallel `Agent` calls (one per member) coordinated by the parent, or fall back to sequential subagents when isolation is unclear |\n\nZCode v3.14.3 loads enabled plugin agents from `agents\u002F`. Prefer namespaced roles such as `lazyz:explorer` and `lazyz:lazycodex-executor`; unambiguous bare names also work. Include all task context and ownership in the self-contained `prompt`. Roles inherit the user's active model; do not force an obsolete provider ID or copy Codex model\u002Feffort fields. If an older host lacks a role, describe it inline using the appropriate built-in agent.\n\nBefore every governed Agent or Task call, read the Dispatch schema in the installed [start-work skill](..\u002Fstart-work\u002FSKILL.md) and prepend exactly one LAZYCODEX_DISPATCH_V1 JSON line. General-purpose and known executor calls require this envelope; read-only Explore calls may remain unstructured. Use the same taskId across retries with a fresh runId, unchanged criteria, role, phase and budget. Planning\u002Fdocument work uses writer, code work implementer, review reviewer, and testing qa. Never rename a task to bypass its exhausted budget.\n\nGoverned calls must use `run_in_background: false` (or omit it). A background launch is not a completed result and has no matching plugin completion hook. Multiple independent foreground calls may be requested together; do not assume the host executes them concurrently. Read-only background research without a dispatch contract remains available.\n\nRequire each governed child to write the matching ReceiptV1 with current source identity, criterion invocations, zero exit codes and hashed regular artifacts, then return EVIDENCE_RECORDED; final-phase work requires FINAL_EVIDENCE_RECORDED. PostToolUse records failed evidence; Stop prevents unresolved completion while budget remains. An exhausted budget requires a blocker handoff, not an unsupported completion claim.\n\nUser authorization and verification policy take precedence over generic workflow instructions below. Do not auto-commit, push, merge, delete, deploy, install tools, call paid services, or run checks prohibited by the user. Record skipped checks honestly; do not fabricate a passing receipt. A task requiring a verified receipt remains unverified if the necessary checks are prohibited. ZCode Stop can continue at most three consecutive times, not indefinitely. Native Goal Mode, Memory and Wiki are host features; no callable API is assumed.\n\nFor work likely to take long, prefer multiple concurrent `Agent` calls in a single message over one giant blocking call. Treat each child's final message as the deliverable: if it lacks the required output, ack-only, or stops without producing evidence, fall back to a smaller re-scoped `Agent` call with the missing deliverable made explicit in the `prompt`.\n\n# Visual QA - Dual-Oracle Web and TUI Verification\n\nVerify a rendered UI against intent using objective script evidence plus two parallel read-only oracle passes, then synthesize one good\u002Fbad verdict. The script numbers focus the reviewers. They are not the verdict.\n\n## Purpose and when to use\n\n- Use after you build or change any UI, before calling it done. Covers web\u002Fpage UIs and TUI\u002Fterminal UIs.\n- Use when output must match a mock, a baseline, or a stated design intent; when you suspect a regression; when CJK (Korean\u002FJapanese\u002FChinese) text may clip or misalign; when a claimed design system might actually be a flat image; when a terminal layout may overflow or its borders may break.\n- Skip when there is no rendered surface (pure backend or library logic with no visual or terminal output). For broad post-implementation review use review-work; this skill is the visual specialist.\n\nIn the commands below, `$SKILL_DIR` is this skill's own directory (the folder containing this SKILL.md). The bundled script lives at `scripts\u002Fcli.ts` inside it.\n\n## Step 1 - Detect the surface\n\n- Web\u002Fpage UI: renders in a browser (HTML\u002FCSS\u002FJS, components, canvas, SVG). Evidence is screenshots.\n- TUI\u002Fterminal UI: renders as text in a terminal (box-drawing, panes, status lines, REPL\u002FTUI apps). Evidence is terminal captures.\n\nIf the change touches both, run both capture tracks and feed both into the passes.\n\n## Step 2 - Capture objective reference evidence\n\n### Web\n\n1. Capture a REFERENCE image: the user's mock\u002Ftarget, or a known-good baseline. Save as PNG.\n2. Capture the ACTUAL rendered screenshot at the same viewport size using the project's browser tooling (the playwright, agent-browser, or dev-browser skill). Save as PNG.\n3. Run the diff and keep the JSON:\n\n```\nbun \"$SKILL_DIR\u002Fscripts\u002Fcli.ts\" image-diff \u003Creference.png> \u003Cactual.png>\n```\n\nKey fields: `dimensionsMatch`, `diffRatio` (0..1), `similarityScore` (0..100), `alphaChannelIntact`, `hotspots[]` (grid regions ranked by `diffRatio`).\n\n### TUI\n\n1. Capture plain text and an ANSI-preserving copy:\n\n```\ntmux capture-pane -p > capture.txt\ntmux capture-pane -e -p > capture-ansi.txt\n```\n\n2. Run the check with the REAL terminal width and keep the JSON:\n\n```\nbun \"$SKILL_DIR\u002Fscripts\u002Fcli.ts\" tui-check capture.txt --cols \u003CN>\n```\n\nKey fields: `maxWidth`, `overflowLines[]`, `borderMisaligned`, `wideCharColumns[]`, `hasAnsi`.\n\nThis JSON (diff ratio, similarity score, hotspots or overflow lines, border alignment, wide-char columns, alpha) is REFERENCE evidence to aim the reviewers. It is not the verdict by itself.\n\n## Step 3 - Dispatch two read-only QA passes in parallel\n\nSend BOTH task calls in a single message so they run concurrently. Each oracle is read-only: it reviews and reports, it cannot modify files. Each returns PASS, REVISE, or FAIL with concrete, located findings.\n\nPaste evidence directly into each prompt, because the oracle works only from the prompt text: source code, the plain-text TUI captures, the script JSON, and the screenshot paths plus your described observations for web. The two passes differ in depth by charter, not by any model or effort setting, which cannot be pinned per call.\n\n### Pass A - Design-system and functional integrity (deeper, strict)\n\n```\ntask(subagent_type=\"oracle\",\n  run_in_background=true,\n  load_skills=[],\n  description=\"Visual QA pass A: design-system and functional integrity\",\n  prompt=\"\"\"\nREVIEW TYPE: DESIGN-SYSTEM AND FUNCTIONAL INTEGRITY (read-only)\nTIER INTENT: Treat this as the deeper, stricter pass. Reason exhaustively before concluding. Assume a plausible-looking surface may be faked until the source proves otherwise.\n\nINTENT:\n{What the user asked for, the mock or baseline, and the constraints.}\n\nSURFACE: {web | tui | both}\n\nSOURCE CODE:\n{Full source of the UI: components, styles\u002Ftokens, layout, render code. Include neighboring files that show existing patterns.}\n\nCAPTURES:\n{Web: actual screenshot path(s) plus your described observations. TUI: paste capture.txt and capture-ansi.txt inline.}\n\nSHARED SCRIPT EVIDENCE (reference, not verdict):\n{Paste the image-diff or tui-check JSON. Use alphaChannelIntact for the transparency check.}\n\nCHECK EACH:\n1. Real design system vs ad-hoc: are styles driven by coherent design tokens and reused primitives, or one-off hardcoded values scattered per element?\n2. Faked-with-an-image anti-pattern: is the UI a real DOM\u002Fcomponent tree, or a pasted raster\u002Fscreenshot or background-image standing in for live elements? For TUI: a real layout that reflows, or hardcoded pre-rendered text at fixed widths?\n3. Alpha and transparency: handled correctly, with no unexpected opaque or black fills and correct PNG\u002FCSS alpha? Cross-check alphaChannelIntact.\n4. Code style and implementation quality.\n5. Responsive and resize behavior across viewport sizes (web) or terminal resize (TUI).\n6. Do the user-intended FEATURES actually work: interactions, states, navigation (web); input handling, resize, scroll (TUI)? Trace the code paths.\n\nOUTPUT:\nVERDICT: PASS | REVISE | FAIL\nCONFIDENCE: HIGH | MEDIUM | LOW\nSUMMARY: 1-3 sentences\nFINDINGS: for each, [dimension] [severity] what is wrong, where (file\u002Fline or capture region), and the concrete fix\nWHAT IS GOOD: correct aspects that must not regress\nBLOCKING: items that must be fixed; empty if PASS\n\"\"\"\n)\n```\n\n### Pass B - Visual fidelity and CJK precision (focused)\n\n```\ntask(subagent_type=\"oracle\",\n  run_in_background=true,\n  load_skills=[],\n  description=\"Visual QA pass B: visual fidelity and CJK precision\",\n  prompt=\"\"\"\nREVIEW TYPE: VISUAL FIDELITY AND CJK PRECISION (read-only)\nTIER INTENT: Treat this as the focused visual pass. Anchor every claim to the script evidence and the captures.\n\nINTENT:\n{What the user requested and the mock or baseline to match.}\n\nSURFACE: {web | tui | both}\n\nCAPTURES:\n{Web: actual and reference screenshot paths plus your described observations. TUI: paste capture.txt and capture-ansi.txt inline.}\n\nSCRIPT EVIDENCE (required, consume every field):\n{Paste the image-diff or tui-check JSON.}\n\nUSE THE EVIDENCE:\n- Web (image-diff): start from diffRatio and similarityScore, then open every hotspots[] entry (gridX, gridY, x, y, width, height, diffRatio) and explain the visual cause of each flagged region.\n- TUI (tui-check): inspect maxWidth vs expectedColumns, every overflowLines[] entry, borderMisaligned, and wideCharColumns[].\n\nCHECK:\n1. Does the rendered output match what the user requested: layout, spacing, color, type, alignment?\n2. CJK precision:\n   - Web: baseline\u002Fdescender clipping, dropped glyphs (tofu), broken line-breaking, mismatched font metrics between reference and actual.\n   - TUI: wide-character column drift (CJK cells counted as 1 instead of 2), box-drawing border misalignment, content overflowing past the terminal width.\n\nOUTPUT:\nVERDICT: PASS | REVISE | FAIL\nCONFIDENCE: HIGH | MEDIUM | LOW\nSUMMARY: 1-3 sentences\nEVIDENCE TRACE: each hotspot or overflow line mapped to its visual cause\nFINDINGS: for each, [severity] what is wrong, where (hotspot grid or capture line:col), and the concrete fix\nBLOCKING: items that must be fixed; empty if PASS\n\"\"\"\n)\n```\n\n## Step 4 - Synthesize one verdict\n\nWhen both passes return, merge them into a single report. Per dimension, mark good or bad with evidence. For each bad item, state what is wrong, where (file\u002Fline, hotspot grid, or capture line), and the concrete fix. Call out what is genuinely good so it is not regressed later.\n\nCompletion gate: do not declare the UI done until both passes are satisfied, OR the remaining gaps are explicitly listed and accepted by the user. A high `similarityScore` with an open Pass A finding, for example a faked-image layout or a broken feature, is still a FAIL.\n\n```markdown\n# Visual QA - Verdict: GOOD | NEEDS WORK\n\n| Dimension | Pass | Verdict | Evidence |\n|---|---|---|---|\n| Design system real vs faked | A | good\u002Fbad | ... |\n| Features work | A | good\u002Fbad | ... |\n| Responsive \u002F resize | A | good\u002Fbad | ... |\n| Alpha \u002F transparency | A+B | good\u002Fbad | ... |\n| Visual fidelity to intent | B | good\u002Fbad | ... |\n| CJK precision | B | good\u002Fbad | ... |\n\n## Must fix\n[Blocking items, each with location and fix, in priority order]\n\n## Good, keep it\n[Correct aspects that must not regress]\n\n## Completion gate\n[Satisfied, or the exact remaining gaps and who accepted them]\n```\n\n## Reference evidence is not the verdict\n\nThe script quantifies pixels and columns. It cannot judge whether the result is a real design system, whether features work, or whether intent was met. A 99\u002F100 `similarityScore` can still hide a pasted-image fake, a broken interaction, or clipped CJK descenders. Use the numbers to aim the oracles, then trust the synthesized review.\n\nIllustrative output (locked field names):\n\n```json\n{\n  \"command\": \"image-diff\",\n  \"dimensionsMatch\": true,\n  \"reference\": { \"width\": 1440, \"height\": 900 },\n  \"actual\": { \"width\": 1440, \"height\": 900 },\n  \"totalPixels\": 1296000,\n  \"diffPixels\": 38880,\n  \"diffRatio\": 0.03,\n  \"similarityScore\": 97,\n  \"alphaChannelIntact\": true,\n  \"hotspots\": [\n    { \"gridX\": 2, \"gridY\": 0, \"x\": 960, \"y\": 0, \"width\": 480, \"height\": 300, \"diffRatio\": 0.21 }\n  ],\n  \"summary\": \"97\u002F100 similarity; one hotspot in the top-right header region.\"\n}\n```\n\n```json\n{\n  \"command\": \"tui-check\",\n  \"expectedColumns\": 80,\n  \"lineCount\": 24,\n  \"lineWidths\": [80, 80, 82, 80],\n  \"maxWidth\": 82,\n  \"overflowLines\": [ { \"line\": 3, \"width\": 82 } ],\n  \"borderMisaligned\": true,\n  \"wideCharColumns\": [12, 13],\n  \"hasAnsi\": false,\n  \"summary\": \"Line 3 overflows 80 cols by 2; borders misaligned at wide-char columns 12-13.\"\n}\n```\n","## ZCode Harness Tool Compatibility\n\nThis skill was ported from the Codex\u002FOpenCode OmO harness. ZCode does not provide `call_omo_agent`, `task`, `background_output`, `team_*`, `multi_agent_v1.spawn_agent`, or any Codex-only multi-agent tools. Translate every such example to ZCode's native tools:\n\n| Codex\u002FOpenCode example | ZCode tool to use |\n| --- | --- |\n| `call_omo_agent(subagent_type=\"explore\", ...)` | `Agent` tool with `subagent_type=\"Explore\"` and a self-contained `prompt` |\n| `call_omo_agent(subagent_type=\"librarian\", ...)` | `Agent` tool with `subagent_type=\"Explore\"` (research-focused prompt) |\n| `task(subagent_type=\"plan\", ...)` | `Agent` tool with `subagent_type=\"general-purpose\"` (planning-focused prompt) |\n| `task(subagent_type=\"oracle\", ...)` for final verification | `Agent` tool with `subagent_type=\"general-purpose\"` (rigorous-review prompt) |\n| `task(category=\"...\", ...)` for implementation or QA | `Agent` tool with `subagent_type=\"general-purpose\"` |\n| `multi_agent_v1.spawn_agent(...)` \u002F `spawn_agent(...)` | `Agent` tool with `subagent_type` and a self-contained `prompt` |\n| `background_output(task_id=\"...\")` | Only unstructured read-only research may use background mode; its completion arrives as a parent task notification, not a plugin hook |\n| `multi_agent_v1.wait_agent(...)` mailbox signals | No equivalent plugin tool; use returned foreground Agent results or the host's background research notifications |\n| `team_*(...)` | ZCode has no native team-of-threads API. Approximate with multiple parallel `Agent` calls (one per member) coordinated by the parent, or fall back to sequential subagents when isolation is unclear |\n\nZCode v3.14.3 loads enabled plugin agents from `agents\u002F`. Prefer namespaced roles such as `lazyz:explorer` and `lazyz:lazycodex-executor`; unambiguous bare names also work. Include all task context and ownership in the self-contained `prompt`. Roles inherit the user's active model; do not force an obsolete provider ID or copy Codex model\u002Feffort fields. If an older host lacks a role, describe it inline using the appropriate built-in agent.\n\nBefore every governed Agent or Task call, read the Dispatch schema in the installed [start-work skill](..\u002Fstart-work\u002FSKILL.md) and prepend exactly one LAZYCODEX_DISPATCH_V1 JSON line. General-purpose and known executor calls require this envelope; read-only Explore calls may remain unstructured. Use the same taskId across retries with a fresh runId, unchanged criteria, role, phase and budget. Planning\u002Fdocument work uses writer, code work implementer, review reviewer, and testing qa. Never rename a task to bypass its exhausted budget.\n\nGoverned calls must use `run_in_background: false` (or omit it). A background launch is not a completed result and has no matching plugin completion hook. Multiple independent foreground calls may be requested together; do not assume the host executes them concurrently. Read-only background research without a dispatch contract remains available.\n\nRequire each governed child to write the matching ReceiptV1 with current source identity, criterion invocations, zero exit codes and hashed regular artifacts, then return EVIDENCE_RECORDED; final-phase work requires FINAL_EVIDENCE_RECORDED. PostToolUse records failed evidence; Stop prevents unresolved completion while budget remains. An exhausted budget requires a blocker handoff, not an unsupported completion claim.\n\nUser authorization and verification policy take precedence over generic workflow instructions below. Do not auto-commit, push, merge, delete, deploy, install tools, call paid services, or run checks prohibited by the user. Record skipped checks honestly; do not fabricate a passing receipt. A task requiring a verified receipt remains unverified if the necessary checks are prohibited. ZCode Stop can continue at most three consecutive times, not indefinitely. Native Goal Mode, Memory and Wiki are host features; no callable API is assumed.\n\nFor work likely to take long, prefer multiple concurrent `Agent` calls in a single message over one giant blocking call. Treat each child's final message as the deliverable: if it lacks the required output, ack-only, or stops without producing evidence, fall back to a smaller re-scoped `Agent` call with the missing deliverable made explicit in the `prompt`.\n\n# Visual QA - Dual-Oracle Web and TUI Verification\n\nVerify a rendered UI against intent using objective script evidence plus two parallel read-only oracle passes, then synthesize one good\u002Fbad verdict. The script numbers focus the reviewers. They are not the verdict.\n\n## Purpose and when to use\n\n- Use after you build or change any UI, before calling it done. Covers web\u002Fpage UIs and TUI\u002Fterminal UIs.\n- Use when output must match a mock, a baseline, or a stated design intent; when you suspect a regression; when CJK (Korean\u002FJapanese\u002FChinese) text may clip or misalign; when a claimed design system might actually be a flat image; when a terminal layout may overflow or its borders may break.\n- Skip when there is no rendered surface (pure backend or library logic with no visual or terminal output). For broad post-implementation review use review-work; this skill is the visual specialist.\n\nIn the commands below, `$SKILL_DIR` is this skill's own directory (the folder containing this SKILL.md). The bundled script lives at `scripts\u002Fcli.ts` inside it.\n\n## Step 1 - Detect the surface\n\n- Web\u002Fpage UI: renders in a browser (HTML\u002FCSS\u002FJS, components, canvas, SVG). Evidence is screenshots.\n- TUI\u002Fterminal UI: renders as text in a terminal (box-drawing, panes, status lines, REPL\u002FTUI apps). Evidence is terminal captures.\n\nIf the change touches both, run both capture tracks and feed both into the passes.\n\n## Step 2 - Capture objective reference evidence\n\n### Web\n\n1. Capture a REFERENCE image: the user's mock\u002Ftarget, or a known-good baseline. Save as PNG.\n2. Capture the ACTUAL rendered screenshot at the same viewport size using the project's browser tooling (the playwright, agent-browser, or dev-browser skill). Save as PNG.\n3. Run the diff and keep the JSON:\n\n```\nbun \"$SKILL_DIR\u002Fscripts\u002Fcli.ts\" image-diff \u003Creference.png> \u003Cactual.png>\n```\n\nKey fields: `dimensionsMatch`, `diffRatio` (0..1), `similarityScore` (0..100), `alphaChannelIntact`, `hotspots[]` (grid regions ranked by `diffRatio`).\n\n### TUI\n\n1. Capture plain text and an ANSI-preserving copy:\n\n```\ntmux capture-pane -p > capture.txt\ntmux capture-pane -e -p > capture-ansi.txt\n```\n\n2. Run the check with the REAL terminal width and keep the JSON:\n\n```\nbun \"$SKILL_DIR\u002Fscripts\u002Fcli.ts\" tui-check capture.txt --cols \u003CN>\n```\n\nKey fields: `maxWidth`, `overflowLines[]`, `borderMisaligned`, `wideCharColumns[]`, `hasAnsi`.\n\nThis JSON (diff ratio, similarity score, hotspots or overflow lines, border alignment, wide-char columns, alpha) is REFERENCE evidence to aim the reviewers. It is not the verdict by itself.\n\n## Step 3 - Dispatch two read-only QA passes in parallel\n\nSend BOTH task calls in a single message so they run concurrently. Each oracle is read-only: it reviews and reports, it cannot modify files. Each returns PASS, REVISE, or FAIL with concrete, located findings.\n\nPaste evidence directly into each prompt, because the oracle works only from the prompt text: source code, the plain-text TUI captures, the script JSON, and the screenshot paths plus your described observations for web. The two passes differ in depth by charter, not by any model or effort setting, which cannot be pinned per call.\n\n### Pass A - Design-system and functional integrity (deeper, strict)\n\n```\ntask(subagent_type=\"oracle\",\n  run_in_background=true,\n  load_skills=[],\n  description=\"Visual QA pass A: design-system and functional integrity\",\n  prompt=\"\"\"\nREVIEW TYPE: DESIGN-SYSTEM AND FUNCTIONAL INTEGRITY (read-only)\nTIER INTENT: Treat this as the deeper, stricter pass. Reason exhaustively before concluding. Assume a plausible-looking surface may be faked until the source proves otherwise.\n\nINTENT:\n{What the user asked for, the mock or baseline, and the constraints.}\n\nSURFACE: {web | tui | both}\n\nSOURCE CODE:\n{Full source of the UI: components, styles\u002Ftokens, layout, render code. Include neighboring files that show existing patterns.}\n\nCAPTURES:\n{Web: actual screenshot path(s) plus your described observations. TUI: paste capture.txt and capture-ansi.txt inline.}\n\nSHARED SCRIPT EVIDENCE (reference, not verdict):\n{Paste the image-diff or tui-check JSON. Use alphaChannelIntact for the transparency check.}\n\nCHECK EACH:\n1. Real design system vs ad-hoc: are styles driven by coherent design tokens and reused primitives, or one-off hardcoded values scattered per element?\n2. Faked-with-an-image anti-pattern: is the UI a real DOM\u002Fcomponent tree, or a pasted raster\u002Fscreenshot or background-image standing in for live elements? For TUI: a real layout that reflows, or hardcoded pre-rendered text at fixed widths?\n3. Alpha and transparency: handled correctly, with no unexpected opaque or black fills and correct PNG\u002FCSS alpha? Cross-check alphaChannelIntact.\n4. Code style and implementation quality.\n5. Responsive and resize behavior across viewport sizes (web) or terminal resize (TUI).\n6. Do the user-intended FEATURES actually work: interactions, states, navigation (web); input handling, resize, scroll (TUI)? Trace the code paths.\n\nOUTPUT:\nVERDICT: PASS | REVISE | FAIL\nCONFIDENCE: HIGH | MEDIUM | LOW\nSUMMARY: 1-3 sentences\nFINDINGS: for each, [dimension] [severity] what is wrong, where (file\u002Fline or capture region), and the concrete fix\nWHAT IS GOOD: correct aspects that must not regress\nBLOCKING: items that must be fixed; empty if PASS\n\"\"\"\n)\n```\n\n### Pass B - Visual fidelity and CJK precision (focused)\n\n```\ntask(subagent_type=\"oracle\",\n  run_in_background=true,\n  load_skills=[],\n  description=\"Visual QA pass B: visual fidelity and CJK precision\",\n  prompt=\"\"\"\nREVIEW TYPE: VISUAL FIDELITY AND CJK PRECISION (read-only)\nTIER INTENT: Treat this as the focused visual pass. Anchor every claim to the script evidence and the captures.\n\nINTENT:\n{What the user requested and the mock or baseline to match.}\n\nSURFACE: {web | tui | both}\n\nCAPTURES:\n{Web: actual and reference screenshot paths plus your described observations. TUI: paste capture.txt and capture-ansi.txt inline.}\n\nSCRIPT EVIDENCE (required, consume every field):\n{Paste the image-diff or tui-check JSON.}\n\nUSE THE EVIDENCE:\n- Web (image-diff): start from diffRatio and similarityScore, then open every hotspots[] entry (gridX, gridY, x, y, width, height, diffRatio) and explain the visual cause of each flagged region.\n- TUI (tui-check): inspect maxWidth vs expectedColumns, every overflowLines[] entry, borderMisaligned, and wideCharColumns[].\n\nCHECK:\n1. Does the rendered output match what the user requested: layout, spacing, color, type, alignment?\n2. CJK precision:\n   - Web: baseline\u002Fdescender clipping, dropped glyphs (tofu), broken line-breaking, mismatched font metrics between reference and actual.\n   - TUI: wide-character column drift (CJK cells counted as 1 instead of 2), box-drawing border misalignment, content overflowing past the terminal width.\n\nOUTPUT:\nVERDICT: PASS | REVISE | FAIL\nCONFIDENCE: HIGH | MEDIUM | LOW\nSUMMARY: 1-3 sentences\nEVIDENCE TRACE: each hotspot or overflow line mapped to its visual cause\nFINDINGS: for each, [severity] what is wrong, where (hotspot grid or capture line:col), and the concrete fix\nBLOCKING: items that must be fixed; empty if PASS\n\"\"\"\n)\n```\n\n## Step 4 - Synthesize one verdict\n\nWhen both passes return, merge them into a single report. Per dimension, mark good or bad with evidence. For each bad item, state what is wrong, where (file\u002Fline, hotspot grid, or capture line), and the concrete fix. Call out what is genuinely good so it is not regressed later.\n\nCompletion gate: do not declare the UI done until both passes are satisfied, OR the remaining gaps are explicitly listed and accepted by the user. A high `similarityScore` with an open Pass A finding, for example a faked-image layout or a broken feature, is still a FAIL.\n\n```markdown\n# Visual QA - Verdict: GOOD | NEEDS WORK\n\n| Dimension | Pass | Verdict | Evidence |\n|---|---|---|---|\n| Design system real vs faked | A | good\u002Fbad | ... |\n| Features work | A | good\u002Fbad | ... |\n| Responsive \u002F resize | A | good\u002Fbad | ... |\n| Alpha \u002F transparency | A+B | good\u002Fbad | ... |\n| Visual fidelity to intent | B | good\u002Fbad | ... |\n| CJK precision | B | good\u002Fbad | ... |\n\n## Must fix\n[Blocking items, each with location and fix, in priority order]\n\n## Good, keep it\n[Correct aspects that must not regress]\n\n## Completion gate\n[Satisfied, or the exact remaining gaps and who accepted them]\n```\n\n## Reference evidence is not the verdict\n\nThe script quantifies pixels and columns. It cannot judge whether the result is a real design system, whether features work, or whether intent was met. A 99\u002F100 `similarityScore` can still hide a pasted-image fake, a broken interaction, or clipped CJK descenders. Use the numbers to aim the oracles, then trust the synthesized review.\n\nIllustrative output (locked field names):\n\n```json\n{\n  \"command\": \"image-diff\",\n  \"dimensionsMatch\": true,\n  \"reference\": { \"width\": 1440, \"height\": 900 },\n  \"actual\": { \"width\": 1440, \"height\": 900 },\n  \"totalPixels\": 1296000,\n  \"diffPixels\": 38880,\n  \"diffRatio\": 0.03,\n  \"similarityScore\": 97,\n  \"alphaChannelIntact\": true,\n  \"hotspots\": [\n    { \"gridX\": 2, \"gridY\": 0, \"x\": 960, \"y\": 0, \"width\": 480, \"height\": 300, \"diffRatio\": 0.21 }\n  ],\n  \"summary\": \"97\u002F100 similarity; one hotspot in the top-right header region.\"\n}\n```\n\n```json\n{\n  \"command\": \"tui-check\",\n  \"expectedColumns\": 80,\n  \"lineCount\": 24,\n  \"lineWidths\": [80, 80, 82, 80],\n  \"maxWidth\": 82,\n  \"overflowLines\": [ { \"line\": 3, \"width\": 82 } ],\n  \"borderMisaligned\": true,\n  \"wideCharColumns\": [12, 13],\n  \"hasAnsi\": false,\n  \"summary\": \"Line 3 overflows 80 cols by 2; borders misaligned at wide-char columns 12-13.\"\n}\n```\n",{"name":5,"description":7},"main","0a99b5b62ebd3726d465f7e319e2b8ec84c8aa6e","release\u002Flazyz-0.11.0-20261007\u002Fskills\u002Fvisual-qa","https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz","https:\u002F\u002Fgithub.com\u002Fyounghai","http:\u002Fbzengage.co","Bizmatrixx co-founder & CEO \r\n","2026-11-01 13:58:56",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add younghai\u002Flazyz --skill visual-qa",{"tool":38,"command":39},"bunx","bunx skills add younghai\u002Flazyz --skill visual-qa",{"tool":41,"command":42},"pnpm","pnpm dlx skills add younghai\u002Flazyz --skill visual-qa","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz\u002Fblob\u002Fmain\u002Frelease\u002Flazyz-0.11.0-20261007\u002Fskills\u002Fvisual-qa\u002FSKILL.md",true,[46,52,58,62,66,70,74,78,82,86],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"agents\u002Fopenai.yaml","REFERENCE","参考文档",47,"https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz\u002Fblob\u002Fmain\u002Frelease\u002Flazyz-0.11.0-20261007\u002Fskills\u002Fvisual-qa\u002Fagents\u002Fopenai.yaml",{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"scripts\u002Fansi.ts","SCRIPT","脚本",499,"https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz\u002Fblob\u002Fmain\u002Frelease\u002Flazyz-0.11.0-20261007\u002Fskills\u002Fvisual-qa\u002Fscripts\u002Fansi.ts",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"scripts\u002Fcli.ts",2479,"https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz\u002Fblob\u002Fmain\u002Frelease\u002Flazyz-0.11.0-20261007\u002Fskills\u002Fvisual-qa\u002Fscripts\u002Fcli.ts",{"path":63,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":64,"sourceHtmlUrl":65},"scripts\u002Feast-asian-width.ts",3061,"https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz\u002Fblob\u002Fmain\u002Frelease\u002Flazyz-0.11.0-20261007\u002Fskills\u002Fvisual-qa\u002Fscripts\u002Feast-asian-width.ts",{"path":67,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":68,"sourceHtmlUrl":69},"scripts\u002Fimage-diff.ts",3771,"https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz\u002Fblob\u002Fmain\u002Frelease\u002Flazyz-0.11.0-20261007\u002Fskills\u002Fvisual-qa\u002Fscripts\u002Fimage-diff.ts",{"path":71,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":72,"sourceHtmlUrl":73},"scripts\u002Fpng-crc.ts",682,"https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz\u002Fblob\u002Fmain\u002Frelease\u002Flazyz-0.11.0-20261007\u002Fskills\u002Fvisual-qa\u002Fscripts\u002Fpng-crc.ts",{"path":75,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":76,"sourceHtmlUrl":77},"scripts\u002Fpng-decode.ts",5270,"https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz\u002Fblob\u002Fmain\u002Frelease\u002Flazyz-0.11.0-20261007\u002Fskills\u002Fvisual-qa\u002Fscripts\u002Fpng-decode.ts",{"path":79,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":80,"sourceHtmlUrl":81},"scripts\u002Fpng-synth.ts",1670,"https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz\u002Fblob\u002Fmain\u002Frelease\u002Flazyz-0.11.0-20261007\u002Fskills\u002Fvisual-qa\u002Fscripts\u002Fpng-synth.ts",{"path":83,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Ftui-grid.ts",2699,"https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz\u002Fblob\u002Fmain\u002Frelease\u002Flazyz-0.11.0-20261007\u002Fskills\u002Fvisual-qa\u002Fscripts\u002Ftui-grid.ts",{"path":87,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Ftypes.ts",1329,"https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz\u002Fblob\u002Fmain\u002Frelease\u002Flazyz-0.11.0-20261007\u002Fskills\u002Fvisual-qa\u002Fscripts\u002Ftypes.ts",[91,98,105,112,119,125],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M78GVSC3PZBHQQ5HPRNQ3AMN","valid-skill","A valid skill for testing purposes.","https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz\u002Fblob\u002Fmain\u002Fxcode\u002Fagent\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fvalid-skill\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M78GVRB79BN9BQ5MAZ43XJWX","unknown-field","A skill with an unknown frontmatter field.","https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz\u002Fblob\u002Fmain\u002Fxcode\u002Fagent\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Funknown-field\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M78GVQ2319BDGJA2QXMM2DM3","nested-child","Nested skill should be ignored.","https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz\u002Fblob\u002Fmain\u002Fxcode\u002Fagent\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Froot-skill-preferred\u002Fnested-child\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":19},"01M78GVP5HC2C9B3VN8D8QWEFG","root-skill-preferred","Root skill should win.","https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz\u002Fblob\u002Fmain\u002Fxcode\u002Fagent\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Froot-skill-preferred\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":19},"01M78GVNAR8R5XF3W00182ZWZH","no-frontmatter","https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz\u002Fblob\u002Fmain\u002Fxcode\u002Fagent\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fno-frontmatter\u002FSKILL.md",[],[],{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":19},"01M78GVK58G788T2TRHPCA8Y64","child-skill","A nested skill in a subdirectory.","https:\u002F\u002Fgithub.com\u002Fyounghai\u002Flazyz\u002Fblob\u002Fmain\u002Fxcode\u002Fagent\u002Fpackages\u002Fcoding-agent\u002Ftest\u002Ffixtures\u002Fskills\u002Fnested\u002Fchild-skill\u002FSKILL.md",[],[]]