mastra-ai

e2e-frontend-validation

@mastra-ai/e2e-frontend-validation
mastra-ai
19,358
1421 forks
Updated 1/18/2026
View on GitHub

E2E validation workflow for frontend changes in playground packages using Playwright MCP

Installation

$skills install @mastra-ai/e2e-frontend-validation
Claude Code
Cursor
Copilot
Codex
Antigravity

Details

Path.claude/skills/e2e-frontend-validation/SKILL.md
Branchmain
Scoped Name@mastra-ai/e2e-frontend-validation

Usage

After installing, this skill will be available to your AI coding assistant.

Verify installation:

skills list

Skill Instructions


name: e2e-frontend-validation description: E2E validation workflow for frontend changes in playground packages using Playwright MCP model: claude-opus-4-5

E2E Validation for Frontend Modifications

Prerequisites

Requires Playwright MCP server. If the browser_navigate tool is unavailable, instruct the user to add it:

claude mcp add playwright -- npx @playwright/mcp@latest

Validation Steps

After completing frontend changes:

  1. Build the CLI
pnpm build:cli
  1. Start the dev server
cd examples/agent && node ../../packages/cli/dist/index.js dev
  1. Verify server is running

  2. Identify impacted routes

    • Routes are defined in packages/playground/src/App.tsx
    • Browse them ALL to verify behavior
  3. Test with Playwright MCP

    • Use browser_navigate to visit each impacted route
    • Visually verify the changes render correctly
    • Test any interactive elements modified
    • Use browser_screenshot to capture results for the user

Quick Reference

StepCommand/Action
Buildpnpm build:cli
Startcd examples/agent && node ../../packages/cli/dist/index.js dev
App URLhttp://localhost:4111
Routes@packages/playground/src/App.tsx