JordanCoin/ios-skills-collection / skills/daetojemax--figma-to-swiftui-skill
figma-to-swiftui
VerifiedTranslate Figma designs into production-ready SwiftUI code with 1:1 visual fidelity using the Figma MCP workflow. Trigger when the user provides Figma URLs or node IDs and wants iOS/SwiftUI implementation, asks to implement a design or component from Figma for an iOS app, or references Figma selections in the context of an Xcode/SwiftUI project. Also trigger when user asks to inspect Figma designs for iOS planning, fetch design tokens for SwiftUI, or convert Figma assets for Xcode. Requires a working Figma MCP server connection. Do NOT trigger for web/React implementations.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 15.9 KB |
| references/adaptation-workflow.md | markdown | 4.0 KB |
| references/asset-handling.md | markdown | 6.2 KB |
| references/component-variants.md | markdown | 8.1 KB |
| references/design-token-mapping.md | markdown | 3.7 KB |
| references/figma-mcp-setup.md | markdown | 935 B |
| references/layout-translation.md | markdown | 3.9 KB |
| references/responsive-layout.md | markdown | 5.0 KB |
references/figma-mcp-setup.md
View on GitHub# Figma MCP Reference
Assumes Figma MCP server is already connected and working.
## Remote vs Desktop MCP
**Remote MCP** (mcp.figma.com) — the standard setup. Requires fileKey and nodeId from Figma URLs.
**Desktop MCP** — connects to the Figma desktop app directly:
- No fileKey needed (uses currently open file)
- Supports selection-based prompting (select node in Figma, then call tool)
- Requires Figma desktop app running
- Only works with currently open file
## Troubleshooting
get_design_context returns empty:
- Verify nodeId exists in the file
- Try get_metadata first to confirm structure
- Check file permissions
Assets not downloading:
- MCP serves assets via localhost during active session
- If localhost URL fails, session may have expired
- Re-run get_design_context to refresh
Response too large:
- Use get_metadata first for node structure
- Fetch child nodes individually
- Focus on one section at a time
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |