# UI review

> UI review is an open-source agent skill for developer tools. Captures a SwiftUI preview and reviews its layout, HIG fit and accessibility. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/k-kohey/axe/tree/main/claude-plugin/skills/ui-review
- **Repository:** https://github.com/k-kohey/axe
- **GitHub stars:** 102
- **License:** MIT
- **Skill name:** ui-review
- **Collection:** https://github.com/k-kohey/axe
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill has the agent render a SwiftUI preview to a screenshot using the axe command line tool, then read the image alongside the View's source code. It checks the result against layout and spacing, typography, color and contrast, Apple Human Interface Guidelines conventions, and accessibility concerns such as Dynamic Type and VoiceOver labels.

The review is reported in three tiers: issues that should be fixed, suggestions for improvement, and aspects that are already well implemented. Each finding points to a specific line in the source with a concrete fix. If a file has several #Preview blocks, the skill describes falling back to capturing each one separately.

It expects a Swift file path or a View name that can be located in the project, and the axe tool installed. When axe is missing, the skill includes an install script command. It is built for Claude Code and runs with shell, file read and search permissions.

## When your agent uses it

> Capture a SwiftUI preview and review its UI/UX quality. Checks layout, spacing, HIG compliance, accessibility, and visual consistency. Use when the user asks for UI feedback or wants a design review of a View.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/k-kohey/axe/tree/HEAD/claude-plugin/skills/ui-review)
- [Asks for: Bash(axe *), Bash(cat *), Read, Glob, Grep](https://github.com/k-kohey/axe/blob/HEAD/claude-plugin/skills/ui-review/SKILL.md)
- [License: MIT](https://github.com/k-kohey/axe/tree/HEAD/claude-plugin/skills/ui-review)

## Features

- **Preview screenshot capture:** Renders a SwiftUI preview to an image using axe, waiting for rendering to finish and retrying on failure.
- **Layout and spacing checks:** Looks for consistent padding, alignment, clipped content and spacing between elements.
- **Typography review:** Checks font sizes, weight hierarchy and how truncated text is handled.
- **Color and contrast review:** Assesses text contrast and whether colors are semantic or hardcoded for Dark Mode.
- **HIG compliance checks:** Compares navigation, system components, touch target sizes and safe areas with Apple guidelines.
- **Accessibility source audit:** Looks for Dynamic Type use, VoiceOver labels and hints, and color-only indicators in code.

## Good for

- Review the design of a SwiftUI screen for layout problems
- Get UI feedback on a View before shipping
- Check a SwiftUI view for accessibility gaps
- Audit a SwiftUI view for Apple HIG conventions
- Compare the rendered preview with the source for spacing issues

## Install

### Claude Code

This skill ships in the `axe-preview` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add k-kohey/axe
/plugin install axe-preview@axe
```

Or copy only this skill to `~/.claude/skills/ui-review`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k-kohey/axe.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ui-review &&
cp -R "$tmp/claude-plugin/skills/ui-review" ~/.claude/skills/ui-review &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ui-review` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ui-review` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k-kohey/axe.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ui-review &&
cp -R "$tmp/claude-plugin/skills/ui-review" ~/.agents/skills/ui-review &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ui-review` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ui-review` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k-kohey/axe.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ui-review &&
cp -R "$tmp/claude-plugin/skills/ui-review" ~/.cursor/skills/ui-review &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ui-review` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/k-kohey/axe.git --path claude-plugin/skills/ui-review
```

Or copy the folder to `~/.gemini/skills/ui-review` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ui-review`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/k-kohey/axe.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ui-review &&
cp -R "$tmp/claude-plugin/skills/ui-review" ~/.copilot/skills/ui-review &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ui-review` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/k-kohey/axe.git
```

Then copy `axe/claude-plugin/skills/ui-review` into your agent's skills folder as `ui-review`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What do I need to run UI review?

The axe command line tool must be installed, and the skill is meant for Claude Code. The listing includes an install command for axe that runs if the tool is not found.

### What does UI review change in my project?

The skill captures preview images and reads source files. Its listed tool permissions cover shell commands, reading files, and searching with Glob and Grep, and the content does not describe edits to the code.

### What if my file has more than one preview?

The skill says that capturing to a single output file fails with multiple #Preview blocks, so it can capture to a directory or render each preview by title or index.

### When does the skill trigger?

It is meant for requests for UI feedback or a design review of a SwiftUI View.

### How do I install UI review in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ui-review to use it in all your projects, or to .claude/skills/ui-review in one project. Or install the axe-preview plugin, which includes it: /plugin marketplace add k-kohey/axe, then /plugin install axe-preview@axe.

### Does UI review run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use UI review?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to UI review?

The closest alternatives to UI review are Fix UI, Preview report, Preview, Mac design and Build swiftui interface.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Fix UI](https://ai-powered.com/skills/fix-ui): Fix UI is an open-source agent skill for developer tools.
- [Preview report](https://ai-powered.com/skills/preview-report): Preview report is an open-source agent skill for developer tools.
- [Preview](https://ai-powered.com/skills/preview): Preview is an open-source agent skill for developer tools.
- [Mac design](https://ai-powered.com/skills/mac-design): Mac design is an open-source agent skill for developer tools.
- [Build swiftui interface](https://ai-powered.com/skills/build-swiftui-interface): Build swiftui interface is an open-source agent skill for developer tools.
- [Build and verify](https://ai-powered.com/skills/build-and-verify): Build and verify is an open-source agent skill for developer tools.
- [Inspect view](https://ai-powered.com/skills/inspect-view): Inspect view is an open-source agent skill for developer tools.
- [Web design reviewer](https://ai-powered.com/skills/web-design-reviewer): Web design reviewer is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/ui-review
