Doncheli visual test

From doncheli/don-cheli-sdd · View interactive version

Doncheli visual test is an AI agent skill from the GitHub repository doncheli/don-cheli-sdd. Run visual regression tests by comparing UI screenshots against baselines. Activate when user mentions "visual test", "screenshot", "UI regression", "visual diff", "pixel diff", "visual snapshot".

How to use this skill

Skill file

Don Cheli: Visual Test

Instructions

  1. Detect the visual testing tool in use: Playwright, Cypress, Percy, Chromatic, Storybook, or custom
  2. Run the visual test suite and capture screenshots of the current state
  3. Compare against the stored baseline snapshots
  4. Report each visual difference:
  1. Classify severity:
  1. For new snapshots (no baseline exists), prompt the user to approve them as the new baseline
  2. Never auto-approve baselines — always require explicit human confirmation
  3. Generate a visual diff report with image paths or URLs if available
  4. Save report to .dc/visual-test-report-<timestamp>.md

Output Format

## Visual Test Report — 2026-03-28T15:00Z

### Summary
- Compared: 24 snapshots
- Passed:   21
- Diffs:     3 (1 blocker, 2 warnings)

### Blocker 🔴
- CheckoutPage/desktop — 12.3% diff
  Category: layout shift — payment form moved 40px down
  Baseline: .visual/baselines/checkout-desktop.png
  Current:  .visual/current/checkout-desktop.png

### Warnings 🟡
- Button/primary — 2.1% diff — color shift (likely theme variable change)
- NavBar/mobile — 1.8% diff — font rendering difference (check font loading)

### New Snapshots (approval required)
- VoiceModal/desktop — no baseline found — run with --approve to set baseline
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.