Website responsive validation

From macalbert/envilder · View interactive version

Website responsive validation is an AI agent skill from the GitHub repository macalbert/envilder. Playwright-based visual validation procedure for Envilder website changes. Use when verifying responsiveness across mobile, tablet, and desktop breakpoints. Covers the validation workflow, viewport sizes, theme checking, and when to trigger validation.

How to use this skill

Skill file

Website Responsive Validation

Visual validation procedure using Playwright browser tools to verify every

website change is responsive and theme-compatible.

When to Use

Prerequisites

The Astro dev server must be running:

cd src/website && pnpm dev

Runs on http://localhost:4322/. Keep it running throughout the session.

If already running, reuse it.

Validation Breakpoints

| Breakpoint | Width × Height | What to check |

|------------|---------------|---------------|

| Mobile | 375 × 812 | Single column, readable text, no horizontal overflow |

| Tablet | 768 × 1024 | 2-column grids, proper spacing, no cramped elements |

| Desktop | 1440 × 900 | Full layout, max-width containment, proper alignment |

5-Step Validation Procedure

For each breakpoint:

  1. Resize the browser to the target viewport
  2. Navigate to the page being edited (or reload if already there)
  3. Take a snapshot: verify accessibility tree and element structure
  4. Take a screenshot: verify visual layout and styling
  5. Toggle theme: click the theme switcher and repeat snapshot + screenshot

to verify both retro and light themes

Playwright Tool Cheat Sheet

| Action | Tool | Example |

|--------|------|---------|

| Navigate to page | browser_navigate | http://localhost:4322/ |

| Resize viewport | browser_resize | { width: 375, height: 812 } |

| Accessibility snapshot | browser_snapshot | Verify structure & text |

| Visual screenshot | browser_take_screenshot | Verify layout & styling |

| Click element | browser_click | Toggle theme switcher |

| Full-page screenshot | browser_take_screenshot | { fullPage: true } |

Validation Triggers

| Change type | Validation scope |

|-------------|-----------------|

| New component | Full 3-breakpoint validation |

| CSS changes | Full 3-breakpoint validation |

| i18n changes | Navigate to each locale, verify text renders |

| Layout modifications | Full 3-breakpoint validation |

| Before completion | Final full validation pass |

Common Issues to Watch

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.