ui-review
Skill by woocommerce
Generates screenshot coverage for Compose screens affected by the current diff or a named target, then builds a compact HTML visual report. It is for Android developers working on WooCommerce's Compose UI.
Install ui-review
Built from the published package, never by AI.
git clone --depth 1 https://github.com/woocommerce/woocommerce-android /tmp/woocommerce-android && mkdir -p ~/.claude/skills && cp -r /tmp/woocommerce-android/.agents/skills/ui-review ~/.claude/skills/ui-reviewRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/woocommerce/woocommerce-android /tmp/woocommerce-android && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/woocommerce-android/.agents/skills/ui-review ~/.gemini/antigravity-cli/skills/ui-reviewAntigravity 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 reviews the Compose screens affected by the current git diff, or by a Compose name, class name, or file name the user provides. It traces the starting point up to screen-level composables and prefers existing screen previews. When coverage is missing, it creates temporary screenshot previews in UiReviewTemp.kt, with one explicit preview per variant such as Light, Dark, Large Font, RTL, and Landscape.
The skill runs the Android screenshot generation task, then writes a fixed report to WooCommerce/build/reports/ui-review/index.html. The report lists issues first, such as clipped text, overlap, or RTL mirroring problems. It is aimed at Android developers reviewing Compose UI changes in the WooCommerce app. Non-Compose screens are rejected, and temporary files are deleted after the run.
Written from the project's SKILL.md and checked against it.
What it can do
- Diff modeUses the current diff to find affected Compose code and trace it to screen previews.
- Target modeStarts from a Compose name, class name, or file name the user provides instead of the diff.
- Temporary screenshot previewsCreates single-variation previews in UiReviewTemp.kt only when existing coverage is missing.
- Visual variationsChecks Light, Dark, Large Font, Landscape, and RTL conditions where practical.
- Data variationsAdds long string, null data, and empty list previews only when the screen has matching inputs.
- Visual issue analysisLooks for clipping, overlap, spacing breaks, poor contrast, and RTL or landscape problems.
- HTML visual reportWrites a fixed report with issue cards and copied screenshots to the ui-review build folder.
- CleanupDeletes temporary preview files and raw screenshot artifacts after the report is built.
What you need
- A WooCommerce Android project with Gradle
- Compose Preview Screenshot Testing set up in the WooCommerce module
- Git, for reading the current diff
Try asking
- Review the UI changes in my current diff with ui-review
- Run ui-review on the CheckoutScreen composable
- Check the ProductCard preview for RTL and large font issues
Good to know
- Supports Compose UI only; Fragments, XML, custom Views, and non-Compose RecyclerView screens are rejected.
- Does not change preview annotations in the main source set.
- Screenshot generation must not run in the background.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/ui-review/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to ui-review
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
ui-review: common questions
Does ui-review support XML or Fragment screens?
No. The skill stops and reports that non-Compose targets are not supported, and it does not convert them to Compose.
Where is the ui-review report saved?
The final report is written to WooCommerce/build/reports/ui-review/index.html, with screenshots in an assets folder next to it.
Are the temporary preview files kept?
No. The skill deletes temporary preview source files and raw screenshot artifacts before it finishes.
How do I install ui-review?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is ui-review free?
The code is published under the GPL-2.0 licence. The service it connects to may have its own pricing.
Is ui-review safe to use?
It scores 70 of 100. Grades: maintenance A, licence C, 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 ui-review?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
