alvinindra/figma-mcp-rust/swap-instance-overrides
Claude Code and agent skill by alvinindra/figma-mcp-rust
- community
Checking that the SKILL.md file is still in the repository.
Transfer text and style overrides from a source component instance to one or more target instances with figma-mcp-rust. Use when copying overrides between instances or propagating content across repeated components like cards, list rows, or nav items.
Install
npx vskill@latest install alvinindra/figma-mcp-rust/swap-instance-overridesSKILL.md
Swap Component Instance and Override Strategy
Overview
Transfer content and property overrides from a source instance to one or more target instances in Figma, maintaining design consistency while reducing manual work.
Step-by-Step Process
1. Selection Analysis
- Use get_selection() to identify the parent component or selected instances
- For parent components, scan for instances with:
scan_nodes_by_types(nodeId: "parent-id", types: ["INSTANCE"])
- Identify custom slots by name patterns (e.g. "Custom Slot*" or "Instance Slot")
- Determine which is the source instance (with content to copy) and which are targets
2. Inspect Source Instance
- Use get_node(nodeId: "source-instance-id") to examine the source instance structure
- Use get_nodes_info(nodeIds: [...]) to batch-inspect multiple instances
- Use scan_text_nodes(nodeId: "source-instance-id") to capture all text content
3. Apply Overrides to Targets
- For text overrides: use set_text(nodeId: "target-text-node-id", text: "copied text")
- For fill overrides: use set_fills(nodeId: "target-node-id", color: "#hexcolor")
- For stroke overrides: use set_strokes(nodeId: "target-node-id", color: "#hexcolor")
- Process targets one at a time or identify patterns to apply systematically
4. Verification
- Verify results with get_node() or get_design_context()
- Confirm text content and style overrides have transferred successfully
- Use get_screenshot() for visual confirmation if needed
Key Tips
- Use scan_nodes_by_types to enumerate all instances before starting
- When working with multiple targets, check the full selection with get_selection()
- Prefer reading the full node tree of the source first to understand its structure
- Keep related content consistent across all target instances
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
- SKILL.md in the repositoryCheckingskills/swap-instance-overrides/SKILL.md
Popularity
- Repository stars
- 78
- Repository forks
- 29
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. 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
[](https://verified-skill.com/skills/alvinindra/figma-mcp-rust/swap-instance-overrides)