Automated summary
This skill provides a Vapor UI design system guide (component catalog, props, examples, icon lookup) and converts Figma designs into production-ready vapor-ui code.
Strengths
- Auto-detects the Vapor UI version installed in the codebase, with separate scripts for core and icons
- Icon lookup supports keyword search plus outline/filled filters
- Full Figma conversion pipeline: URL parsing, design context via the Figma Dev Mode MCP, auto-layout and token mapping
- Produces complete, copy-paste-ready code grounded in real component examples
Limitations
- Relies on bundled Node scripts and the Figma Dev Mode MCP server; without them the skill cannot run
- Scope is limited to the Vapor UI ecosystem (beta versions); components outside the design system need manual mapping
- Figma conversion quality depends on how clean the file is and on node traversal depth
Use it when building an interface with Vapor UI or when a Figma mockup must be turned into vapor-ui components.
Avoid it on projects that use a different design system, or when the Figma MCP server and repo scripts are unavailable.
Security analysis
CautionThe skill does not contain destructive commands, secret exfiltration, base64 payloads, or safety-disabling instructions. However, it relies on running local Node scripts and making MCP/network calls for legitimate design-system and Figma conversion tasks, which merits a caution rating rather than safe.
- •No allowed-tools are declared, but the skill instructs the agent to run local Node scripts and call a Figma MCP server.
- •The referenced scripts and MCP integration are powerful execution/network surfaces; reviewers should verify bundled scripts if present.
- •The provided SKILL.md is truncated in the Troubleshooting section, so the full instruction set is not visible.
Examples
vapor-ui 아이콘 중에서 arrow 관련 아이콘만 outline 스타일로 찾아줘vapor-ui Button 컴포넌트의 props와 variant 종류, 기본 사용 예시 코드를 보여줘이 Figma 시안을 vapor-ui 컴포넌트로 구현해줘: https://www.figma.com/design/AbC123xyz/Checkout?node-id=12-34name: vapor-ui description: Vapor UI design system component and icon guide, UI mockup generator, and Figma design converter. Provides component catalog, icon lookup, usage patterns, props documentation, and converts Figma designs to production-ready vapor-ui code. Use when user asks "vapor-ui components", "vapor-ui icons", "아이콘 찾기", "vapor-ui 사용법", "vapor-ui를 사용해서 시안 구현", "convert figma", "figma to code", "implement design from figma", provides a Figma URL, or mentions specific components like "Button", "Input", "Modal".
Vapor UI Design Skill
Instructions
Step 1: Identify User Intent & Detect Version
Run these checks in parallel:
-
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
-
Determine Vapor UI version (in order of priority):
- User-provided version: If user specifies a version, use it directly
- Auto-detect from codebase:
Output:node scripts/detect-version.mjs [start-path]CORE: x.x.xandICONS: x.x.x
Use
COREversion for component scripts,ICONSversion for icon scripts.
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 iconsnode 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 iconsnode 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:
- Run
get-component-list.mjsto identify available components - Run
get-component-info.mjsfor each needed component's props - Run
get-component-examples.mjsfor usage patterns - Generate code using Vapor UI components only
- Provide complete, copy-paste ready code
Step 5: Figma Design Conversion
For Figma conversion requests:
-
Parse Figma URL to extract
file_keyandnode_id:https://www.figma.com/design/{file_key}/...?node-id={node_id} -
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) -
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
- 💙 prefix nodes: Design system components (see
-
Convert layout properties:
layoutMode: VERTICAL→ VStacklayoutMode: HORIZONTAL→ HStackitemSpacing→ gap tokenpadding*→ padding tokens- See
references/token-mapping.mdfor full mapping
-
Recognize design system components:
- Nodes starting with 💙 are vapor-ui components
- Extract
componentPropertiesfor variant → props mapping - Example:
💙ButtonwithSize: md, ColorPalette: primary→<Button size="md" colorPalette="primary"> - Important: Layout props (
gap,padding,margin,backgroundColor, etc.) must be inside$cssprop
-
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:
- Run
node scripts/get-component-info.mjs 1.0.0-beta.12 button - Run
node scripts/get-component-examples.mjs 1.0.0-beta.12 button - 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:
- Run
get-component-list.mjsto check available components - Run
get-component-info.mjsfor text-input, button, card, form - Run
get-component-examples.mjsfor form patterns - Generate responsive layout using Vapor UI
Result: Production-ready login page code
Example 3: Component Discovery
User: "What form components are available?"
Action:
- Run
node scripts/get-component-list.mjs 1.0.0-beta.12 - 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
| Error | Cause | Solution |
| ------------------------- | -------------------------------- | ----------------------------------------------- |
| Component not found | Name mismatch or version error | Run get-component-list.mjs, verify version |
| Script fetch error | Invalid version or network issue | Re-run detect-version.mjs, check network |
| Figma node not recognized | No 💙 prefix | Treat as custom layout (Box/VStack/HStack/Grid) |
| Spacing mismatch | Non-standard values | Round to nearest token (see token-mapping.md) |
References
Component Documentation
references/url-patterns.md: GitHub URL patterns for fetching component datareferences/component-structure.md: Component file structure and JSON schema
Figma Conversion
references/figma-layout-mapping.md: Auto-layout to component mappingreferences/design-system-recognition.md: 💙 prefix component recognitionreferences/token-mapping.md: Figma values to vapor-ui tokensreferences/conversion-examples.md: Figma to code conversion examples
Scripts
| Script | Purpose |
| ---------------------------- | -------------------------------------------------------------------- |
| detect-version.mjs | Detect @vapor-ui/core and @vapor-ui/icons versions from package.json |
| get-component-list.mjs | List all available components |
| get-component-info.mjs | Get component props and documentation |
| get-component-examples.mjs | Get component example code |
| get-icon-list.mjs | List and search icons (supports --outline, --filled, keyword search) |
MCP Tools
| Tool | Purpose |
| ---------------------------------------------------- | ---------------------------- |
| mcp__figma-dev-mode-mcp-server__get_design_context | Fetch Figma design node tree |
| mcp__figma-dev-mode-mcp-server__get_screenshot | Get visual reference image |
| mcp__figma-dev-mode-mcp-server__get_metadata | Get Figma file metadata |
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/vapor-ui-design-system-mm5t8cd6/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/vapor-ui-design-system-mm5t8cd6' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/vapor-ui-design-system-mm5t8cd6/download' --output '.skill-downloads/vapor-ui-design-system-mm5t8cd6/SKILL.md.part' && mv '.skill-downloads/vapor-ui-design-system-mm5t8cd6/SKILL.md.part' '.skill-downloads/vapor-ui-design-system-mm5t8cd6/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/vapor-ui-design-system-mm5t8cd6/SKILL.md' && test -s '.skill-downloads/vapor-ui-design-system-mm5t8cd6/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/vapor-ui' && cp -R '.skill-downloads/vapor-ui-design-system-mm5t8cd6' '.claude/skills/vapor-ui'Cursor
test -f '.skill-downloads/vapor-ui-design-system-mm5t8cd6/SKILL.md' && test -s '.skill-downloads/vapor-ui-design-system-mm5t8cd6/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/vapor-ui' && cp -R '.skill-downloads/vapor-ui-design-system-mm5t8cd6' '.cursor/skills/vapor-ui'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/vapor-ui-design-system-mm5t8cd6'openskills read 'vapor-ui-design-system-mm5t8cd6'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/vapor-ui-design-system-mm5t8cd6/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.