LightState Registry / Verified X Builder Use Cases / Engineering & DevOps / visual-regression-ci-pipeline
⚡ Pulse Score 93/100
Automated Multi-Viewport Visual Regression & Overflow Gate on Every PR
Runs Playwright and Visual Sentinel MCP against preview deployments on every pull request to block CSS overflow, z-index collisions, and dark-mode regressi
⚡ 1-Click Agent & Developer Install
Zero Auth · Ready for Grok Bot, Claude Code & Cursornpx lightstate inspect visual-regression-ci-pipeline
Copy-Paste System Prompt / Routine Blueprint:
Implement the 'Automated Multi-Viewport Visual Regression & Overflow Gate on Every PR' workflow curated with @iraiansar.
1. OBJECTIVE:
Runs Playwright and Visual Sentinel MCP against preview deployments on every pull request to block CSS overflow, z-index collisions, and dark-mode regressions.
2. CONNECTED TOOL STACK:
Visual Sentinel MCP, Playwright MCP, GitHub Actions, Cloudflare Pages
3. STEP-BY-STEP EXECUTION LOOP:
- Step A (Ingest & Ground): Query live inputs from Visual Sentinel MCP and cross-reference state in Playwright MCP.
- Step B (Analyze & Validate): Apply strict filtering rules, verify schema/policy constraints, and flag any anomalies or missing fields.
- Step C (Stage & Report): Prepare the structured output, draft replies/tickets in Cloudflare Pages, and request human confirmation before executing any external send or production write.
Synthesized Engineering Blueprint & Setup Guide
### 1. The Workflow Bottleneck & Problem Statement
AI coding agents frequently ship functional backend logic while introducing subtle mobile horizontal scrollbars, clipped badges, or broken dark-mode contrast.
### 2. Synthesized Agent Architecture & Connected Stack
**Automated Multi-Viewport Visual Regression & Overflow Gate on Every PR** (`visual-regression-ci-pipeline`) is a verified production blueprint curated from **@iraiansar**'s real-world implementation.
- **Primary Capability:** Runs Playwright and Visual Sentinel MCP against preview deployments on every pull request to block CSS overflow, z-index collisions, and dark-mode regressions.
- **Connected Tool Stack:** Visual Sentinel MCP, Playwright MCP, GitHub Actions, Cloudflare Pages
- **Execution Governance:** `Read-Only Discovery` → `Deterministic Policy Check` → `Ask-First Human Approval`
- **Certified Builder Source:** [@iraiansar](https://github.com/iraiansar/visual-sentinel)
### 3. Step-by-Step Implementation Blueprint
1. **Trigger & Data Ingestion:** Configure your agent routine to watch **Visual Sentinel MCP** on a scheduled cadence or event webhook. Treat all external text as untrusted data inside XML fences.
2. **Cross-System Enrichment & Verification:** Query **Playwright MCP** to validate live capacity, account status, or code state before generating recommendations.
3. **Human-in-the-Loop Action Staging:** Post a structured summary card to **Cloudflare Pages** with 1-click approve/edit controls so your team retains full oversight.
### 4. Copy-Paste System Prompt & Routine Configuration
```text
Implement the 'Automated Multi-Viewport Visual Regression & Overflow Gate on Every PR' workflow curated with @iraiansar.
1. OBJECTIVE:
Runs Playwright and Visual Sentinel MCP against preview deployments on every pull request to block CSS overflow, z-index collisions, and dark-mode regressions.
2. CONNECTED TOOL STACK:
Visual Sentinel MCP, Playwright MCP, GitHub Actions, Cloudflare Pages
3. STEP-BY-STEP EXECUTION LOOP:
- Step A (Ingest & Ground): Query live inputs from Visual Sentinel MCP and cross-reference state in Playwright MCP.
- Step B (Analyze & Validate): Apply strict filtering rules, verify schema/policy constraints, and flag any anomalies or missing fields.
- Step C (Stage & Report): Prepare the structured output, draft replies/tickets in Cloudflare Pages, and request human confirmation before executing any external send or production write.
```
### 5. Measured ROI & Production Impact
- **Verified Outcome:** Catches 100% of mobile viewport overflow and contrast regressions before merge.
- **Builder Portfolio:** [Explore all capabilities by @iraiansar →](/u/iraiansar)
Tags: #visual-regression-ci-pipeline#use-case#engineering#iraiansar#visual-sentinel-mcp#playwright-mcp
✓ CERTIFIED X BUILDER PORTFOLIO
More Capabilities Curated from @iraiansar
Related Verified Capabilities
Explore Engineering & DevOps → MCP Server ★ Featured Partner ✓ Claimed
⚡ 98
Grok Template ✓ Claimed
⚡ 97
Dr. Eggbot — Meta-Agent Architect & Bot Builder
MCP Server ✓ Claimed
⚡ 89
Visual Sentinel MCP — Automated UI Pixel-Diff & Layout QA Server
MCP Server ✓ Claimed
⚡ 88
Cloudflare Official MCP — Workers, D1, R2, KV & Observability
Use Case
⚡ 95