Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

pixel-test

Skill by chromium

Creates or updates a Chromium desktop pixel test, up to the point of human Skia Gold triage. It is for Chromium developers adding visual-regression coverage to dialogs, menus, toolbars or WebUI surfaces, and for fixing pixel tests that fail after a UI change.

  • Score 89
  • 25k stars
  • BSD-3-Clause
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install pixel-test

Built from the published package, never by AI.

git clone --depth 1 https://github.com/chromium/chromium /tmp/chromium && mkdir -p ~/.claude/skills && cp -r /tmp/chromium/agents/skills/pixel-test ~/.claude/skills/pixel-test

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install pixel-test in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides a developer through creating or updating a Chromium desktop pixel test. It covers writing a Screenshot step with Kombucha or an InvokeUi_ test with DialogBrowserTest, choosing a stable surface, and registering the test in pixel_tests.filter. It also covers the baseline_cl two-upload sequence, local sanity capture, and bumping baselines after intentional UI changes.

The skill stops before human Skia Gold triage. It explains what tryjobs do and do not verify, and it states that approving or rejecting goldens is a human action in the Gold web UI. It is aimed at Chromium developers adding visual-regression coverage for a dialog, bubble, menu, toolbar region or WebUI surface, or fixing a pixel test that fails after a UI change.

Written from the project's SKILL.md and checked against it.

What it can do

  • Write the Screenshot captureAdds a Kombucha Screenshot, ScreenshotSurface or ScreenshotWebUi step to a browser test.
  • Write a DialogBrowserTest captureCovers the legacy InvokeUi_ test pattern for DialogBrowserTest and UiBrowserTest.
  • Choose a stable surfaceExplains which UI surfaces are deterministic enough for pixel tests and which to avoid.
  • Register in pixel_tests.filterAdds a suite or test pattern to the allowlist that the pixel jobs consume.
  • Verify the filter patternRuns the test through the launcher with the filter file to confirm it matches.
  • Local sanity captureRuns the test locally with flags that write PNG output to a directory for a visual check.
  • baseline_cl upload sequenceGuides the two-upload process that sets the baseline CL number after the CL exists.
  • Check tryjob coverageChecks whether tests.star bypasses Skia Gold and tells the developer what tryjobs verify.
  • Bump baselinesDescribes updating baseline_cl after a deliberate UI change that breaks a pixel test.

What you need

  • A Chromium source checkout with a built browser_tests target
  • Windows or Linux for local pixel capture
  • Access to the Skia Gold web UI for human triage

Try asking

  • Add a pixel test for my new settings dialog in Chromium
  • Register my pixel test in pixel_tests.filter and check the pattern matches
  • Walk me through the baseline_cl two-upload sequence for my CL

Good to know

  • Pixel jobs currently run only on Windows bots.
  • Screenshot cannot capture on macOS; with kIgnoreAndContinue the step is skipped there.
  • While the Gold bypass is present in tests.star, tryjobs do not compare images against Gold.
  • Approving a new or changed golden is a human decision in Skia Gold and is not done by the skill.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: agents/skills/pixel-test/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • OWNERS61 B
  • SKILL.md14 KB

Alternatives to pixel-test

All alternatives →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

pixel-test: common questions

What does the pixel-test skill stop at?

It stops before human Skia Gold triage. Approving a new or changed golden is a human action in the Gold web UI.

Which UI surfaces suit a Chromium pixel test?

The source recommends deterministic surfaces such as dialogs, bubbles and menus with fixed strings. It advises against surfaces showing dates, animations, network favicons or live web content.

Why does baseline_cl need two uploads?

The CL number that introduces the image does not exist until the first upload, so the placeholder must be replaced with the real number and uploaded again.

How do I install pixel-test?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is pixel-test free?

The code is published under the BSD-3-Clause licence. The service it connects to may have its own pricing.

Is pixel-test safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. 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 pixel-test?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

pixel-test Install

Add to stack

Loading.