viewer-render
Skill by iopsystems
Renders the Rezolus viewer in a headless Chrome browser and reports what was drawn, including element geometry, computed colours, wrapping, truncated labels and console errors. It is for developers reviewing frontend changes under src/viewer/assets/.
Install viewer-render
Built from the published package, never by AI.
git clone --depth 1 https://github.com/iopsystems/rezolus /tmp/rezolus && mkdir -p ~/.claude/skills && cp -r /tmp/rezolus/.claude/skills/viewer-render ~/.claude/skills/viewer-renderRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/iopsystems/rezolus /tmp/rezolus && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/rezolus/.claude/skills/viewer-render ~/.gemini/antigravity-cli/skills/viewer-renderAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill renders the running Rezolus viewer in a real headless browser and asserts on the rendered output. It uses a script, scripts/viewer_render.mjs, built on puppeteer-core. The script prints a JSON block with tags, classes, computed colours, box geometry, child text and truncation, row tops, wrap state, console problems and failed requests. It also saves two PNG screenshots, one of the element and one of the top of the page.
The source says existing viewer tests cover pure frontend logic, API envelopes and compilation, but none of them see the rendered page. The skill is meant for changes that move pixels, such as navbar, badge or chart layout, CSS, responsive behaviour and themes. It also suits reviewing frontend work and checking pull requests that ask for a visual check.
Written from the project's SKILL.md and checked against it.
What it can do
- Render a selectorLoads the viewer in headless Chrome and captures a chosen element with --selector.
- Inspect child nodesReports text, tooltip, colour and truncation for child elements set with --children.
- Sweep widthsRenders at several viewport widths to find where content wraps onto more lines.
- Check both themesSets the light or dark theme attribute to compare colours in each theme.
- Report console and network problemsLists console problems and failed requests in the JSON output.
- Save screenshotsWrites a PNG of the element and a PNG of the top band of the page.
What you need
- Node.js with npm to install puppeteer-core
- Chrome or Chromium already installed on the machine
- Rust and cargo to build the rezolus binary with developer-mode
Try asking
- Render the .compare-badge element and check its child label truncation.
- Sweep the navbar at widths 1440 down to 820 and report where it wraps.
- Check the chart layout in light and dark themes and list console errors.
Good to know
- Drives the rezolus view server only, not the WASM static viewer.
- Does not yet cover hover, click, drag or dropdown interaction.
- Stores no pixel baseline images, so regression checks rely on the JSON facts.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/viewer-render/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to viewer-render
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
viewer-render: common questions
Why does the skill render the page instead of relying on the existing tests?
The source says the logic tests have no DOM and the smoke tests only check API envelopes, so neither can see the rendered page. This skill renders the page in Chrome and reports what was drawn.
Why must the binary be built with developer-mode?
The source says the binary embeds the viewer assets at compile time. Without the developer-mode feature, the render can show an old frontend instead of the current source.
Does the skill keep screenshot baselines for comparison?
No. The source says no baseline images are stored on purpose, because they go stale. The JSON facts are described as the durable assertion.
How do I install viewer-render?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is viewer-render free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is viewer-render safe to use?
It scores 67 of 100. Grades: maintenance A, licence F, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to viewer-render?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
