From axe-preview
Inspects UIKit/SwiftUI view hierarchies in running iOS simulator apps using axe to diagnose layout issues like unexpected nesting, frame problems, hidden views, and constraint violations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/axe-preview:inspect-viewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Inspect the UIKit/SwiftUI view hierarchy of a running app to diagnose layout issues.
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
npx claudepluginhub k-kohey/axe --plugin axe-previewDebugs iOS app issues in simulator via structured loop: captures screenshots/logs with ios-simulator/XcodeBuildMCP, analyzes problems, proposes specific fixes, confirms with user, rebuilds, and verifies changes.
Captures SwiftUI preview screenshots and reviews UI/UX for layout, spacing, HIG compliance, accessibility, typography, color contrast, and consistency. Use for UI feedback or View design reviews.
Build, launch, and visually test iOS/SwiftUI apps in the Simulator using computer use. Automated screen navigation, crash log analysis, state testing (empty/error/loading), and memory leak detection. Use when you need to test an iOS app, run it in the Simulator, check for crashes, or verify UI flows.