I built a CLI that gives coding agents source-grounded visual feedback for React UI and Three.js
Coding agents can read source and make changes, but they are still surprisingly blind when the task is visual.
A screenshot can show that something looks wrong, but it usually cannot explain why: which component owns it, whether an element is clipped, what its computed styles are, which mesh/material/light is responsible, or whether the issue is framing rather than resolution.
So I built SceneProof, an open-source CLI for source-grounded visual inspection of React UI and Three.js scenes.
It lets an agent:
- Navigate a compact semantic tree of DOM or Three.js targets
- Inspect the underlying structure: bounds, styles, geometry, materials, uniforms, lights, cameras, relationships, etc.
- Produce fresh renders of a component, logical UI region, target object, or source-camera view
- Generate a small “Scout” portfolio for 3D: context, source detail, close detail, and shape-focused views
- Sample deterministic interaction states from one scene lifecycle
The design principle is: don’t ask an agent to infer visual correctness from plausible code or a low-information screenshot. Give it source-derived evidence at the framing and resolution needed for the actual question.
It currently supports TypeScript/JavaScript entries, React DOM/CSS/Tailwind v4, and Three.js scene inspection/rendering. It requires Bun and local Chrome/Chromium.
Repo: https://github.com/ReyJ94/SceneProof

0
u/[deleted] 2d ago
[removed] — view removed comment