[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D744VATR5AEYMPEAMYJGWW":3,"skill-same:01M7D744VATR5AEYMPEAMYJGWW":46},{"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":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7D744VATR5AEYMPEAMYJGWW","mobile-ui-design",null,"Design mobile-style HTML pages (iOS \u002F Android) for preview in the Mobile UI Preview panel. Use when the user asks to build a mobile screen, app UI, phone mockup page, or \"make this look like a native app\". Enforces correct status-bar and bottom safe-area handling so content never hides under the notch\u002FDynamic Island or the home indicator.","hxquan-q\u002Fopen-forge","hxquan-q","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F180607655?v=4","01M7D70QBFWC9ZVGC49W3Y6J1M","xquan","01M7D70QC45F445W6V1AK76JZ7",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhxquan-q\u002Fopen-forge\u002Fblob\u002Fmain\u002Fpackages\u002Fplugins\u002Fexternals\u002Fmobile-ui-preview\u002Fagent\u002Fskills\u002Fmobile-ui-design\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: mobile-ui-design\ndescription: Design mobile-style HTML pages (iOS \u002F Android) for preview in the Mobile UI Preview panel. Use when the user asks to build a mobile screen, app UI, phone mockup page, or \"make this look like a native app\". Enforces correct status-bar and bottom safe-area handling so content never hides under the notch\u002FDynamic Island or the home indicator.\n---\n\n# Mobile UI Design\n\nBuild single-file HTML pages that look like native mobile screens and preview correctly inside the Mobile UI Preview panel (iPhone \u002F Android \u002F iPad device frames).\n\nThe preview panel renders your HTML **edge to edge** inside the device screen and draws its **own immersive status bar** (clock, signal, wifi, battery) floating on top of your content. It does **not** shrink your content into the safe area for you. That means the two things that go wrong most often are:\n\n1. Content collides with the status bar at the top (title\u002Ftext sits under the clock and battery).\n2. Content collides with the home indicator \u002F gesture bar at the bottom (a fixed CTA button gets cut by the gesture area).\n\nThis skill exists to prevent both. **Reserve the top and bottom safe areas explicitly; never paint interactive or important content into them.**\n\n## Non-negotiable rules\n\n1. **Viewport meta is required and must be `viewport-fit=cover`:**\n   ```html\n   \u003Cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1, viewport-fit=cover\" \u002F>\n   ```\n2. **Reserve the top safe area (status bar).** The panel overlays a status bar of roughly:\n   - iPhone with Dynamic Island (15 Pro): ~54px\n   - iPhone with notch (14): ~47px\n   - Classic iPhone SE: ~20px\n   - Android: ~28px\n   - iPad: ~20–24px\n\n   The iframe has **no real notch**, so `env(safe-area-inset-top)` resolves to `0`. Do **not** rely on it alone. Use a variable with a sensible fallback and let `env()` upgrade it on real devices:\n   ```css\n   :root {\n     --safe-top: max(env(safe-area-inset-top), 54px);\n     --safe-bottom: max(env(safe-area-inset-bottom), 34px);\n   }\n   ```\n   Default `--safe-top` to the tallest target you care about (54px covers Dynamic Island). If the design is meant only for SE-class devices, lower it to 20px.\n3. **Reserve the bottom safe area (home indicator).** Modern iPhones\u002FAndroid reserve ~34px for the gesture bar. Any bottom-fixed bar (tab bar, primary CTA) must sit **above** it:\n   ```css\n   .bottom-bar { padding-bottom: var(--safe-bottom); }\n   ```\n4. **Fixed headers get the top inset, scroll content clears it.** A sticky\u002Ffixed app header must add `padding-top: var(--safe-top)` so its title sits below the clock. A full-bleed hero image may extend under the status bar, but any **text or control** on it must still start below `--safe-top`.\n5. **Full height, no page scroll bleed.** Use `height: 100dvh` (or `100vh` fallback) on the app root; scroll happens in an inner content region, not the `\u003Cbody>`.\n\n## Reusable scaffold\n\nStart every mobile page from this structure and fill in the content region:\n\n```html\n\u003C!doctype html>\n\u003Chtml lang=\"zh\">\n\u003Chead>\n  \u003Cmeta charset=\"utf-8\" \u002F>\n  \u003Cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1, viewport-fit=cover\" \u002F>\n  \u003Cstyle>\n    :root {\n      --safe-top: max(env(safe-area-inset-top), 54px);\n      --safe-bottom: max(env(safe-area-inset-bottom), 34px);\n      --bg: #f2f2f7;\n      --card: #ffffff;\n      --text: #1c1c1e;\n      --muted: #8e8e93;\n      --tint: #007aff; \u002F* iOS system blue *\u002F\n    }\n    * { box-sizing: border-box; margin: 0; padding: 0; }\n    html, body { height: 100%; }\n    body {\n      font-family: -apple-system, \"SF Pro Text\", \"Segoe UI\", Roboto, system-ui, sans-serif;\n      background: var(--bg);\n      color: var(--text);\n      -webkit-font-smoothing: antialiased;\n    }\n    .app { display: flex; flex-direction: column; height: 100dvh; }\n\n    \u002F* Fixed header: clears the status bar via --safe-top *\u002F\n    .app-header {\n      padding-top: var(--safe-top);\n      padding-inline: 16px;\n      padding-bottom: 10px;\n      background: var(--card);\n      border-bottom: 1px solid rgba(0,0,0,0.08);\n    }\n    .app-header h1 { font-size: 20px; font-weight: 700; }\n\n    \u002F* Scrollable content: never under the top bar, ends above the tab bar *\u002F\n    .content { flex: 1; overflow-y: auto; padding: 16px; }\n\n    \u002F* Bottom bar: lifted above the home indicator via --safe-bottom *\u002F\n    .tab-bar {\n      background: var(--card);\n      border-top: 1px solid rgba(0,0,0,0.08);\n      padding-top: 8px;\n      padding-bottom: var(--safe-bottom);\n      display: flex;\n      justify-content: space-around;\n    }\n  \u003C\u002Fstyle>\n\u003C\u002Fhead>\n\u003Cbody>\n  \u003Cdiv class=\"app\">\n    \u003Cheader class=\"app-header\">\u003Ch1>标题\u003C\u002Fh1>\u003C\u002Fheader>\n    \u003Cmain class=\"content\">\u003C!-- 内容区 -->\u003C\u002Fmain>\n    \u003Cnav class=\"tab-bar\">\u003C!-- 底部导航 -->\u003C\u002Fnav>\n  \u003C\u002Fdiv>\n\u003C\u002Fbody>\n\u003C\u002Fhtml>\n```\n\n## Platform style cues\n\nMatch the target OS the user names (default to iOS if unspecified):\n\n- **iOS**: system blue `#007aff` tint; generous 16px side padding; grouped rounded cards (`border-radius: 12px`); large bold navigation titles; `-apple-system` font; subtle hairline separators; bottom tab bar with icon + tiny label.\n- **Android (Material)**: primary color surfaces, elevation via soft shadows, ripple-style buttons, FAB for the primary action, top app bar; `Roboto`. Reserve ~28px top inset instead of 54.\n\n## Layout checklist before finishing\n\n- [ ] `viewport-fit=cover` present.\n- [ ] `--safe-top` \u002F `--safe-bottom` defined with `max(env(...), fallback)`.\n- [ ] App header adds `--safe-top`; no title\u002Ficon overlaps the clock or battery.\n- [ ] Bottom bar \u002F primary CTA adds `--safe-bottom`; nothing important touches the gesture bar.\n- [ ] Root is `100dvh`, scrolling is inside `.content`, body itself does not scroll.\n- [ ] Tested mentally at the tallest device (Dynamic Island) and the shortest (SE): content still clears both insets.\n\n## Working with the preview\n\n- Save the page as a `.html` file inside the current scope; the panel lists it automatically and reloads on save.\n- Switch device model \u002F orientation in the panel toolbar to verify safe areas across frames.\n- After the design is solid, \"Generate engineering prompt\" in the panel export menu turns the current page into an engineering prompt for productionizing it.\n","# Mobile UI Design\n\nBuild single-file HTML pages that look like native mobile screens and preview correctly inside the Mobile UI Preview panel (iPhone \u002F Android \u002F iPad device frames).\n\nThe preview panel renders your HTML **edge to edge** inside the device screen and draws its **own immersive status bar** (clock, signal, wifi, battery) floating on top of your content. It does **not** shrink your content into the safe area for you. That means the two things that go wrong most often are:\n\n1. Content collides with the status bar at the top (title\u002Ftext sits under the clock and battery).\n2. Content collides with the home indicator \u002F gesture bar at the bottom (a fixed CTA button gets cut by the gesture area).\n\nThis skill exists to prevent both. **Reserve the top and bottom safe areas explicitly; never paint interactive or important content into them.**\n\n## Non-negotiable rules\n\n1. **Viewport meta is required and must be `viewport-fit=cover`:**\n   ```html\n   \u003Cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1, viewport-fit=cover\" \u002F>\n   ```\n2. **Reserve the top safe area (status bar).** The panel overlays a status bar of roughly:\n   - iPhone with Dynamic Island (15 Pro): ~54px\n   - iPhone with notch (14): ~47px\n   - Classic iPhone SE: ~20px\n   - Android: ~28px\n   - iPad: ~20–24px\n\n   The iframe has **no real notch**, so `env(safe-area-inset-top)` resolves to `0`. Do **not** rely on it alone. Use a variable with a sensible fallback and let `env()` upgrade it on real devices:\n   ```css\n   :root {\n     --safe-top: max(env(safe-area-inset-top), 54px);\n     --safe-bottom: max(env(safe-area-inset-bottom), 34px);\n   }\n   ```\n   Default `--safe-top` to the tallest target you care about (54px covers Dynamic Island). If the design is meant only for SE-class devices, lower it to 20px.\n3. **Reserve the bottom safe area (home indicator).** Modern iPhones\u002FAndroid reserve ~34px for the gesture bar. Any bottom-fixed bar (tab bar, primary CTA) must sit **above** it:\n   ```css\n   .bottom-bar { padding-bottom: var(--safe-bottom); }\n   ```\n4. **Fixed headers get the top inset, scroll content clears it.** A sticky\u002Ffixed app header must add `padding-top: var(--safe-top)` so its title sits below the clock. A full-bleed hero image may extend under the status bar, but any **text or control** on it must still start below `--safe-top`.\n5. **Full height, no page scroll bleed.** Use `height: 100dvh` (or `100vh` fallback) on the app root; scroll happens in an inner content region, not the `\u003Cbody>`.\n\n## Reusable scaffold\n\nStart every mobile page from this structure and fill in the content region:\n\n```html\n\u003C!doctype html>\n\u003Chtml lang=\"zh\">\n\u003Chead>\n  \u003Cmeta charset=\"utf-8\" \u002F>\n  \u003Cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1, viewport-fit=cover\" \u002F>\n  \u003Cstyle>\n    :root {\n      --safe-top: max(env(safe-area-inset-top), 54px);\n      --safe-bottom: max(env(safe-area-inset-bottom), 34px);\n      --bg: #f2f2f7;\n      --card: #ffffff;\n      --text: #1c1c1e;\n      --muted: #8e8e93;\n      --tint: #007aff; \u002F* iOS system blue *\u002F\n    }\n    * { box-sizing: border-box; margin: 0; padding: 0; }\n    html, body { height: 100%; }\n    body {\n      font-family: -apple-system, \"SF Pro Text\", \"Segoe UI\", Roboto, system-ui, sans-serif;\n      background: var(--bg);\n      color: var(--text);\n      -webkit-font-smoothing: antialiased;\n    }\n    .app { display: flex; flex-direction: column; height: 100dvh; }\n\n    \u002F* Fixed header: clears the status bar via --safe-top *\u002F\n    .app-header {\n      padding-top: var(--safe-top);\n      padding-inline: 16px;\n      padding-bottom: 10px;\n      background: var(--card);\n      border-bottom: 1px solid rgba(0,0,0,0.08);\n    }\n    .app-header h1 { font-size: 20px; font-weight: 700; }\n\n    \u002F* Scrollable content: never under the top bar, ends above the tab bar *\u002F\n    .content { flex: 1; overflow-y: auto; padding: 16px; }\n\n    \u002F* Bottom bar: lifted above the home indicator via --safe-bottom *\u002F\n    .tab-bar {\n      background: var(--card);\n      border-top: 1px solid rgba(0,0,0,0.08);\n      padding-top: 8px;\n      padding-bottom: var(--safe-bottom);\n      display: flex;\n      justify-content: space-around;\n    }\n  \u003C\u002Fstyle>\n\u003C\u002Fhead>\n\u003Cbody>\n  \u003Cdiv class=\"app\">\n    \u003Cheader class=\"app-header\">\u003Ch1>标题\u003C\u002Fh1>\u003C\u002Fheader>\n    \u003Cmain class=\"content\">\u003C!-- 内容区 -->\u003C\u002Fmain>\n    \u003Cnav class=\"tab-bar\">\u003C!-- 底部导航 -->\u003C\u002Fnav>\n  \u003C\u002Fdiv>\n\u003C\u002Fbody>\n\u003C\u002Fhtml>\n```\n\n## Platform style cues\n\nMatch the target OS the user names (default to iOS if unspecified):\n\n- **iOS**: system blue `#007aff` tint; generous 16px side padding; grouped rounded cards (`border-radius: 12px`); large bold navigation titles; `-apple-system` font; subtle hairline separators; bottom tab bar with icon + tiny label.\n- **Android (Material)**: primary color surfaces, elevation via soft shadows, ripple-style buttons, FAB for the primary action, top app bar; `Roboto`. Reserve ~28px top inset instead of 54.\n\n## Layout checklist before finishing\n\n- [ ] `viewport-fit=cover` present.\n- [ ] `--safe-top` \u002F `--safe-bottom` defined with `max(env(...), fallback)`.\n- [ ] App header adds `--safe-top`; no title\u002Ficon overlaps the clock or battery.\n- [ ] Bottom bar \u002F primary CTA adds `--safe-bottom`; nothing important touches the gesture bar.\n- [ ] Root is `100dvh`, scrolling is inside `.content`, body itself does not scroll.\n- [ ] Tested mentally at the tallest device (Dynamic Island) and the shortest (SE): content still clears both insets.\n\n## Working with the preview\n\n- Save the page as a `.html` file inside the current scope; the panel lists it automatically and reloads on save.\n- Switch device model \u002F orientation in the panel toolbar to verify safe areas across frames.\n- After the design is solid, \"Generate engineering prompt\" in the panel export menu turns the current page into an engineering prompt for productionizing it.\n",{"name":5,"description":7},"main","5b8347d653ab3cc1323c53dbeddd4c009b330d96","packages\u002Fplugins\u002Fexternals\u002Fmobile-ui-preview\u002Fagent\u002Fskills\u002Fmobile-ui-design",0,"https:\u002F\u002Fgithub.com\u002Fhxquan-q\u002Fopen-forge","https:\u002F\u002Fwww.openvetta.com","https:\u002F\u002Fgithub.com\u002Fhxquan-q","2026-11-13 17:08:23",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add hxquan-q\u002Fopen-forge --skill mobile-ui-design",{"tool":38,"command":39},"bunx","bunx skills add hxquan-q\u002Fopen-forge --skill mobile-ui-design",{"tool":41,"command":42},"pnpm","pnpm dlx skills add hxquan-q\u002Fopen-forge --skill mobile-ui-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhxquan-q\u002Fopen-forge\u002Fblob\u002Fmain\u002Fpackages\u002Fplugins\u002Fexternals\u002Fmobile-ui-preview\u002Fagent\u002Fskills\u002Fmobile-ui-design\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7D79WJRKSSY9DXVHJ8VXS2G","review-canvas","Present a multi-file code review as a Canvas diff artifact. Use when the user asks for a review, 代码评审, 变更审查, or a cross-file summary of changes — not for a single edit (the chat diff card already shows it) or a prose report (report-canvas).","https:\u002F\u002Fgithub.com\u002Fhxquan-q\u002Fopen-forge\u002Fblob\u002Fmain\u002Fpackages\u002Fskill-presets\u002Freview-canvas\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7D79QD1TTMEJSC0XQN8ADSJ","report-canvas","Produce a standalone report, audit board, or long-form analysis as a Canvas artifact. Use when the user asks for a report, 报告, 审计看板, or a deliverable that should live beside chat — not when they only want a short chat answer or to inspect a live web page.","https:\u002F\u002Fgithub.com\u002Fhxquan-q\u002Fopen-forge\u002Fblob\u002Fmain\u002Fpackages\u002Fskill-presets\u002Freport-canvas\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7D79JZ390ZN0950BFNQGE6J","publish-ability","Publish a skill, scene, 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\u002Fhxquan-q\u002Fopen-forge\u002Fblob\u002Fmain\u002Fpackages\u002Fskill-presets\u002Fpublish-ability\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7D79DP3TX2CCZBT0W8CTZKT","install-ability","在本机 Vetta 中安装能力——插件（plugin）、Skill\u002F场景（scene）与 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\u002Fhxquan-q\u002Fopen-forge\u002Fblob\u002Fmain\u002Fpackages\u002Fskill-presets\u002Finstall-ability\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7D799QHEKZBTFA47YXAWFJS","database-analysis","Answer business questions from connected databases with read-only queries, then analyze metrics, trends, rankings, breakdowns, and period comparisons. Use for 问数、查数、数据库分析、销量\u002F收入\u002F用户指标、同比环比 or follow-up data questions. Not for application database migrations or modifying records.","https:\u002F\u002Fgithub.com\u002Fhxquan-q\u002Fopen-forge\u002Fblob\u002Fmain\u002Fpackages\u002Fskill-presets\u002Fdatabase-analysis\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7D795QA8HPGGC6NJ6J5EEJC","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\u002Fhxquan-q\u002Fopen-forge\u002Fblob\u002Fmain\u002Fpackages\u002Fskill-presets\u002Fcreate-skill\u002FSKILL.md",[],[]]