k-kohey/axe/inspect-view

Claude Code and agent skill by k-kohey/axe

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Inspect the view hierarchy of a running simulator app using axe view. Use when debugging layout issues, investigating view structure, or diagnosing UI problems in a running app.

Install

npx vskill@latest install k-kohey/axe/inspect-view

SKILL.md

View Hierarchy Inspector

Inspect the UIKit/SwiftUI view hierarchy of a running app to diagnose layout issues.

Steps

1. Identify the running app

If the user hasn't specified an app name, list running processes first:

bash
axe ps
2. Get the view hierarchy

Pass all user arguments directly to axe view:

bash
axe view $ARGUMENTS

Common invocation patterns:

  • Full tree: axe view --app MyApp
  • Frontmost only: axe view --app MyApp --frontmost
  • Limited depth: axe view --app MyApp --depth 3
  • Specific view detail: axe view 0x10150e5a0 --app MyApp --swiftui compact

Note: --swiftui (none/compact/full) is only valid in detail mode (when a 0x address is provided).

3. Analyze the hierarchy

Examine the view tree output (YAML format) and identify:

  • Unexpected nesting: Views wrapped in unnecessary containers
  • Frame issues: Zero-sized frames, overlapping views, off-screen elements
  • Constraint violations: Ambiguous layouts or conflicting constraints
  • Hidden views: Elements with isHidden: true or zero alpha
  • SwiftUI structure: Body composition and modifier chains (when using --swiftui)
4. Correlate with source code

If the user provides source file context, correlate the hierarchy nodes with the SwiftUI/UIKit source to pinpoint where issues originate.

5. Report findings

Present:

  1. A simplified view of the relevant hierarchy section
  2. Identified issues with their view addresses
  3. Suggested code changes to fix layout problems

Tips

  • Use --depth 3 to limit output for deeply nested hierarchies
  • Use --frontmost to focus on the visible view controller
  • In detail mode output, the SwiftUI tree can be large. Focus on the relevant section.

Prerequisites

Run this if the command fails because axe is not found::

bash
curl -fsSL https://raw.githubusercontent.com/k-kohey/axe/main/install.sh | sh

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
67
Repository forks
4
7-day trend score
21

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/k-kohey/axe/inspect-view/badge)](https://verified-skill.com/skills/k-kohey/axe/inspect-view)

Something wrong with this skill or its page? Tell us.