[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A14CHHKY2NK81X7G8N790G":3,"skill-same:01M7A14CHHKY2NK81X7G8N790G":57},{"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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":29,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7A14CHHKY2NK81X7G8N790G","compose-component-design",null,"Use when designing or reviewing reusable Jetpack Compose component APIs with modifier parameters, root layout placement, caller-provided variable content, primitive content parameters, optional content, or boolean shape flags.","openvetta\u002Fopen-vetta","openvetta","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F310452651?v=4","01M7A143Q6S7A6WZEJYZN5TTYM","Open Vetta","01M7A143R600YHMC29N957HQP8",299,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fopenvetta\u002Fopen-vetta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcompose-component-design\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: compose-component-design\ndescription: Use when designing or reviewing reusable Jetpack Compose component APIs with modifier parameters, root layout placement, caller-provided variable content, primitive content parameters, optional content, or boolean shape flags.\n---\n\n# Compose component design\n\n## Core principle\n\nMake reusable components caller-placeable and caller-composable: the component\nowns its invariant structure while callers retain placement, content, and\npolicy choices that vary by use.\n\n## Procedure\n\n1. State the requested API concern and keep the edit within it. A focused slot\n   review does not authorize unrelated modifier, naming, or cleanup changes.\n2. State the component's invariant visual structure and identify every varying\n   region, placement concern, and policy choice. In a broad API review, inventory\n   all rendered regions, including hard-coded text or icons, before deciding\n   which are fixed semantic content and which vary by caller. When the request\n   names more than one concern, report each one; do not stop after the first\n   valid modifier or slot finding.\n3. When root placement is part of the requested work or a broad component API\n   design, accept and apply a caller modifier at the component root unless a\n   concrete API boundary makes another placement correct.\n4. Represent caller-controlled, unconstrained visual regions with slots rather\n   than proliferating primitive content parameters or Boolean shape flags.\n   Keep semantic and design-system constraints as primitive parameters.\n5. Keep simple conditional structure inline; extract only a coherent reusable\n   contract.\n6. Read the relevant focused reference below before editing public signatures.\n7. In a review, decide explicitly whether each requested variable visual region\n   should remain a semantic primitive or become a caller slot; naming a content\n   limitation alone does not make that API decision. Finish with no edit when\n   the existing API already satisfies the requested concern. Otherwise finish\n   when callers can position the component, supply variable content, and\n   understand ownership without hidden switches.\n\n## Topic router\n\n| Signal | Read |\n|---|---|\n| Modifier parameter, root layout placement, modifier ordering, or conditional layout wrappers | [Modifier and layout](references\u002Fmodifier-layout.md) |\n| Caller-controlled variable visual regions, optional content, primitive content parameters, or Boolean shape flags | [Slot APIs](references\u002Fslot-apis.md) |\n| Animation belongs to the public component contract | [Compose animations](..\u002Fcompose-animations\u002FSKILL.md) |\n| State ownership changes while designing the component | [Compose state and effects](..\u002Fcompose-state-and-effects\u002FSKILL.md) |\n| Semantics or screenshot coverage is needed | [Compose UI testing patterns](..\u002Fcompose-ui-testing-patterns\u002FSKILL.md) |\n","# Compose component design\n\n## Core principle\n\nMake reusable components caller-placeable and caller-composable: the component\nowns its invariant structure while callers retain placement, content, and\npolicy choices that vary by use.\n\n## Procedure\n\n1. State the requested API concern and keep the edit within it. A focused slot\n   review does not authorize unrelated modifier, naming, or cleanup changes.\n2. State the component's invariant visual structure and identify every varying\n   region, placement concern, and policy choice. In a broad API review, inventory\n   all rendered regions, including hard-coded text or icons, before deciding\n   which are fixed semantic content and which vary by caller. When the request\n   names more than one concern, report each one; do not stop after the first\n   valid modifier or slot finding.\n3. When root placement is part of the requested work or a broad component API\n   design, accept and apply a caller modifier at the component root unless a\n   concrete API boundary makes another placement correct.\n4. Represent caller-controlled, unconstrained visual regions with slots rather\n   than proliferating primitive content parameters or Boolean shape flags.\n   Keep semantic and design-system constraints as primitive parameters.\n5. Keep simple conditional structure inline; extract only a coherent reusable\n   contract.\n6. Read the relevant focused reference below before editing public signatures.\n7. In a review, decide explicitly whether each requested variable visual region\n   should remain a semantic primitive or become a caller slot; naming a content\n   limitation alone does not make that API decision. Finish with no edit when\n   the existing API already satisfies the requested concern. Otherwise finish\n   when callers can position the component, supply variable content, and\n   understand ownership without hidden switches.\n\n## Topic router\n\n| Signal | Read |\n|---|---|\n| Modifier parameter, root layout placement, modifier ordering, or conditional layout wrappers | [Modifier and layout](references\u002Fmodifier-layout.md) |\n| Caller-controlled variable visual regions, optional content, primitive content parameters, or Boolean shape flags | [Slot APIs](references\u002Fslot-apis.md) |\n| Animation belongs to the public component contract | [Compose animations](..\u002Fcompose-animations\u002FSKILL.md) |\n| State ownership changes while designing the component | [Compose state and effects](..\u002Fcompose-state-and-effects\u002FSKILL.md) |\n| Semantics or screenshot coverage is needed | [Compose UI testing patterns](..\u002Fcompose-ui-testing-patterns\u002FSKILL.md) |\n",{"name":5,"description":7},"main","a4aeb31ba1b80e809bf4ddc0406287429275e34e",".agents\u002Fskills\u002Fcompose-component-design",50,"https:\u002F\u002Fgithub.com\u002Fopenvetta\u002Fopen-vetta","https:\u002F\u002Fwww.openvetta.com","https:\u002F\u002Fgithub.com\u002Fopenvetta","Open-source, local-first AI agent for coding and real work.","2026-11-14 00:11:40",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add openvetta\u002Fopen-vetta --skill compose-component-design",{"tool":39,"command":40},"bunx","bunx skills add openvetta\u002Fopen-vetta --skill compose-component-design",{"tool":42,"command":43},"pnpm","pnpm dlx skills add openvetta\u002Fopen-vetta --skill compose-component-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fopenvetta\u002Fopen-vetta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcompose-component-design\u002FSKILL.md",true,[47,53],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fmodifier-layout.md","REFERENCE","参考文档",2827,"https:\u002F\u002Fgithub.com\u002Fopenvetta\u002Fopen-vetta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcompose-component-design\u002Freferences\u002Fmodifier-layout.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fslot-apis.md",2461,"https:\u002F\u002Fgithub.com\u002Fopenvetta\u002Fopen-vetta\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcompose-component-design\u002Freferences\u002Fslot-apis.md",[58,65,72,79,86,93],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7A1CADNDSES6MRAARA1WXMB","publish-ability","Publish a skill, MCP server, plugin, or bundle to the Vetta ability marketplace. Use when the user asks to upload\u002Fpublish\u002Fsubmit an ability, put a plugin on the marketplace, share a skill with other users, or migrate an existing package into Vetta.","https:\u002F\u002Fgithub.com\u002Fopenvetta\u002Fopen-vetta\u002Fblob\u002Fmain\u002Fpackages\u002Fskill-presets\u002Fpublish-ability\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7A1C5VD4NEZHMZMCXF8J47M","install-ability","在本机 Vetta 中安装能力——插件（plugin）、Skill 与 MCP 服务器。用户说「装一个插件 \u002F install plugin \u002F 从能力市场安装 \u002F 加一个 MCP server \u002F 配置 MCP \u002F 装个 skill」，或插件装完没生效、需要 reload、pending 版本没应用时使用。不用于安装 npm 依赖、IDE 插件、浏览器扩展，也不用于开发插件（那是 plugin-workbench）或创作 Skill（那是 create-skill）。","https:\u002F\u002Fgithub.com\u002Fopenvetta\u002Fopen-vetta\u002Fblob\u002Fmain\u002Fpackages\u002Fskill-presets\u002Finstall-ability\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7A1C0414EPE2EWRD5B26HWC","create-skill","Create or update Vetta-compatible Agent Skills. Use when the user asks to create a skill, add a SKILL.md workflow, register a skill in skills-manifest.json, package a skill in a Vetta plugin, or add a built-in Vetta skill preset.","https:\u002F\u002Fgithub.com\u002Fopenvetta\u002Fopen-vetta\u002Fblob\u002Fmain\u002Fpackages\u002Fskill-presets\u002Fcreate-skill\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7A1BNBJ5XJKWND9XFJKP0FX","vetta-ui-design","Build and edit design documents (.vetd) on the Vetta design canvas — app screens, landing pages, slides, posters, infographics. Use when the user asks for a UI design, mockup, screen, deck, or poster, or attaches a design frame\u002Felement from the canvas. Frames are real React (TSX) routes, not pictures. Do NOT use for ordinary front-end work in the user's own codebase — building, styling or reworking pages of a real app is that repo's job, and none of the vetd_* tools or canvas rules here apply to it.","https:\u002F\u002Fgithub.com\u002Fopenvetta\u002Fopen-vetta\u002Fblob\u002Fmain\u002Fpackages\u002Fplugins\u002Fpresets\u002Fvetta-ui-design\u002Fagent\u002Fskills\u002Fvetta-ui-design\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7A1BFJSH10EZFJ4J56M8E2Z","remotion-video","Create, modify, and render Remotion React video projects in the current Vetta conversation workspace. Use for requests to make programmatic videos, motion graphics, animated explainers, social videos, data videos, or to edit an existing Remotion composition and export it as MP4.","https:\u002F\u002Fgithub.com\u002Fopenvetta\u002Fopen-vetta\u002Fblob\u002Fmain\u002Fpackages\u002Fplugins\u002Fpresets\u002Fremotion-renderer\u002Fagent\u002Fskills\u002Fremotion-video\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7A1B8WD792ETC0XYJV8GNNB","plugin-workbench","Create, implement, build, pack, install, reload, and manage Vetta desktop plugins for non-developers. Use whenever the user wants a Vetta plugin, plugin scaffolding, apply a `.vettapkg` package to Vetta, edit plugin.json name\u002FguidingWords, or debug plugin load\u002Finstall. Requires the Plugin Workbench input-bar toggle (hard isolation). The plugin handbook ships inside the project's own @vetta-org\u002Fplugin-sdk; locate it with the bundled CLI's docs command.","https:\u002F\u002Fgithub.com\u002Fopenvetta\u002Fopen-vetta\u002Fblob\u002Fmain\u002Fpackages\u002Fplugins\u002Fpresets\u002Fplugin-workbench\u002Fagent\u002Fskills\u002Fplugin-workbench\u002FSKILL.md",[],[]]