live-preview

Capture UI component screenshots during build to detect visual regressions.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/special-place-administrator/citadel_codex --skill live-preview
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: live-preview
Source: https://github.com/special-place-administrator/citadel_codex/tree/main/skills/live-preview
Command: npx skills add https://github.com/special-place-administrator/citadel_codex --skill live-preview

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Mid-build visual verification loop. Takes screenshots of components during construction, not just after. Catches visual regressions and invisible features before they compound. Playwright is an optional dependency (graceful skip if not installed).

Core Features & Use Cases

  • Screenshots during build to verify visuals rather than relying on post-build checks
  • Graceful fallback if Playwright or screenshot tools are unavailable
  • Early detection of UI regressions in component libraries and design systems

Quick Start

Run a visual verification pass to capture and validate component rendering during build.

Frequently Asked Questions about live-preview

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I catch visual regressions during the build process?

Catch visual regressions during the build process by capturing screenshots of UI components mid-build, validating rendering across changes before they compound. This approach shifts verification earlier than post-build checks, detecting invisible UI features immediately.

What is mid-build visual verification for component libraries?

Mid-build visual verification for component libraries is the process of capturing UI screenshots during construction to validate rendering. It catches visual regressions early in design systems, preventing compounding errors before pipeline completion.

Do I need Playwright installed to capture UI screenshots during build?

You do not need Playwright installed to capture UI screenshots during build, as it is an optional dependency. The visual verification process gracefully skips screenshot capture if Playwright or alternative screenshot tools are unavailable in your environment.

Can I validate responsive rendering states in CI pipelines using screenshots?

You can validate responsive rendering states in CI pipelines by capturing screenshots of UI components during the build. This verifies visual output across different themes and responsive views, ensuring visual regressions are caught before deployment.

What happens if a screenshot tool is missing during visual verification?

If a screenshot tool is missing during visual verification, the process gracefully skips screenshot capture rather than failing the build. This ensures your CI pipeline continues executing without hard dependencies on Playwright or specific screenshot utilities.

How does live-preview compare to post-build visual regression checks?

Live-preview differs from post-build visual regression checks by capturing screenshots during the build phase rather than afterward. This early detection loop catches invisible UI features and visual regressions before they compound across component libraries.