visual-regression SKILL.md skillA

visual-regression from hsuanyulee/polaris is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add hsuanyulee/polaris/visual-regression@git:20261029.218922c

Pins git:20261029.218922c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
hsuanyulee/polaris
Path
.claude/skills/visual-regression/SKILL.md
Versions recorded
7
Latest version
git:20261029.218922c, committed Oct 29, 2026
First version recorded
Aug 14, 2026
Size
4,868 bytes
Repository stars
5
License
MIT

Standalone visual regression guard using before/after screenshot comparison. Two modes: SIT (compare staging vs local dev) or Local (compare git-stashed base vs current changes). No long-lived baselines — captures fresh screenshots each run and deletes after comparison. Config-driven from workspace-config.yaml. Use when: "跑 visual regression", "檢查畫面", "頁面有沒有壞", "visual test", "screenshot test", "畫面測試", "截圖比對", "有沒有跑版", "畫面壞了嗎", "UI 有沒有問題", "check if pages look right", for standalone manual…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Visual Regression

Before/after screenshot comparison guard。每次執行都抓 fresh before / after
screenshots,使用 Playwright diff,分析後刪除 temporary snapshots 與 test results;
不維護 long-lived baselines。

## Contract

VR 的測試單位是 domain,不是 repo。為一張單跑的時候,頁面與 viewport 取自那張單的 VR assertion;
沒有單的時候,取自 configured URL paths(見 `visual-regression-preflight-flow.md`〈頁面從哪裡來〉)。
不可因「頁面不在目前 repo」而 skip。合法 skip 僅限 config 缺漏、dependency declined、clean local tree、
smart-skip 判斷無 visual impact、fixture 未建立、已知 SSR hang、環境依賴缺失。

VR 在 quality chain 中回答:「既有頁面是否仍 visually intact?」它不取代 Local CI Mirror,
也不取代 feature behavior verification。

## Reference Loading

依執行情境讀取:

| Situation | Load |
|---|---|
| Any VR run | `visual-regression-principles.md`, `visual-regression-preflight-flow.md`, `visual-regression-config.md`, `workspace-config.yaml` |
| Screenshot execution | `visual-regression-capture-flow.md`, `dependency-consent.md` |
| Fixtures enabled | `api-contract-guard.md`, `visual-regression-fixture-flow.md`, `vr-artifact-location.md` |
| Analysis or JIRA report | `visual-regression-analysis-reporting.md` |

JIRA report、Slack summary,或任何 external write body 送出前,必須依
`workspace-config.yaml` 的 `language` 驗證語言。

## Flow
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add hsuanyulee/polaris/visual-regression@sha256:73a5905643c8df78

The line at the top of this page pins the label git:20261029.218922c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_yvwma6nruigqjzc2.svg)](https://markdownregistry.com/a/art_yvwma6nruigqjzc2)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 7 versions of this file, between Aug 14, 2026 and Oct 29, 2026, about one every 13 days.

versioncommittedcommitsizeaudit
git:20261029.218922c latest2026-10-29 218922c 4,868 BA view · diff
git:20261029.97b7a6b2026-10-29 97b7a6b 5,007 BA view · diff
git:20260824.e610d9d2026-08-24 e610d9d 4,844 BA view · diff
git:20260814.877b11f2026-08-14 877b11f 4,845 BA view · diff
git:20260814.1be7f492026-08-14 1be7f49 4,826 BA view · diff
git:20260814.f035ab22026-08-14 f035ab2 4,899 BA view · diff
git:20260814.7032f5f2026-08-14 7032f5f 4,422 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4868 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

hsuanyulee/polaris · 5 stars · license MIT · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_yvwma6nruigqjzc2
GET https://markdownregistry.com/api/v1/resolve?ref=hsuanyulee/polaris/visual-regression
GET https://markdownregistry.com/api/v1/blob/73a5905643c8df7889127201bd6b7c0c3e1d8743f4697d6b77f97c11634dcc47

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from hsuanyulee/polaris

check-your-own-work SKILL.md skill
hsuanyulee/polaris · .claude/skills/check-your-own-work/SKILL.md · Before handing your own change over — opening a PR, asking for review, saying "done" — check it against nine questions…
v1.0.0 · audit A · 5 stars
command-post SKILL.md skill
hsuanyulee/polaris · .claude/skills/command-post/SKILL.md · Commander mode: use when one session commands the other Claude sessions on this machine — to read the map of who holds…
git:20261105.1801e21 · audit A · 5 stars
driving-work-to-done SKILL.md skill
hsuanyulee/polaris · .claude/skills/driving-work-to-done/SKILL.md · 把一件工作從「有人說了一句話」帶到「judged 過的交付」:先判斷要不要立案,再決定現在 該在 refinement / engineering / verify-ac…
v1.0.0 · audit A · 5 stars
engineering SKILL.md skill
hsuanyulee/polaris · .claude/skills/engineering/SKILL.md · 已經有凍結的 assertion、要開始或繼續施工時的站。兩個關卡之間的 loop:探索、實作、換量測、推進輪次。這裡沒有關卡。 某張單的 assertion 已經凍結,接下來要動手做的時候,或剛從 refinement…
v3.0.0 · audit A · 5 stars
framework-self-dev SKILL.md skill
hsuanyulee/polaris · .claude/skills/framework-self-dev/SKILL.md · 在框架自己身上施工時要知道的事:一張框架單怎麼開,以及改一支 skill 之後怎麼知道它變好還是 變壞。兩種單——舉發實作途中撞到的問題、開發框架新功能——開單那一刻問的格子不一樣,而舉發 那一種要先看過還沒出去的單裡有沒有同一件。量…
v1.0.0 · audit A · 5 stars
learning SKILL.md skill
hsuanyulee/polaris · .claude/skills/learning/SKILL.md · "Use when the user wants to learn from external resources (URLs, repos, articles), extract patterns from merged PRs…
v3.1.0 · audit A · 5 stars
memory-hygiene SKILL.md skill
hsuanyulee/polaris · .claude/skills/memory-hygiene/SKILL.md · Manual memory tiering — classify Hot/Warm/Cold, review candidates, and migrate MEMORY.md index + memory files. Use when…
v1.1.0 · audit A · 5 stars
pr-pickup SKILL.md skill
hsuanyulee/polaris · .claude/skills/pr-pickup/SKILL.md · Slack collaboration layer: extracts PR URLs from Slack messages, hands the PR over to be fixed, then reports back to…
v1.0.0 · audit A · 5 stars
refinement SKILL.md skill
hsuanyulee/polaris · .claude/skills/refinement/SKILL.md · 流程的第一站,也是第一個關卡:把「怎麼算成功」談成人簽得下去的 assertion,凍結起來。由 driving-work-to-done 在判定要立案之後帶進來。 driving-work-to-done…
v3.0.0 · audit A · 5 stars
request-pr-review SKILL.md skill
hsuanyulee/polaris · .claude/skills/request-pr-review/SKILL.md · "把使用者名下已經開好的 PR 蒐集起來、帶回每一個的 review 狀態、列出來讓他決定要請誰看,然後通知對的人。Trigger: '我的 PR', 'request PR review', 'ask someone to review…
v4.0.0 · audit A · 5 stars
review-inbox SKILL.md skill
hsuanyulee/polaris · .claude/skills/review-inbox/SKILL.md · "Use when the user wants to discover and review PRs across the team awaiting their attention. NOT for a single specific…
v3.0.0 · audit A · 5 stars
review-pr SKILL.md skill
hsuanyulee/polaris · .claude/skills/review-pr/SKILL.md · Review someone else's PR as a code reviewer: read the diff and the repo's own rules, leave inline comments, and submit…
v2.1.0 · audit A · 5 stars

Every file in hsuanyulee/polaris

Other files named visual-regression

visual-regression SKILL.md skill
jnpiyush/agentx · .github/skills/design/visual-regression/SKILL.md · Catch unintended visual drift between prototype iterations with deterministic screenshot diffs. Use when iterating on a…
v1.0.0 · audit A · 19 stars
visual-regression SKILL.md skill
aks-builds/quality-skills · skills/visual-regression/SKILL.md · When the user wants to design, integrate, or operate visual regression testing — pixel diffs, DOM snapshots, AI-powered…
v1.0.0 · audit A · 5 stars

Browse by kind, by grade A, or by owner.