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.
mdr add hsuanyulee/polaris/visual-regression@git:20261029.218922cPins 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
mdr add hsuanyulee/polaris/visual-regression@sha256:73a5905643c8df78The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261029.218922c latest | 2026-10-29 | 218922c | 4,868 B | A | view · diff |
| git:20261029.97b7a6b | 2026-10-29 | 97b7a6b | 5,007 B | A | view · diff |
| git:20260824.e610d9d | 2026-08-24 | e610d9d | 4,844 B | A | view · diff |
| git:20260814.877b11f | 2026-08-14 | 877b11f | 4,845 B | A | view · diff |
| git:20260814.1be7f49 | 2026-08-14 | 1be7f49 | 4,826 B | A | view · diff |
| git:20260814.f035ab2 | 2026-08-14 | f035ab2 | 4,899 B | A | view · diff |
| git:20260814.7032f5f | 2026-08-14 | 7032f5f | 4,422 B | A | view |
Audit of the latest version
- 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
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
Every file in hsuanyulee/polaris