[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M757B41HMSHCS7WGBHD3A80Y":3,"skill-same:01M757B41HMSHCS7WGBHD3A80Y":45},{"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":6,"updatedAt":30,"install":31,"resources":44},"01M757B41HMSHCS7WGBHD3A80Y","visual-acceptance-loop",null,"Pre-delivery acceptance recipe for paper figures — live-page screenshots, tiling self-check, vision-judge dispatch templates, and evidence-driven fix discipline.","rakaarwaky\u002Fagents-arwaky","rakaarwaky","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F245127434?v=4","01M7574QFJB21S6PPNCK78WX68","Raka Arwaky","01M7574QG54PRT44Q4KMQFXY6B",0,"MIT","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Ffigcraft\u002Ffigure-skills\u002Fvisual-acceptance\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: visual-acceptance-loop\ndescription: Pre-delivery acceptance recipe for paper figures — live-page screenshots, tiling self-check, vision-judge dispatch templates, and evidence-driven fix discipline.\n---\n\n# Visual acceptance loop\n\nDelivery standard is not \"looks fine to me\" — it is an **independent vision judge** comparing render vs reference at pixel level and returning PASS.\n\n## The three checks\n\n1. **Live page must be screenshotted.** Exported PNGs have blind spots (they bypass on-screen layout\u002Fscaling; fit-to-view white-screen bugs only show on the live page). Set the viewport to a user-like window, screenshot, and emit the image for inspection.\n2. **Export self-check.** Run `check_tiling.py` (this folder) — half-image diffs near zero mean the capture tiled. Checking file size alone never catches it. And when re-exporting after a fix, **rebuild the inline export page after the edit** (reverse order bakes the stale version into the page).\n3. **Vision-judge comparison.** Dispatch with replica path + reference path + criteria + a list of intentional deviations. Fresh figures with no bitmap reference get criteria + an element inventory instead; declare the style contract so taste differences are not flagged as defects.\n\n## Judge dispatch template (a vision-capable subagent that reads image paths)\n\n```\nYou are the visual acceptance gate ... Compare REPLICA vs REFERENCE:\n- replica: \u003Cabsolute path.png>   (note coordinate system \u002F scale factor)\n- reference: \u003Cabsolute path.png>\n## What the figure is   (element inventory \u002F topology so the judge need not guess)\n## Acceptance bar       (structural-semantic fidelity + every string + arrow\n                        source→target topology + no overflow\u002Foverlap\u002Fbroken lines;\n                        explicitly list intentional deviations: \"box widened by\n                        request — do not flag\", \"style upgrades — do not flag\")\n## Your job             (per-item checklist: text \u002F topology \u002F colors \u002F quality;\n                        \"pixel measurements beat impressions\")\nReturn ONE JSON verdict line per page:\n{\"page\":\"...\",\"verdict\":\"PASS\"|\"FAIL\",\"issues\":[{\"severity\":\"major\"|\"minor\",\n \"what\":\"...\",\"where\":\"...\",\"evidence\":\"...\"}]}\n```\n\nBatch 3–4 figures per judge, several judges in parallel. Re-checks are targeted: only the previous FAILs + regression points, never a full re-run.\n\n## Fix discipline\n\n- Fix **root causes** from the judge's pixel evidence, not spot patches. (Real examples: titles turning black → root cause was CSS overriding SVG presentation attributes; a box off by 33 px → true position recovered from an alignment relation.)\n- After fixes, dispatch a targeted re-check. If PASS but minor issues remain, decide whether to polish to zero (do it when the user cares about detail).\n- Defects flagged by the user live the same loop: quantify → fix root cause → judge re-check.\n\n## Browser-automation notes\n\n- Every JS call is a fresh kernel: re-bootstrap, list tabs, bind by verified id — never reuse stale handles.\n- Cache-bust reloads with `?v=\u003Ctimestamp>`.\n- Occasional screenshot failure (\"activity capture failed\") → wait 1 s and retry; prefer exact-content-size viewports with plain screenshots over huge viewports.\n- **Never trust `screenshot({fullPage: true})` on over-one-screen pages.** Even with a correct viewport it can stitch viewport-sized tiles that repeat the page — a correct-sized PNG whose content is 4 copies (real case, in-app browser). Measure `scrollWidth`\u002F`scrollHeight` via `evaluate`, set the viewport to exactly that (cap 3840×2160), and take a plain no-clip screenshot. Always re-verify with `check_tiling.py`.\n\n## Dark-theme contrast check (before dispatching the judge)\n\n- **1.2 px hairlines lose ~60 % of their theoretical contrast to antialiasing.** A dark-theme table grid drawn `#22304d` on `#111a2e` (theoretical Δ≈50) renders at Δ≤12 and the judge reads the table as \"borderless\" — it took two fix rounds (`#33507a` still Δ12–22 rendered, `#6288b8` → rendered Δ27–43, line pixels 53–69) to pass.\n- Rule: pick line\u002Ftext colors by **rendered pixel measurement, not the hex math** — scan the exported PNG and require ≥40 gray-level difference for body text and grid lines on their actual background. Self-scan before the judge does (one `PIL\u002Fnumpy` column-min scan at the expected line x-positions).\n","# Visual acceptance loop\n\nDelivery standard is not \"looks fine to me\" — it is an **independent vision judge** comparing render vs reference at pixel level and returning PASS.\n\n## The three checks\n\n1. **Live page must be screenshotted.** Exported PNGs have blind spots (they bypass on-screen layout\u002Fscaling; fit-to-view white-screen bugs only show on the live page). Set the viewport to a user-like window, screenshot, and emit the image for inspection.\n2. **Export self-check.** Run `check_tiling.py` (this folder) — half-image diffs near zero mean the capture tiled. Checking file size alone never catches it. And when re-exporting after a fix, **rebuild the inline export page after the edit** (reverse order bakes the stale version into the page).\n3. **Vision-judge comparison.** Dispatch with replica path + reference path + criteria + a list of intentional deviations. Fresh figures with no bitmap reference get criteria + an element inventory instead; declare the style contract so taste differences are not flagged as defects.\n\n## Judge dispatch template (a vision-capable subagent that reads image paths)\n\n```\nYou are the visual acceptance gate ... Compare REPLICA vs REFERENCE:\n- replica: \u003Cabsolute path.png>   (note coordinate system \u002F scale factor)\n- reference: \u003Cabsolute path.png>\n## What the figure is   (element inventory \u002F topology so the judge need not guess)\n## Acceptance bar       (structural-semantic fidelity + every string + arrow\n                        source→target topology + no overflow\u002Foverlap\u002Fbroken lines;\n                        explicitly list intentional deviations: \"box widened by\n                        request — do not flag\", \"style upgrades — do not flag\")\n## Your job             (per-item checklist: text \u002F topology \u002F colors \u002F quality;\n                        \"pixel measurements beat impressions\")\nReturn ONE JSON verdict line per page:\n{\"page\":\"...\",\"verdict\":\"PASS\"|\"FAIL\",\"issues\":[{\"severity\":\"major\"|\"minor\",\n \"what\":\"...\",\"where\":\"...\",\"evidence\":\"...\"}]}\n```\n\nBatch 3–4 figures per judge, several judges in parallel. Re-checks are targeted: only the previous FAILs + regression points, never a full re-run.\n\n## Fix discipline\n\n- Fix **root causes** from the judge's pixel evidence, not spot patches. (Real examples: titles turning black → root cause was CSS overriding SVG presentation attributes; a box off by 33 px → true position recovered from an alignment relation.)\n- After fixes, dispatch a targeted re-check. If PASS but minor issues remain, decide whether to polish to zero (do it when the user cares about detail).\n- Defects flagged by the user live the same loop: quantify → fix root cause → judge re-check.\n\n## Browser-automation notes\n\n- Every JS call is a fresh kernel: re-bootstrap, list tabs, bind by verified id — never reuse stale handles.\n- Cache-bust reloads with `?v=\u003Ctimestamp>`.\n- Occasional screenshot failure (\"activity capture failed\") → wait 1 s and retry; prefer exact-content-size viewports with plain screenshots over huge viewports.\n- **Never trust `screenshot({fullPage: true})` on over-one-screen pages.** Even with a correct viewport it can stitch viewport-sized tiles that repeat the page — a correct-sized PNG whose content is 4 copies (real case, in-app browser). Measure `scrollWidth`\u002F`scrollHeight` via `evaluate`, set the viewport to exactly that (cap 3840×2160), and take a plain no-clip screenshot. Always re-verify with `check_tiling.py`.\n\n## Dark-theme contrast check (before dispatching the judge)\n\n- **1.2 px hairlines lose ~60 % of their theoretical contrast to antialiasing.** A dark-theme table grid drawn `#22304d` on `#111a2e` (theoretical Δ≈50) renders at Δ≤12 and the judge reads the table as \"borderless\" — it took two fix rounds (`#33507a` still Δ12–22 rendered, `#6288b8` → rendered Δ27–43, line pixels 53–69) to pass.\n- Rule: pick line\u002Ftext colors by **rendered pixel measurement, not the hex math** — scan the exported PNG and require ≥40 gray-level difference for body text and grid lines on their actual background. Self-scan before the judge does (one `PIL\u002Fnumpy` column-min scan at the expected line x-positions).\n",{"name":5,"description":7},"main","e0708985ab2d620bc6e8fe741eaa4ec1960269e3","skills\u002Ffigcraft\u002Ffigure-skills\u002Fvisual-acceptance","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky","https:\u002F\u002Fgithub.com\u002Frakaarwaky","https:\u002F\u002Fbuymeacoffee.com\u002Frakaarwaky","2026-11-15 04:28:37",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add rakaarwaky\u002Fagents-arwaky --skill visual-acceptance-loop",{"tool":37,"command":38},"bunx","bunx skills add rakaarwaky\u002Fagents-arwaky --skill visual-acceptance-loop",{"tool":40,"command":41},"pnpm","pnpm dlx skills add rakaarwaky\u002Fagents-arwaky --skill visual-acceptance-loop","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Ffigcraft\u002Ffigure-skills\u002Fvisual-acceptance\u002FSKILL.md",true,[],[46,54,61,68,75,82],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":53},"01M78SFXSH86CW16Z5FEXMSJXH","github-workflow","Umbrella for GitHub auth, repo management, issues, PRs, Mergify, and releases. Subsumes github-auth and repo-manager.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fgit\u002Fgithub-workflow\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":53},"01M78SF81R7NVSCXAT8YQ255HM","brave-automation","baa CLI: Brave profiles, Google sessions, credentials.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fbrave-automation\u002Fbrave-automation\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":53},"01M78SEY7TS908JM8KVPBM6HBN","aes","AES docs, layers, rule fixes, and legacy migration.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Farchitechture\u002Faes\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M757HBGFCMTJTQB45JQFXCC0","pretext","Build creative browser demos with DOM-free text layout.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fweb-design\u002Fpretext\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M757H8K38ETN8F4ANBBRWY4G","popular-web-designs","54 real design systems (Stripe, Linear, Vercel) as HTML\u002FCSS.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fweb-design\u002Fpopular-web-designs\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M757H5DM7QPN9H391572NH5B","p5js","p5.js sketches: gen art, shaders, interactive, 3D.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fweb-design\u002Fp5js\u002FSKILL.md",[],[]]