Skip to content
Skills Library
Design & UX · Automation

text-replacement

/text-replacement

Chunked, verified replacement of text across a Figma design using figma-mcp-rust. Use when replacing copy in many text nodes at once, such as localization, content swaps, filling in real copy over placeholder text, or updating tables and card lists.

Licence
MIT
Last repository change
12.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 12.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Chunked, verified replacement of text across a Figma design using figma-mcp-rust. Use when replacing copy in many text nodes at once, such as localization, content swaps, filling in real copy over placeholder text, or updating tables and card lists.

Original author description

Chunked, verified replacement of text across a Figma design using figma-mcp-rust. Use when replacing copy in many text nodes at once, such as localization, content swaps, filling in real copy over placeholder text, or updating tables and card lists.

How it works

  1. 1. Analyze Design & Identify Structure
  2. 2. Strategic Chunking for Complex Designs
  3. 3. Progressive Replacement with Verification
  4. 4. Intelligent Handling for Table Data
  5. 5. Smart Text Adaptation
  6. 6. Final Verification & Context-Aware QA
  7. 7. Chunk-Specific Export Scale Guidelines
  8. Best Practices
Original SKILL.md headings · 75 lines, 464 words
SKILL.md preview
---
name: text-replacement
description: Chunked, verified replacement of text across a Figma design using figma-mcp-rust. Use when replacing copy in many text nodes at once, such as localization, content swaps, filling in real copy over placeholder text, or updating tables and card lists.
---

# Intelligent Text Replacement Strategy

## 1. Analyze Design & Identify Structure
- Scan text nodes to understand the overall structure of the design
- Use AI pattern recognition to identify logical groupings:
  * Tables (rows, columns, headers, cells)
  * Lists (items, headers, nested lists)
  * Card groups (similar cards with recurring text fields)
  * Forms (labels, input fields, validation text)
  * Navigation (menu items, breadcrumbs)

scan_text_nodes(nodeId: "node-id")
get_node(nodeId: "node-id")  // optional for extra context

## 2. Strategic Chunking for Complex Designs
- Divide replacement tasks into logical content chunks based on design structure
- Use one of these chunking strategies that best fits the design:
  * Structural Chunking: Table rows/columns, list sections, card groups
  * Spatial Chunking: Top-to-bottom, left-to-right in screen areas
  * Semantic Chunking: Content related to the same topic or functionality
  * Component-Based Chunking: Process similar component instances together

## 3. Progressive Replacement with Verification
- Create a safe copy of the node before bulk replacements
- Replace text chunk by chunk with continuous progress updates
- After each chunk is processed:
  * Export that section with get_screenshot for visual verification
  * Verify text fits properly and maintains design integrity
  * Fix issues before proceeding to the next chunk

// Clone the node to create a safe copy
clone_node(nodeId: "selected-node-id", x: newX, y: newY)

// Replace text one node at a time or in batches
set_text(nodeId: "node-id", text: "New text")

// Verify chunk with targeted image export
get_screenshot(nodeIds: ["chunk-node-id"], format: "PNG", scale: 0.5)

## 4. Intelligent Handling for Table Data
- For tabular content:
  * Process one row or column at a time
  * Maintain alignment and spacing between cells
  * Consider conditional formatting based on cell content
  * Preserve header/data relationships

## 5. Smart Text Adaptation
- Adaptively handle text based on container constraints:
  * Auto-detect space constraints and adjust text length
  * Apply line breaks at appropriate linguistic points
  * Maintain text hierarchy and emphasis

## 6. Final Verification & Context-Aware QA
- After all chunks are processed:
  * Export the entire design at reduced scale for final verification
  * Check for cross-chunk consistency issues
  * Verify proper text flow between different sections
  * Ensure design harmony across the full composition

## 7. Chunk-Specific Export Scale Guidelines
- Scale exports appropriately based on chunk size:
  * Small chunks (1-5 elements): scale 1.0
  * Medium chunks (6-20 elements): scale 0.7
  * Large chunks (21-50 elements): scale 0.5
  * Very large chunks (50+ elements): scale 0.3
  * Full design verification: scale 0.2

## Best Practices
- Preserve Design Intent: Always prioritize design integrity
- Structural Consistency: Maintain alignment, spacing, and hierarchy
- Visual Feedback: Verify each chunk visually before proceeding
- Incremental Improvement: Learn from each chunk to improve subsequent ones
- Respect Content Relationships: Keep related content consistent across chunks

Versions

The database has no other skills named text-replacement.

Database snapshot: 13.11.2026 · package version b4222ddd6015 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100figma-copy-sync
    Use when synchronizing text copy between Figma designs and implemented code. Triggers on requests to update copy from Figma, sync text with designs, check copy matches design, or align UI text with Figma. Requires a working Figma MCP server and browser MCP (chrome-devtools or playwright).
  • 90figma
    Use the Figma MCP server to fetch design context, screenshots, variables, and assets, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.
  • 90pf-figma-design-mode
    Create and edit Figma design files using PatternFly-approved component libraries. Use when building, updating, or restructuring Figma frames and components. Requires Figma MCP.
  • 90pf-figma-design-mode
    Create and edit Figma design files using PatternFly-approved component libraries. Use when building, updating, or restructuring Figma frames and components. Requires Figma MCP.
  • 100using-figma
    Use when implementing UI from Figma designs, comparing implementations against Figma, performing design gap analysis, or planning Figma-based frontend work. Triggers on Figma URLs, node IDs, design-to-code tasks, requests to match a design, or Figma MCP setup and…
  • 100figma-fetch
    Extract frame/component structure and all visible text from a Figma design URL. Use whenever a prompt or a fetched issue contains a figma.com/design or figma.com/file link.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.