[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DE239T4FDZGE7ZSBP7TH0C":3,"skill-same:01M7DE239T4FDZGE7ZSBP7TH0C":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M7DE239T4FDZGE7ZSBP7TH0C","compose-preview-setup",null,"Run right after the compose-preview plugin is installed, or when a render fails because the CLI is missing or the project is \"not prepared\". Checks the compose-preview CLI, prepares the current Gradle project once, and renders one preview so the person sees it working.","yschimke\u002Fcompose-agent-plugins","yschimke","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F231923?v=4","01M7DDZCAXN3CGX42M2Z9SERQW","Yuri Schimke","01M7DDZCBY6EH89SNKP7R68FJF",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fyschimke\u002Fcompose-agent-plugins\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fcompose-preview-setup\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: compose-preview-setup\ndescription: Run right after the compose-preview plugin is installed, or when a render fails because the CLI is missing or the project is \"not prepared\". Checks the compose-preview CLI, prepares the current Gradle project once, and renders one preview so the person sees it working.\n---\n\n# Set up Compose Preview\n\nThis is the plugin's onboarding skill. Keep it short: a few commands, then one render. Report\neach step in one line. Do not grep the source first. Open by pointing the person at\n\u003Chttps:\u002F\u002Fpreview.coo.ee\u002Fstart\u002F>.\n\nThis plugin ships the `compose-preview` and `compose-ui-builder` skills and both MCP servers\n(the local `compose-preview-mcp` and the hosted `compose-preview-catalog`), so there is nothing\nelse to install.\n\n**Only the UI Builder or the library catalogs?** If the CLI or Java is missing and the person\nonly wants to design in the UI Builder or browse the Material 3 and Wear catalogs, don't push a\nJDK install: the hosted `compose-preview-catalog` server in this plugin already works. Call its\n`catalog_list_projects` once to show it, and stop.\n\n1. **CLI.** Run `compose-preview --version`.\n   - If it is missing, tell the person and offer the installer. Run it only once they agree:\n     `curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fyschimke\u002Fskills\u002Fmain\u002Fscripts\u002Finstall.sh | bash -s -- --cli-only`\n     Then rerun `compose-preview --version`. If it is still not found, say a new terminal or\n     restart of the app is needed, and stop here.\n   - It needs Java 17 or newer. If the version check reports a Java error, say so and stop.\n2. **Project.** Only if the workspace root has `settings.gradle.kts`, `settings.gradle` or\n   `gradlew`; otherwise say there is no Gradle project open and stop after step 1.\n   - Run `compose-preview mcp doctor --json` and read `verdict`.\n   - If the verdict is not `ok`, prepare the project once:\n     `compose-preview mcp install --no-claude --no-codex --no-antigravity --no-opencode --no-plugin-hint`\n     The flags matter: this plugin already provides the MCP server, so `mcp install` must only\n     prepare the project, never register a second global server.\n   - \"SDK location not found\" means `ANDROID_HOME` or `sdk.dir` in `local.properties` is\n     missing. Say which, and stop.\n3. **First render.** Pick one preview function name: one the person named, or, since nobody has\n   yet, one found with a single search for `@Preview` in `*.kt` files (prefer a name ending in\n   `Preview` near the app's main screen). Call `render_preview` with `preview` set to that name and\n   `project` set to the workspace's absolute path. The local server has no `list_previews` tool; if\n   the name misses, its error lists the `Closest` matches, so retry once with the right one. A\n   `pending` result means the project is still starting: call again with the same arguments. Look\n   at the image and describe it in one or two lines. A failed render is reported as failed, with\n   its error text.\n4. **Close** with one line: ask for any preview by name (\"render the `ListScreenPreview`\"); in\n   Antigravity, [Compose Preview](sidecar:\u002F\u002Fcompose-preview\u002Fcompose-preview\u002F) opens the Auxiliary\n   Pane gallery, local UI Builder and live app simulator. Then, only after a successful render,\n   at most three \"what next\" bullets:\n   - PR previews in CI: the optional `compose-review` plugin\n     (`\u002Fplugin install compose-review@compose-agent-plugins` in Claude Code) sets up CI that\n     posts before\u002Fafter renders on pull requests.\n   - Designing a new screen: \u003Chttps:\u002F\u002Fui.coo.ee\u002Fstart>.\n   - Browsing every preview yourself: `compose-preview browse`, or the VS Code extension.\n\nNever edit build files by hand, never run `.\u002Fgradlew clean`, and never hand-build a mock of a\nrender.\n","# Set up Compose Preview\n\nThis is the plugin's onboarding skill. Keep it short: a few commands, then one render. Report\neach step in one line. Do not grep the source first. Open by pointing the person at\n\u003Chttps:\u002F\u002Fpreview.coo.ee\u002Fstart\u002F>.\n\nThis plugin ships the `compose-preview` and `compose-ui-builder` skills and both MCP servers\n(the local `compose-preview-mcp` and the hosted `compose-preview-catalog`), so there is nothing\nelse to install.\n\n**Only the UI Builder or the library catalogs?** If the CLI or Java is missing and the person\nonly wants to design in the UI Builder or browse the Material 3 and Wear catalogs, don't push a\nJDK install: the hosted `compose-preview-catalog` server in this plugin already works. Call its\n`catalog_list_projects` once to show it, and stop.\n\n1. **CLI.** Run `compose-preview --version`.\n   - If it is missing, tell the person and offer the installer. Run it only once they agree:\n     `curl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002Fyschimke\u002Fskills\u002Fmain\u002Fscripts\u002Finstall.sh | bash -s -- --cli-only`\n     Then rerun `compose-preview --version`. If it is still not found, say a new terminal or\n     restart of the app is needed, and stop here.\n   - It needs Java 17 or newer. If the version check reports a Java error, say so and stop.\n2. **Project.** Only if the workspace root has `settings.gradle.kts`, `settings.gradle` or\n   `gradlew`; otherwise say there is no Gradle project open and stop after step 1.\n   - Run `compose-preview mcp doctor --json` and read `verdict`.\n   - If the verdict is not `ok`, prepare the project once:\n     `compose-preview mcp install --no-claude --no-codex --no-antigravity --no-opencode --no-plugin-hint`\n     The flags matter: this plugin already provides the MCP server, so `mcp install` must only\n     prepare the project, never register a second global server.\n   - \"SDK location not found\" means `ANDROID_HOME` or `sdk.dir` in `local.properties` is\n     missing. Say which, and stop.\n3. **First render.** Pick one preview function name: one the person named, or, since nobody has\n   yet, one found with a single search for `@Preview` in `*.kt` files (prefer a name ending in\n   `Preview` near the app's main screen). Call `render_preview` with `preview` set to that name and\n   `project` set to the workspace's absolute path. The local server has no `list_previews` tool; if\n   the name misses, its error lists the `Closest` matches, so retry once with the right one. A\n   `pending` result means the project is still starting: call again with the same arguments. Look\n   at the image and describe it in one or two lines. A failed render is reported as failed, with\n   its error text.\n4. **Close** with one line: ask for any preview by name (\"render the `ListScreenPreview`\"); in\n   Antigravity, [Compose Preview](sidecar:\u002F\u002Fcompose-preview\u002Fcompose-preview\u002F) opens the Auxiliary\n   Pane gallery, local UI Builder and live app simulator. Then, only after a successful render,\n   at most three \"what next\" bullets:\n   - PR previews in CI: the optional `compose-review` plugin\n     (`\u002Fplugin install compose-review@compose-agent-plugins` in Claude Code) sets up CI that\n     posts before\u002Fafter renders on pull requests.\n   - Designing a new screen: \u003Chttps:\u002F\u002Fui.coo.ee\u002Fstart>.\n   - Browsing every preview yourself: `compose-preview browse`, or the VS Code extension.\n\nNever edit build files by hand, never run `.\u002Fgradlew clean`, and never hand-build a mock of a\nrender.\n",{"name":5,"description":7},"main","1b900170940ebf725461d1a9b9bb31e0b0b12239","src\u002Fskills\u002Fcompose-preview-setup","https:\u002F\u002Fgithub.com\u002Fyschimke\u002Fcompose-agent-plugins","https:\u002F\u002Fgithub.com\u002Fyschimke","Itinerant Developer","2026-11-15 02:44:38",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add yschimke\u002Fcompose-agent-plugins --skill compose-preview-setup",{"tool":37,"command":38},"bunx","bunx skills add yschimke\u002Fcompose-agent-plugins --skill compose-preview-setup",{"tool":40,"command":41},"pnpm","pnpm dlx skills add yschimke\u002Fcompose-agent-plugins --skill compose-preview-setup","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fyschimke\u002Fcompose-agent-plugins\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fcompose-preview-setup\u002FSKILL.md",true,[],[46,53,60,67,74,80],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7DE26ZPFATWKZ6H2GS8HVGF","harness-notes","Use whenever you change Compose UI code (composables, @Preview functions, themes) or render or review Compose previews, catalog components or UI Builder designs. Carries the mandatory cross-harness agent rules (R1–R4) and per-host notes for these tools.","https:\u002F\u002Fgithub.com\u002Fyschimke\u002Fcompose-agent-plugins\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fharness-notes\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7DE200SVCFX2VE3CB0G500Z","compose-catalogs-setup","Run right after the compose-catalogs plugin is installed, or when the hosted catalog server cannot be reached or asks for access. Checks the hosted preview.coo.ee catalog server, completes the access grant, and shows one catalog so the person sees it working.","https:\u002F\u002Fgithub.com\u002Fyschimke\u002Fcompose-agent-plugins\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fcompose-catalogs-setup\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7DE1TJGYTTVJGD4MM2B345S","antigravity-viewer-card","Show a render of the person's own Compose previews in Antigravity — one render_preview call with preview=\u003CFunctionName> on the local compose-preview-mcp server, a look at the PNG, then the card and a few bullets.","https:\u002F\u002Fgithub.com\u002Fyschimke\u002Fcompose-agent-plugins\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fantigravity-viewer-card\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7DE1Q68HHV5AX6R9GZ9VPKJ","spike-p2","Use when the user says 'spike check'.","https:\u002F\u002Fgithub.com\u002Fyschimke\u002Fcompose-agent-plugins\u002Fblob\u002Fmain\u002Fspike\u002Fp2\u002Fskills\u002Fspike\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7DE1M39FDCGPEAVHTQVVXVE","spike-p1","https:\u002F\u002Fgithub.com\u002Fyschimke\u002Fcompose-agent-plugins\u002Fblob\u002Fmain\u002Fspike\u002Fp1\u002Fskills\u002Fspike\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7DE1DFVM3TJN1WWTSDSZED5","compose-preview-review","Review Compose UI previews and pull requests by rendering base and head, diffing them, and checking catalog design guidelines. Use for a UI design review, a UI PR locally or from a CI agent session (@claude mention), authoring an agent-opened PR that touches UI, or triaging flaky or unstable previews (time\u002Frandom\u002Fanimation). Pairs with the compose-preview skill; for wiring the CI that posts those diffs, see the compose-preview-ci skill.","https:\u002F\u002Fgithub.com\u002Fyschimke\u002Fcompose-agent-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcompose-review\u002Fskills\u002Fcompose-preview-review\u002FSKILL.md",[],[]]