Compose Ai Tools
CLI tool to render Jetpack Compose previews as PNGs for AI coding agents.
yschimke · 已有 AI 审核记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add yschimke/compose-ai-tools技能说明
compose-ai-tools
See your Compose UI without opening Android Studio.
compose-ai-tools renders your @Preview composables to PNG from the
command line — so your AI coding agent can actually look at the screen it
just changed, and so can you. Works with Jetpack Compose (Android, via
Robolectric) and Compose Multiplatform Desktop (via ImageComposeScene).
That's the whole idea. Everything else on this page is optional.
📖 Documentation · Install · Reference
Get started
Pick the one that fits you. Each is a single step.
🤖 With an AI coding agent
Run the one-line installer once. It drops the compose-preview CLI and
the agent skill into place (Claude Code, Codex, Gemini):
curl -fsSL https://raw.githubusercontent.com/yschimke/skills/main/scripts/install.sh | bash
Then just ask your agent to preview a composable. The
compose-preview skill
is the playbook — it tells the agent how to render, iterate, and check its own
work. You don't have to learn the commands; the agent reads the skill. (If
your agent can fetch URLs but not run the installer, point it straight at the
SKILL.md
— it bootstraps the CLI itself.)
🧩 In VS Code (or Cursor / Windsurf / VSCodium)
Open the Extensions view (⇧⌘X / Ctrl+Shift+X), search Compose Preview, click Install. It renders previews inline and needs no project changes. (Marketplace · Open VSX)
⌨️ From the command line
Install the CLI (same one-liner as above), then point it at any Compose project — no build edits required: