← ClaudeAtlas

cmp-inspectlisted

Inspect a running Kotlin/Compose Multiplatform UI as structured design data — hierarchy, geometry and resolved design tokens as JSON, never screenshots — via the cmp-inspector MCP tools. Use this when the user wants to "inspect the Compose UI", "read the design tokens", asks "why is this padding wrong", "check for token drift", "debug this layout without screenshots", "what colour/radius/spacing actually rendered", "did this UI change / regress", "audit this screen for accessibility", "what's on the screen right now", "check the real navigation state", "drive the running app", "tap the app and check", or "prove this UI change did what it should". Tier 0 renders headlessly; tier 1 connects to the RUNNING debug app (real data, real nav state). Asserts on STRUCTURE, not pixels. For a live gallery of every screen, use cmp-preview instead.
kvdm-co-pilot/create-cmp · ★ 0 · Web & Frontend · score 72
Install: claude install-skill kvdm-co-pilot/create-cmp
# cmp-inspect — read a live Compose UI as structured design data Your job: answer "what did this Compose screen actually render, and does it match the design system?" by inspecting **structured JSON** — hierarchy + geometry + resolved design tokens — **never a screenshot**. Screenshots burn tokens, degrade to pixel-guessing for colours/spacing, and can't read theme tokens at all. This skill drives the `cmp-inspector` MCP over a fixed JSON tree contract. ## Before any inspector call: confirm the capability (fail loud) The cmp-inspector MCP tools are a capability, not a given. Before your first call, confirm they resolve (ToolSearch for "cmp-inspector"). If no tools match, **STOP — do not fall back to screenshots, raw adb, or manual Gradle silently.** Diagnose in order and REPORT to the human: 1. **Plugin enabled?** Check `enabledPlugins` in `~/.claude/settings.json` (or the project's `.claude/settings.json`). 2. **Session older than the plugin's enablement?** MCP servers attach at session START — a session born without the plugin never gains its tools, and no amount of in-session retrying will surface them. The fix is restarting the session. 3. **Plugin copy stale or server broken?** Run cmp-doctor's inspector-MCP check group. Only after reporting may the documented degraded path be used — and the report must name what is lost: structured trees and change proofs replaced by pixels. > **No-pixels rule.** Do not screenshot the app to reason about layout, colour, o