Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

vapor-ui蒸气用户界面

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

924

周安装

37

GitHub Stars

35

下载量

299
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:vapor-ui(蒸气用户界面)
来源仓库:https://github.com/goorm-dev/vapor-ui
仓库路径:skills/vapor-ui
安装命令:
npx skills add https://github.com/goorm-dev/vapor-ui --skill vapor-ui
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/goorm-dev/vapor-ui --skill vapor-ui

简介

vapor-ui 用于辅助界面设计、视觉规范和交互体验优化。

  • 它适合整理页面结构、生成 UI 方案并检查视觉一致性。
  • 使用时需结合品牌系统和用户任务,避免堆砌装饰元素。
  • 涉及真实页面改动时应通过截图或浏览器预览验证文本溢出和对齐。
  • vapor-ui 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Vapor UI Design Skill

Instructions

Step 1: Identify User Intent & Detect Version

Run these checks in parallel:

  1. Determine user intent:

- Component lookup: User wants to know available components or specific component details - Usage guidance: User needs props, variants, or example code - Mockup generation: User wants to create a UI prototype - Figma conversion: User wants to convert Figma design to code

  1. Determine Vapor UI version (in order of priority): Use CORE version for component scripts, ICONS version for icon scripts.

1. User-provided version: If user specifies a version, use it directly 2. Auto-detect from codebase: node scripts/detect-version.mjs [start-path] Output: CORE: x.x.x and ICONS: x.x.x

Step 2: Component Information

Get component list:

node scripts/get-component-list.mjs <VERSION>

Example: node scripts/get-component-list.mjs 1.0.0-beta.12

Get component details (props, description):

node scripts/get-component-info.mjs <VERSION> <COMPONENT> [PART]

Example: node scripts/get-component-info.mjs 1.0.0-beta.12 avatar

For detailed component structure, refer to references/component-structure.md.

Step 3: Component Examples

Get example code:

node scripts/get-component-examples.mjs <VERSION> <COMPONENT> [EXAMPLE_NAME]

Example: node scripts/get-component-examples.mjs 1.0.0-beta.12 avatar default-avatar

Step 3.5: Icon Lookup

Get icon list:

node scripts/get-icon-list.mjs <ICONS_VERSION> [search-keyword]

Examples:

  • node scripts/get-icon-list.mjs 1.0.0-beta.12 - List all icons
  • node scripts/get-icon-list.mjs 1.0.0-beta.12 arrow - Search icons containing "arrow"
  • node scripts/get-icon-list.mjs 1.0.0-beta.12 --outline - List only outline icons
  • node scripts/get-icon-list.mjs 1.0.0-beta.12 --filled - List only filled icons

Note: Use ICONS version from detect-version.mjs output for icon queries.

Step 4: Mockup Generation

For mockup requests:

  1. Run get-component-list.mjs to identify available components
  2. Run get-component-info.mjs for each needed component's props
  3. Run get-component-examples.mjs for usage patterns
  4. Generate code using Vapor UI components only
  5. Provide complete, copy-paste ready code

Step 5: Figma Design Conversion

For Figma conversion requests:

  1. Parse Figma URL to extract file_key and node_id: https://www.figma.com/design/{file_key}/...?node-id={node_id}
  2. Get design context using MCP: mcp__figma-dev-mode-mcp-server__get_design_context - file_key: extracted from URL - node_id: extracted from URL (format: "X-Y" or "X:Y") - depth: 5 (or higher for complex designs)
  3. Analyze node tree:

- 💙 prefix nodes: Design system components (see references/design-system-recognition.md) - Auto-layout frames: Convert to VStack/HStack/Box/Grid (see references/figma-layout-mapping.md) - TEXT nodes: Extract text content

  1. Convert layout properties:

- layoutMode: VERTICAL → VStack - layoutMode: HORIZONTAL → HStack - itemSpacing → gap token - padding* → padding tokens - See references/token-mapping.md for full mapping

  1. Recognize design system components:

- Nodes starting with 💙 are vapor-ui components - Extract componentProperties for variant → props mapping - Example: 💙Button with Size: md, ColorPalette: primary<Button size="md" colorPalette="primary"> - Important: Layout props (gap, padding, margin, backgroundColor, etc.) must be inside $css prop

  1. Generate code:

- Build JSX from node tree (bottom-up) - Apply style utility props using design tokens - Output production-ready code


Examples

Example 1: Component Usage Query

User: "How do I use the Button component?"

Action:

  1. Run node scripts/get-component-info.mjs 1.0.0-beta.12 button
  2. Run node scripts/get-component-examples.mjs 1.0.0-beta.12 button
  3. Provide props, variants, and example code

Result: Complete Button usage guide with code examples


Example 2: Mockup Generation

User: "Create a login page mockup"

Action:

  1. Run get-component-list.mjs to check available components
  2. Run get-component-info.mjs for text-input, button, card, form
  3. Run get-component-examples.mjs for form patterns
  4. Generate responsive layout using Vapor UI

Result: Production-ready login page code


Example 3: Component Discovery

User: "What form components are available?"

Action:

  1. Run node scripts/get-component-list.mjs 1.0.0-beta.12
  2. Filter output for form-related components (text-input, textarea, checkbox, radio, select, etc.)

Result: Categorized list of form-related components


For Figma conversion examples, see references/conversion-examples.md.


Troubleshooting

ErrorCauseSolution
Component not foundName mismatch or version errorRun get-component-list.mjs, verify version
Script fetch errorInvalid version or network issueRe-run detect-version.mjs, check network
Figma node not recognizedNo 💙 prefixTreat as custom layout (Box/VStack/HStack/Grid)
Spacing mismatchNon-standard valuesRound to nearest token (see token-mapping.md)

References

Component Documentation

  • references/url-patterns.md: GitHub URL patterns for fetching component data
  • references/component-structure.md: Component file structure and JSON schema

Figma Conversion

  • references/figma-layout-mapping.md: Auto-layout to component mapping
  • references/design-system-recognition.md: 💙 prefix component recognition
  • references/token-mapping.md: Figma values to vapor-ui tokens
  • references/conversion-examples.md: Figma to code conversion examples

Scripts

ScriptPurpose
detect-version.mjsDetect @vapor-ui/core and @vapor-ui/icons versions from package.json
get-component-list.mjsList all available components
get-component-info.mjsGet component props and documentation
get-component-examples.mjsGet component example code
get-icon-list.mjsList and search icons (supports --outline, --filled, keyword search)

MCP Tools

ToolPurpose
mcp__figma-dev-mode-mcp-server__get_design_contextFetch Figma design node tree
mcp__figma-dev-mode-mcp-server__get_screenshotGet visual reference image
mcp__figma-dev-mode-mcp-server__get_metadataGet Figma file metadata

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.54%
按下载量换算106

Claude

29.61%
按下载量换算89

Cursor

19.02%
按下载量换算57

Gemini CLI

9.84%
按下载量换算29

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills