[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DE1TJGYTTVJGD4MM2B345S":3,"skill-same:01M7DE1TJGYTTVJGD4MM2B345S":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},"01M7DE1TJGYTTVJGD4MM2B345S","antigravity-viewer-card",null,"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.","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\u002Fantigravity-viewer-card\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: antigravity-viewer-card\ndescription: 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.\n---\n\n# Rendering previews in Antigravity\n\n**Render first, explore later.** Your first tool call is `render_preview`.\nOnly if it fails do you look anything up.\n\n1. Call `render_preview` on the **local** `compose-preview-mcp` server with\n   `preview` set to the preview function name and `project` set to the\n   absolute path of the open workspace, for example\n   `preview: \"ListScreenPreview\", project: \"\u002FUsers\u002Fme\u002Fworkspace\u002FMyApp\"`.\n   Always pass `project`: Antigravity starts the server in the plugin folder,\n   so it can't find the workspace on its own. If the person names a screen\n   rather than a preview (`ListScreen`), use `ListScreenPreview`. Nothing else\n   is needed first: the server finds the preview and writes the card.\n   Never use the `compose-preview-catalog` server for project previews: it\n   only holds library catalogs.\n   - If the result is `pending`, call `render_preview` again with the same\n     arguments; the first render of a session waits for a Gradle build.\n   - If the error names a `Closest` match that is clearly the preview the\n     person meant, call once more with that name.\n2. Look at the PNG at `pngPath` with the file viewer, so you see what the\n   person sees (R1).\n3. Reply with the `embed` line from the result, 2–4 bullets describing what\n   you saw, and this summary, filled **only** from the result. Write\n   \"unavailable\" for anything missing; don't look it up.\n\n   ```text\n   Render: \u003Curi>\n   Image: \u003CwidthPx> × \u003CheightPx>; hash \u003Csha256>\n   ```\n\n   Under it, add `[Open full size](file:\u002F\u002F\u003CpngPath>)` so the person can see\n   the PNG at its real size; the card fits it into a small frame.\n\n   If the result lists `otherMatches`, name them in one line.\n\n**After editing a preview's source**, call `render_preview` with the same\n`preview` again; the server recompiles. Never run `.\u002Fgradlew`, clean, or delete\nbuild folders. If the image still shows the old code, call `render_preview`\nonce more with `force: {\"reason\": \"\u003Cwhat you edited>\"}`; if it is still stale,\nsay so and stop.\n\n**Token-frugal iteration.** For intermediate checks before the final visual\nsign-off, pass `observe: \"semantics\"` (default) or `observe: \"hash\"` to avoid\nrepeated full-screen PNG payloads, or pass `crop: {\"ref\": \"n3\"}` (or `testTag` \u002F\n`role` + `text`) with `observe: \"png\"` to inspect a single node's pixels. Always\ninspect the rendered PNG (`observe: \"png\"` or `pngPath`) before calling a visual\nchange done (R1).\n\n## Compose Preview Sidecar & App Simulator\n\nThe `compose-preview` plugin ships an Antigravity Auxiliary Pane sidecar with\nthree interactive modes (`browse`, `ui-builder`, and `simulator` via\n`compose-preview launch --adb`). Surface a one-click pill in chat when the\nperson wants an interactive gallery, the local UI Builder, or a live\ninteractive app simulator:\n\n- Open [Compose Preview](sidecar:\u002F\u002Fcompose-preview\u002Fcompose-preview\u002F) in the side\n  pane to browse all `@Preview`s live, switch to the local UI Builder, or run\n  `compose-preview launch --adb` in the browser simulator.\n- When `Simulator (launch --adb)` is active in the sidecar (or started from the\n  CLI with `compose-preview launch --project \u003Cdir> --live --adb`), it registers\n  `emulator-5554` + gRPC `8554` with `adb`, so the person can also mirror and\n  control the running app in [Android Device Hub](sidecar:\u002F\u002Fandroid-cli-plugin\u002Fdevice-hub\u002F)\n  if `android-cli-plugin` is installed.\n\n**Never fake a render.** Don't hand-build HTML, CSS, SVG or any other mock\nof the preview, and don't draw it from the source. Only the PNG and card\nfrom `render_preview` count as a preview. If rendering fails, say so, include\nthe error, and stop.\n\nThat's the whole task. Don't read other skill, asset or source files, search\nthe session or `brain\u002F` folders, call `status`, `register_project` or\n`list_previews` first, or print base64.\n\n**Older servers** (the result has `pngPath` but no `embed`): run\n`python3 ~\u002F.gemini\u002Fconfig\u002Fplugins\u002Fcompose-preview\u002Fassets\u002Fcompose-preview-card.py '\u003Cresult JSON text>'`\nand use the line it prints. If `preview` is rejected, call `list_previews`\nonce, then `render_preview` with the `uri` and `inline=false`.\n\n**Without the MCP server** (`compose-preview-mcp` is not enabled, not listed,\nor not allowed in this context), run the same flow through the CLI from the\nworkspace folder; never switch to the `compose-preview-catalog` server:\n\n1. `compose-preview show --preview \u003CFunctionName> --json`, or, when the person\n   asks about accessibility, `compose-preview a11y --preview \u003CFunctionName> --json`\n   (it renders too). Narrow to one preview; a miss lists the closest names.\n2. Look at the PNG at the preview's `pngPath` (R1).\n3. Run `python3 ~\u002F.gemini\u002Fconfig\u002Fplugins\u002Fcompose-preview\u002Fassets\u002Fcompose-preview-card.py '\u003Cthat JSON>'`\n   and reply with the line it prints, the bullets and the summary as above\n   (`Render: \u003Cid>`). An `a11y` run gives the card the same findings, overlay and\n   Audit view; layout bounds need the MCP server, so say they are unavailable\n   rather than describing them.\n\nWhen the person asks about accessibility or layout, add\n`details: [\"a11y\"]`, `[\"layout\"]` or both to that same `render_preview` call:\nthe card gains the overlay toggles and the result one summary line each. Don't\ncall separate a11y or layout tools for it.\n\nDo more (variants, source locations) only when the person asks.\n","# Rendering previews in Antigravity\n\n**Render first, explore later.** Your first tool call is `render_preview`.\nOnly if it fails do you look anything up.\n\n1. Call `render_preview` on the **local** `compose-preview-mcp` server with\n   `preview` set to the preview function name and `project` set to the\n   absolute path of the open workspace, for example\n   `preview: \"ListScreenPreview\", project: \"\u002FUsers\u002Fme\u002Fworkspace\u002FMyApp\"`.\n   Always pass `project`: Antigravity starts the server in the plugin folder,\n   so it can't find the workspace on its own. If the person names a screen\n   rather than a preview (`ListScreen`), use `ListScreenPreview`. Nothing else\n   is needed first: the server finds the preview and writes the card.\n   Never use the `compose-preview-catalog` server for project previews: it\n   only holds library catalogs.\n   - If the result is `pending`, call `render_preview` again with the same\n     arguments; the first render of a session waits for a Gradle build.\n   - If the error names a `Closest` match that is clearly the preview the\n     person meant, call once more with that name.\n2. Look at the PNG at `pngPath` with the file viewer, so you see what the\n   person sees (R1).\n3. Reply with the `embed` line from the result, 2–4 bullets describing what\n   you saw, and this summary, filled **only** from the result. Write\n   \"unavailable\" for anything missing; don't look it up.\n\n   ```text\n   Render: \u003Curi>\n   Image: \u003CwidthPx> × \u003CheightPx>; hash \u003Csha256>\n   ```\n\n   Under it, add `[Open full size](file:\u002F\u002F\u003CpngPath>)` so the person can see\n   the PNG at its real size; the card fits it into a small frame.\n\n   If the result lists `otherMatches`, name them in one line.\n\n**After editing a preview's source**, call `render_preview` with the same\n`preview` again; the server recompiles. Never run `.\u002Fgradlew`, clean, or delete\nbuild folders. If the image still shows the old code, call `render_preview`\nonce more with `force: {\"reason\": \"\u003Cwhat you edited>\"}`; if it is still stale,\nsay so and stop.\n\n**Token-frugal iteration.** For intermediate checks before the final visual\nsign-off, pass `observe: \"semantics\"` (default) or `observe: \"hash\"` to avoid\nrepeated full-screen PNG payloads, or pass `crop: {\"ref\": \"n3\"}` (or `testTag` \u002F\n`role` + `text`) with `observe: \"png\"` to inspect a single node's pixels. Always\ninspect the rendered PNG (`observe: \"png\"` or `pngPath`) before calling a visual\nchange done (R1).\n\n## Compose Preview Sidecar & App Simulator\n\nThe `compose-preview` plugin ships an Antigravity Auxiliary Pane sidecar with\nthree interactive modes (`browse`, `ui-builder`, and `simulator` via\n`compose-preview launch --adb`). Surface a one-click pill in chat when the\nperson wants an interactive gallery, the local UI Builder, or a live\ninteractive app simulator:\n\n- Open [Compose Preview](sidecar:\u002F\u002Fcompose-preview\u002Fcompose-preview\u002F) in the side\n  pane to browse all `@Preview`s live, switch to the local UI Builder, or run\n  `compose-preview launch --adb` in the browser simulator.\n- When `Simulator (launch --adb)` is active in the sidecar (or started from the\n  CLI with `compose-preview launch --project \u003Cdir> --live --adb`), it registers\n  `emulator-5554` + gRPC `8554` with `adb`, so the person can also mirror and\n  control the running app in [Android Device Hub](sidecar:\u002F\u002Fandroid-cli-plugin\u002Fdevice-hub\u002F)\n  if `android-cli-plugin` is installed.\n\n**Never fake a render.** Don't hand-build HTML, CSS, SVG or any other mock\nof the preview, and don't draw it from the source. Only the PNG and card\nfrom `render_preview` count as a preview. If rendering fails, say so, include\nthe error, and stop.\n\nThat's the whole task. Don't read other skill, asset or source files, search\nthe session or `brain\u002F` folders, call `status`, `register_project` or\n`list_previews` first, or print base64.\n\n**Older servers** (the result has `pngPath` but no `embed`): run\n`python3 ~\u002F.gemini\u002Fconfig\u002Fplugins\u002Fcompose-preview\u002Fassets\u002Fcompose-preview-card.py '\u003Cresult JSON text>'`\nand use the line it prints. If `preview` is rejected, call `list_previews`\nonce, then `render_preview` with the `uri` and `inline=false`.\n\n**Without the MCP server** (`compose-preview-mcp` is not enabled, not listed,\nor not allowed in this context), run the same flow through the CLI from the\nworkspace folder; never switch to the `compose-preview-catalog` server:\n\n1. `compose-preview show --preview \u003CFunctionName> --json`, or, when the person\n   asks about accessibility, `compose-preview a11y --preview \u003CFunctionName> --json`\n   (it renders too). Narrow to one preview; a miss lists the closest names.\n2. Look at the PNG at the preview's `pngPath` (R1).\n3. Run `python3 ~\u002F.gemini\u002Fconfig\u002Fplugins\u002Fcompose-preview\u002Fassets\u002Fcompose-preview-card.py '\u003Cthat JSON>'`\n   and reply with the line it prints, the bullets and the summary as above\n   (`Render: \u003Cid>`). An `a11y` run gives the card the same findings, overlay and\n   Audit view; layout bounds need the MCP server, so say they are unavailable\n   rather than describing them.\n\nWhen the person asks about accessibility or layout, add\n`details: [\"a11y\"]`, `[\"layout\"]` or both to that same `render_preview` call:\nthe card gains the overlay toggles and the result one summary line each. Don't\ncall separate a11y or layout tools for it.\n\nDo more (variants, source locations) only when the person asks.\n",{"name":5,"description":7},"main","1b900170940ebf725461d1a9b9bb31e0b0b12239","src\u002Fskills\u002Fantigravity-viewer-card","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 antigravity-viewer-card",{"tool":37,"command":38},"bunx","bunx skills add yschimke\u002Fcompose-agent-plugins --skill antigravity-viewer-card",{"tool":40,"command":41},"pnpm","pnpm dlx skills add yschimke\u002Fcompose-agent-plugins --skill antigravity-viewer-card","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fyschimke\u002Fcompose-agent-plugins\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fantigravity-viewer-card\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},"01M7DE239T4FDZGE7ZSBP7TH0C","compose-preview-setup","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.","https:\u002F\u002Fgithub.com\u002Fyschimke\u002Fcompose-agent-plugins\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fcompose-preview-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},"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":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",[],[]]