Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add HuolalaTech/huolala-figma-mcp --skill react-vue-h5-convertgit clone --depth 1 https://github.com/HuolalaTech/huolala-figma-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/huolalatech/huolala-figma-mcp/react-vue-h5-convert)<a href="https://agentmods.dev/skills/huolalatech/huolala-figma-mcp/react-vue-h5-convert"><img src="https://agentmods.dev/badge/skills/huolalatech/huolala-figma-mcp/react-vue-h5-convert/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/huolalatech/huolala-figma-mcp/react-vue-h5-convert"><img src="https://agentmods.dev/badge/skills/huolalatech/huolala-figma-mcp/react-vue-h5-convert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00051 | $0.02388 |
| Opus 5 | $0.00026 | $0.01194 |
| Sonnet 5 | $0.00010 | $0.00478 |
| Haiku 4.5 | $0.00005 | $0.00239 |
Grade A, and why
react-vue-H5-convert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 246 lines — stays where its author put it; the contents beside it link to each section on GitHub.
U2C 代码转换
将 UI2Code 工具生成的 index.html 转换为规范的前端代码,支持 H5、React、Vue 平台。
When to Use
- 当需要将设计稿转换后的 index.html 转换为目标平台代码时
- 当需要进行样式抽离和语义化 class 命名时
- 当需要识别并实现交互组件(选中态、按钮等)时
- 当需要实现循环渲染(React/Vue 平台)时
Instructions
参数说明
| 参数名 | 类型 | 默认值 | 说明 |
|---|---|---|---|
source_dir |
string | - | ZIP 包解压后的目录路径 |
target_dir |
string | ${source_dir}/target_code |
代码输出目录 |
platform |
string | H5 |
目标平台:H5、React、Vue |
步骤 0:创建代码文件夹
- 如果用户指定了代码保存位置,则以用户指定的位置创建代码文件夹
- 否则在
${source_dir}中创建子文件夹target_code存储代码
步骤 1:读取 index.html 并分析结构
-
完整读取:读取
${source_dir}/index.html文件 -
结构分析:
- 记录每个元素的层级关系(父子关系)
- 记录同级元素的顺序
- 记录每个元素的类型(div、span、img 等)
- 记录每个元素的行内样式和属性
-
样式提取:提取所有行内样式属性,包括:
- 尺寸:width、height
- 间距:margin、padding、margin-top、margin-left 等
- 定位:position、top、left、right、bottom
- 字体:font-family、font-size、font-weight、line-height
- 颜色:color、background-color、border-color
- 边框:border、border-radius、border-width 等
- 布局:display、flex-direction、justify-content、align-items 等
-
图片路径提取:提取所有
<img src>和background-image路径 -
文本内容提取:提取所有文本内容,特别注意需要精确宽度的文本元素
步骤 2:处理资源(图片和字体)
2.1 判断资源目录
- 检查
${source_dir}下是否包含images/目录(图片资源) - 检查
${source_dir}下是否包含fonts/目录(字体资源) - 如果包含则执行后续流程,如果不包含则跳过对应步骤
2.2 图片语义化命名规则
⚠️ 强制要求
| 优先级 | 命名来源 |
|---|---|
| 1 | 附近文本内容 |
| 2 | 用途功能 |
| 3 | 位置作用 |
命名格式:
- 使用小写字母、数字、连字符(-)
- 多个单词用连字符连接
- 示例:
favorite-driver-icon.png、back-arrow-icon.png、user-avatar.png
禁止:使用 UUID、随机字符串、image_{序号} 或中文命名
2.3 复制资源
| 资源类型 | 源目录 | 目标目录 | 命名规则 |
|---|---|---|---|
| 图片 | ${source_dir}/images/ |
${target_dir}/images/ |
语义化命名 |
| 字体 | ${source_dir}/fonts/ |
${target_dir}/fonts/ |
保持原有文件名 |
⚠️ 强制要求:更新所有代码文件中的路径引用
步骤 3:代码文件结构生成
默认文件结构:
| 平台 | 文件结构 |
|---|---|
| H5 | index.html、styles.css、script.js |
| React | index.jsx、styles.css |
| Vue | index.vue |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 246 lines · 51 tokens per session scan A 0dd6092c9fb6
react-vue-H5-convert is a skill published in the GitHub repository HuolalaTech/huolala-figma-mcp (78 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 51 tokens to every session and 2,388 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
zoom-meeting-sdk-web-component-view
Zoom Meeting SDK Web - Component View. Embeddable Zoom meeting components with Promise-based API for flexible integration. Ideal for React/Vue/Angular apps and custom layouts. Uses ZoomMtgEmbedded with async/await patterns and embeddable UI containers.
ui-toolkit/web
Reference skill for Zoom Video SDK UI Toolkit. Use after routing to a web video workflow when you want prebuilt React UI instead of building a fully custom Video SDK interface.
astro
Build content-focused websites with Astro — zero JS by default, islands architecture, multi-framework components, and Markdown/MDX support.
tanstack-form
Headless, performant, and type-safe form state management for TS/JS, React, Vue, Angular, Solid, Lit, and Svelte.
create-site
Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…
web-development
Use when users need to implement, integrate, debug, build, deploy, or validate a Web frontend after the product direction is already clear, especially for React, Vue, Vite, browser flows, or CloudBase Web integration.