CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

visual-regression-tester

This guide walks through a visual regression testing setup, from choosing a tool and establishing screenshot baselines to reviewing changes and updating snapshots. It provides Playwright tests and configuration, Chromatic and CI examples, and recommendations for stable screenshots and responsive coverage. CI examples run visual tests on pull requests and publish Chromatic builds on pushes or pull requests.

Quality

83%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

71%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A highly actionable, copy-paste-ready skill whose main costs are token bloat and monolithic structure. The example patterns repeat themselves and all reference-grade material (full configs, four test files, CI YAML) is inlined in SKILL.md instead of split into bundle files. The workflow is clear and sequenced but the baseline review/update loop lacks a concrete command-level feedback loop.

Suggestions

Move the full playwright.config.ts, the four example test files, and the CI workflow YAMLs into references/ files (e.g. references/playwright-setup.md, references/example-tests.md, references/ci.md) and keep only key excerpts inline, so SKILL.md stays a lean overview.

Cut the repetitive assertion demonstrations: show the component-state pattern (default/hover/focus/disabled) once and the input-state pattern once instead of enumerating every state and every viewport; Claude can generalize the toHaveScreenshot pattern from one or two examples.

Add an explicit baseline-update feedback loop to the workflow, e.g. 'Run npm run test:visual → review diffs in playwright-report/ → if changes are intentional, run npm run test:visual:update and commit the updated snapshots' so the destructive baseline-overwrite step has a concrete validation sequence.

DimensionReasoningScore

Conciseness

Everything is code or terse lists with no concept explanations Claude already knows, but the same toHaveScreenshot assertion pattern is demonstrated repeatedly (primary/secondary/hover/focus/disabled buttons, four input states, four viewports, three dark-mode tests) and the full ~75-line playwright.config.ts could be trimmed — 'mostly efficient but could be tightened' matches anchor 3 better than anchor 4's 'minor instances of over-explanation'.

3 / 5

Actionability

Fully copy-paste ready throughout: 'npm install -D @playwright/test', a complete playwright.config.ts, four executable example test files, two CI workflow YAMLs, and package.json baseline-update scripts, covering the common cases for both Playwright and Chromatic. Not 4 because there are no material gaps in the primary paths the description promises.

5 / 5

Workflow Clarity

The 6-step Core Workflow ('Choose tool' → 'Setup baseline' → 'Configure thresholds' → 'Integrate CI' → 'Review changes' → 'Update baselines') is clearly sequenced and each phase is backed by a detailed section, with review checkpoints present ('Review changes: Approve or reject', 'Update intentionally: Review all baseline changes'). Not 5 because the review-then-update feedback loop is never wired to concrete commands — no step says to open the HTML report, inspect the *-diff.png artifacts, then run test:visual:update and commit.

4 / 5

Progressive Disclosure

Section structure is good (## Playwright / Chromatic / CI / Best Practices), but everything is inlined in one ~490-line file — four complete example test files, the full config, and two CI workflows that clearly belong in separate reference files — and no references/ bundle exists. This matches anchor 3 ('content that should be separate is inline' with decent structure) rather than anchor 2, which requires minimal structure.

3 / 5

Total

15

/

20

Passed

Description

87%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description that clearly and explicitly states both what the skill does and when to use it, with natural quoted trigger phrases and a distinct visual-regression niche. Minor room for improvement: baseline management is absent from the capability list and a few natural synonyms (snapshot testing, Percy) are missing from the triggers.

DimensionReasoningScore

Specificity

Names the domain and several concrete capabilities — 'screenshot comparison, diff detection, and CI integration using Playwright or Chromatic' — matching anchor 4's 'several specific actions; minor gaps in coverage'. Not 5 because baseline capture and update management, a core step of the skill's own workflow, is not stated as a capability.

4 / 5

Completeness

Explicitly answers both questions with concrete trigger phrases: what — 'Implements visual regression testing with screenshot comparison, diff detection, and CI integration using Playwright or Chromatic', and when — 'Use when users request...'. This is exactly the top anchor's pattern; the anchor-4 example differs only by having a less explicit 'when' clause.

5 / 5

Trigger Term Quality

Five natural quoted triggers — "visual testing", "screenshot testing", "UI regression", "visual diff", "Chromatic setup" — give good keyword coverage users would actually say, matching anchor 4. Not 5 because natural synonyms like 'snapshot testing' and 'Percy' (a tool the body itself offers as an option) are missing.

4 / 5

Distinctiveness Conflict Risk

Clear niche (visual regression testing) with distinct, tool-specific triggers ('Chromatic setup', 'visual diff', 'UI regression') that would not naturally fire for unrelated skills. Not 4 because no closely related skill — generic screenshot capture, E2E testing, or CI setup — plausibly conflicts with these specific phrases.

5 / 5

Total

18

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/visual-regression-tester/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.