[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7FD7R9AV429ZBB72V6Q7KCV":3,"skill-same:01M7FD7R9AV429ZBB72V6Q7KCV":48},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7FD7R9AV429ZBB72V6Q7KCV","visual-regression-baseline",null,"Use when a known-good render and candidate captures must be compared reproducibly: lock viewport, scale, theme, locale, and time; mask declared dynamic regions; produce tolerance-bounded pixel\u002Fperceptual deltas; and classify each delta before replacing the reference set.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fvisual-regression-baseline\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: visual-regression-baseline\naudience: specialist\ndescription: \"Use when a known-good render and candidate captures must be compared reproducibly: lock viewport, scale, theme, locale, and time; mask declared dynamic regions; produce tolerance-bounded pixel\u002Fperceptual deltas; and classify each delta before replacing the reference set.\"\ntype: skill\n---\n\n# Visual Regression Baseline\n\nCapture stable, comparable visual references so a UI\u002Frender change can be judged as intended design movement\nvs. accidental drift — a deterministic diff, not a screenshot glance.\n\n## Steps\n1. **Define the capture set.** Enumerate the states that must be verified: routes\u002Fscreens, key components,\n   breakpoints (mobile\u002Ftablet\u002Fdesktop), theme variants (light\u002Fdark), and salient interaction states\n   (hover\u002Ffocus\u002Ferror\u002Fempty\u002Floading). Each entry is one named, reproducible capture.\n2. **Establish the baseline.** On the known-good build, capture each entry to an immutable, named reference\n   (via `chrome-devtools`\u002F`playwright` `take_screenshot`\u002F`browser_take_screenshot`, fresh Chrome). Record the\n   capture conditions with it: viewport size, device-scale factor, color scheme, locale, and the app\n   build\u002Fcommit. A baseline without its conditions is not a baseline.\n3. **Neutralize non-determinism BEFORE diffing.** Freeze or mask sources of pixel noise that are not the\n   change under test: fixed clock\u002Fseeded RNG, disabled animations\u002Ftransitions, stable fonts (wait for\n   webfont load), and masked dynamic regions (timestamps, avatars, ads, carousels, generated IDs). Masks are\n   declared per-entry and versioned with the baseline — an unmasked dynamic region is a false FAIL.\n4. **Re-capture deterministically.** On the candidate build, re-capture the SAME set under the SAME recorded\n   conditions. Any condition mismatch (viewport, scale, theme, locale) invalidates the comparison — re-capture,\n   do not diff across conditions.\n5. **Diff and compare.** Compare candidate vs. baseline per entry. Use a pixel\u002Fperceptual diff with a declared\n   tolerance (anti-aliasing\u002Fsub-pixel threshold) and the entry's masks applied. Produce a diff artifact\n   (highlighted delta image) for every non-identical entry.\n6. **Human\u002F`view_image` review of diffs.** A non-zero diff is a SIGNAL, not a verdict. Review each diff image\n   (`view_image` on the codex lane, or a lane image-read) and classify: **intended** (accept → promote to the\n   new baseline, with a note on what changed and why), or **regression** (reject). Never auto-accept a diff to\n   silence it.\n\n## What counts as a regression FAIL\n- A visual delta outside tolerance in an UNmasked region that was NOT an intended, reviewed change.\n- A capture that could not be produced under the recorded conditions (broken render, crash, missing state).\n- A diff accepted without human\u002F`view_image` classification (an unreviewed baseline promotion is itself a FAIL).\n\n## Acceptance\n- Every verified state has a named baseline WITH its recorded capture conditions and declared masks.\n- Candidate captures are produced under identical conditions; cross-condition diffs are rejected, not tolerated.\n- Every non-identical entry has a diff artifact AND a human\u002F`view_image` classification (intended vs regression).\n- Baseline promotion is explicit and attributed; dynamic-region masking is versioned with the baseline.\n- The tool's numeric diff is never the sole verdict — an out-of-tolerance unmasked delta blocks acceptance\n  until reviewed, and a masked\u002Ftolerated delta is documented, not hidden.\n","# Visual Regression Baseline\n\nCapture stable, comparable visual references so a UI\u002Frender change can be judged as intended design movement\nvs. accidental drift — a deterministic diff, not a screenshot glance.\n\n## Steps\n1. **Define the capture set.** Enumerate the states that must be verified: routes\u002Fscreens, key components,\n   breakpoints (mobile\u002Ftablet\u002Fdesktop), theme variants (light\u002Fdark), and salient interaction states\n   (hover\u002Ffocus\u002Ferror\u002Fempty\u002Floading). Each entry is one named, reproducible capture.\n2. **Establish the baseline.** On the known-good build, capture each entry to an immutable, named reference\n   (via `chrome-devtools`\u002F`playwright` `take_screenshot`\u002F`browser_take_screenshot`, fresh Chrome). Record the\n   capture conditions with it: viewport size, device-scale factor, color scheme, locale, and the app\n   build\u002Fcommit. A baseline without its conditions is not a baseline.\n3. **Neutralize non-determinism BEFORE diffing.** Freeze or mask sources of pixel noise that are not the\n   change under test: fixed clock\u002Fseeded RNG, disabled animations\u002Ftransitions, stable fonts (wait for\n   webfont load), and masked dynamic regions (timestamps, avatars, ads, carousels, generated IDs). Masks are\n   declared per-entry and versioned with the baseline — an unmasked dynamic region is a false FAIL.\n4. **Re-capture deterministically.** On the candidate build, re-capture the SAME set under the SAME recorded\n   conditions. Any condition mismatch (viewport, scale, theme, locale) invalidates the comparison — re-capture,\n   do not diff across conditions.\n5. **Diff and compare.** Compare candidate vs. baseline per entry. Use a pixel\u002Fperceptual diff with a declared\n   tolerance (anti-aliasing\u002Fsub-pixel threshold) and the entry's masks applied. Produce a diff artifact\n   (highlighted delta image) for every non-identical entry.\n6. **Human\u002F`view_image` review of diffs.** A non-zero diff is a SIGNAL, not a verdict. Review each diff image\n   (`view_image` on the codex lane, or a lane image-read) and classify: **intended** (accept → promote to the\n   new baseline, with a note on what changed and why), or **regression** (reject). Never auto-accept a diff to\n   silence it.\n\n## What counts as a regression FAIL\n- A visual delta outside tolerance in an UNmasked region that was NOT an intended, reviewed change.\n- A capture that could not be produced under the recorded conditions (broken render, crash, missing state).\n- A diff accepted without human\u002F`view_image` classification (an unreviewed baseline promotion is itself a FAIL).\n\n## Acceptance\n- Every verified state has a named baseline WITH its recorded capture conditions and declared masks.\n- Candidate captures are produced under identical conditions; cross-condition diffs are rejected, not tolerated.\n- Every non-identical entry has a diff artifact AND a human\u002F`view_image` classification (intended vs regression).\n- Baseline promotion is explicit and attributed; dynamic-region masking is versioned with the baseline.\n- The tool's numeric diff is never the sole verdict — an out-of-tolerance unmasked delta blocks acceptance\n  until reviewed, and a masked\u002Ftolerated delta is documented, not hidden.\n",{"name":5,"type":24,"audience":25,"description":7},"skill","specialist","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fvisual-regression-baseline",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill visual-regression-baseline",{"tool":40,"command":41},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill visual-regression-baseline",{"tool":43,"command":44},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill visual-regression-baseline","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fvisual-regression-baseline\u002FSKILL.md",true,[],[49,56,61,68,75,82],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":57,"name":51,"nameZh":6,"description":52,"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":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\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":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\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},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\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},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\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},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]