/axe-preview:inspect-view [--app <name>] [0xADDRESS] [--frontmost] [--depth N]from axe-preview
Inspects the UIKit/SwiftUI view hierarchy of a running iOS simulator app using axe view. Helps debug layout issues, view structure, and UI problems.
Ships in axe-preview. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Inspect the UIKit/SwiftUI view hierarchy of a running app to diagnose layout issues.
If the user hasn't specified an app name, list running processes first:
axe ps
Pass all user arguments directly to axe view:
axe view $ARGUMENTS
Common invocation patterns:
axe view --app MyAppaxe view --app MyApp --frontmostaxe view --app MyApp --depth 3axe view 0x10150e5a0 --app MyApp --swiftui compactNote: --swiftui (none/compact/full) is only valid in detail mode (when a 0x address is provided).
Examine the view tree output (YAML format) and identify:
isHidden: true or zero alpha--swiftui)If the user provides source file context, correlate the hierarchy nodes with the SwiftUI/UIKit source to pinpoint where issues originate.
Present:
--depth 3 to limit output for deeply nested hierarchies--frontmost to focus on the visible view controllerRun this if the command fails because axe is not found::
curl -fsSL https://raw.githubusercontent.com/k-kohey/axe/main/install.sh | sh
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
view-hierarchy, ios-debugging, layout-inspection, uikit, swiftui
npx claudepluginhub k-kohey/axe --plugin axe-preview5 skills in this plugin
/fix-uiIteratively fix a SwiftUI View to match a design image. Captures previews with axe, compares against the target design, and modifies the code until the UI matches. Use when the user provides a design image and wants the View adjusted to match it./previewCapture a SwiftUI preview screenshot using axe CLI. Use when the user wants to see the current appearance of a SwiftUI View, check layout, or verify changes visually./preview-reportCapture previews of multiple SwiftUI files and generate a visual report. Use when the user wants to see all previews at once, create PR documentation, or batch-check UI across files./ui-reviewCapture 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.Other plugins' skills for the same job