Skip to content

JordanCoin/ios-skills-collection / skills/daetojemax--figma-to-swiftui-skill

figma-to-swiftui

Verified

Translate 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.

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
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: 323kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall