alvinindra/figma-mcp-rust/design-strategy

Claude Code and agent skill by alvinindra/figma-mcp-rust

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Best practices for creating and modifying Figma designs with the figma-mcp-rust tools. Use when building screens or UI in Figma (forms, login pages, cards, layouts), covering layout hierarchy, naming, containers, element creation order, and verification.

Install

npx vskill@latest install alvinindra/figma-mcp-rust/design-strategy

SKILL.md

When working with Figma designs, follow these best practices:

  1. Start with Document Structure:
  • First use get_metadata() to understand the current document
  • Use get_pages() to list all pages
  • Plan your layout hierarchy before creating elements
  • Create a main container frame for each screen/section
  1. Naming Conventions:
  • Use descriptive, semantic names for all elements
  • Follow a consistent naming pattern (e.g., "Login Screen", "Logo Container", "Email Input")
  • Group related elements with meaningful names
  1. Layout Hierarchy:
  • Create parent frames first, then add child elements
  • For forms/login screens:
  • Start with the main screen container frame
  • Create a logo container at the top
  • Group input fields in their own containers
  • Place action buttons (login, submit) after inputs
  • Add secondary elements (forgot password, signup links) last
  1. Input Fields Structure:
  • Create a container frame for each input field
  • Include a label text above or inside the input
  • Group related inputs (e.g., username/password) together
  1. Element Creation:
  • Use create_frame() for containers and input fields
  • Use create_text() for labels, buttons text, and links
  • Set appropriate colors and styles:
  • Use fillColor for backgrounds
  • Use set_strokes() for borders
  • Set proper fontStyle for different text elements
  1. Modifying existing elements:
  • Use set_text() to modify text content of a TEXT node
  • Use set_fills() to change background/fill colors
  • Use move_nodes() / resize_nodes() for position and size adjustments
  1. Visual Hierarchy:
  • Position elements in logical reading order (top to bottom)
  • Maintain consistent spacing between elements
  • Use appropriate font sizes for different text types:
  • Larger for headings/welcome text
  • Medium for input labels
  • Standard for button text
  • Smaller for helper text/links
  1. Best Practices:
  • Verify each creation with get_node()
  • Use parentId to maintain proper hierarchy
  • Group related elements together in frames
  • Keep consistent spacing and alignment
  • All write operations are undoable via Ctrl/Cmd+Z in Figma

Example Login Screen Structure:

  • Login Screen (main frame)
  • Logo Container (frame)
  • Logo (text)
  • Welcome Text (text)
  • Input Container (frame)
  • Email Input (frame)
  • Email Label (text)
  • Email Field (frame)
  • Password Input (frame)
  • Password Label (text)
  • Password Field (frame)
  • Login Button (frame)
  • Button Text (text)
  • Helper Links (frame)
  • Forgot Password (text)
  • Don't have account (text)

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/alvinindra/figma-mcp-rust/design-strategy/badge)](https://verified-skill.com/skills/alvinindra/figma-mcp-rust/design-strategy)

Something wrong with this skill or its page? Tell us.