Summary
ACF's frontend-preview phase (5) is designed but untested. It claims to launch a dev server, navigate to affected routes, capture before/after screenshots, and produce a visual diff. None of this has been tested with real Playwright integration. We need to validate the frontend-preview phase on a real React/Vue/Svelte project.
Context
- Frontend-preview:
skills/05-frontend-preview/SKILL.md
- Roadmap:
docs/ROADMAP.md — Phase 2 (Beta) item
- Playwright MCP server is available (listed in CLAUDE.md)
- The skill references: Playwright, dev server, route detection from diff, screenshot capture
Motivation
Frontend-preview is ACF's most ambitious phase — it bridges code and visual output. In 30 years of building developer tools, visual diff tools have always been "6 months away" because they're genuinely hard:
- Route detection — parsing a diff to know which routes changed is non-trivial
- Dev server lifecycle — starting, reusing, and not killing the user's server
- Screenshot determinism — animations, lazy loading, and async data make screenshots flaky
- Visual diff — pixel comparison is noisy; semantic diff is hard
- Attachment — GitHub doesn't render images in PR bodies well; need to upload as assets
ACF's frontend-preview SKILL.md describes the ideal flow but doesn't solve these challenges. It says "navigate to route, screenshot before/after" — but how? With Playwright MCP? With a standalone script? What if the dev server is already running? What if the route requires auth?
We need to test this on a real project and document what works, what doesn't, and what needs to change in the skill.
Affected Files
skills/05-frontend-preview/SKILL.md — update based on test findings
.devin/skills/05-frontend-preview/SKILL.md — mirror
docs/ARCHITECTURE.md — update frontend-preview section
tests/frontend-preview/ (new) — test fixtures and scripts
Acceptance Criteria
Validation
- A PR with a frontend change has a visual diff attached
- The frontend-preview SKILL.md has concrete, tested instructions (not aspirational)
Complexity
Complex — visual diff tools are genuinely hard. This may reveal that frontend-preview needs to be split into multiple sub-skills or moved to a later phase.
Notes
- Consider using the Playwright MCP server (available in the environment) for the test.
- Consider using Playwright's screenshot comparison for the visual diff.
- If screenshot determinism is too hard, consider DOM diffing instead (more stable, less visual).
- This is a Phase 2 (Beta) issue — it validates an ambitious feature.
- If frontend-preview proves too hard for v1, mark it as experimental and focus on the other 7 phases.
Summary
ACF's frontend-preview phase (5) is designed but untested. It claims to launch a dev server, navigate to affected routes, capture before/after screenshots, and produce a visual diff. None of this has been tested with real Playwright integration. We need to validate the frontend-preview phase on a real React/Vue/Svelte project.
Context
skills/05-frontend-preview/SKILL.mddocs/ROADMAP.md— Phase 2 (Beta) itemMotivation
Frontend-preview is ACF's most ambitious phase — it bridges code and visual output. In 30 years of building developer tools, visual diff tools have always been "6 months away" because they're genuinely hard:
ACF's frontend-preview SKILL.md describes the ideal flow but doesn't solve these challenges. It says "navigate to route, screenshot before/after" — but how? With Playwright MCP? With a standalone script? What if the dev server is already running? What if the route requires auth?
We need to test this on a real project and document what works, what doesn't, and what needs to change in the skill.
Affected Files
skills/05-frontend-preview/SKILL.md— update based on test findings.devin/skills/05-frontend-preview/SKILL.md— mirrordocs/ARCHITECTURE.md— update frontend-preview sectiontests/frontend-preview/(new) — test fixtures and scriptsAcceptance Criteria
skills/05-frontend-preview/SKILL.mdupdated based on findings:Validation
Complexity
Complex — visual diff tools are genuinely hard. This may reveal that frontend-preview needs to be split into multiple sub-skills or moved to a later phase.
Notes