figma-sync
Skill7 starsChanged 4 months agoMITView on GitHub
Figma sync workflow patterns — bidirectional design-code sync, conflict resolution, incremental updates, multi-file orchestration
2 other projects use a version of this.
Adopted by
Most recently taken up by
- matthewzammit/skillstheir own version, first seen Nov 8, 2026
- tiltCristianValdes/claude-skillstheir own version, first seen Apr 1, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- matthewzammit/skills★ 4same name
- tiltCristianValdes/claude-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository95 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-auditSkill
- agent-memory-profilesSkill
- agent-messaging-gatewaySkill
- agent-session-checkpointsSkill
- agent-skill-migrationSkill
- ai-interaction-designSkill
- animation-craftSkill
- animation-vocabularySkill
- apple-designSkill
- apple-desktop-automationSkill
- approval-sandbox-policiesSkill
- atomic-designSkill
- better-colorsSkill
- better-typographySkill
- better-uiSkill
- browser-research-agentSkill
- codex-opsSkill
- competitive-intelSkill
- component-catalogSkill
- content-designSkill
- creative-rendering-auditSkill
- cron-agent-workflowsSkill
- dashboard-from-researchSkill
- data-synthesisSkill
- design-extractSkill
- design-measurement-and-experimentationSkill
- design-sandbox-proofSkill
- design-system-referenceSkill
- design-systemsSkill
- design-to-code-handoffSkill
- dialkitSkill
- docker-environmentsSkill
- emil-design-engSkill
- figma-auditSkill
- figma-code-connectSkill
- figma-create-fileSkill
- figma-design-systemsSkill
- figma-ds-rulesSkill
- figma-generate-designSkill
- figma-generate-librarySkill
- figma-implement-designSkill
- figma-library-builderSkill
- figma-plugin-apiSkill
- figma-prototypeSkill
- figma-useSkill
- figma-web-captureSkill
- find-animation-opportunitiesSkill
- flutter-genSkill
- gateway-ops-observabilitySkill
- hermes-agent-bridgeSkill
- hyperframes-videoSkill
- improve-animationsSkill
- information-architectureSkill
- interaction-designSkill
- interface-craft-gateSkill
- interview-researchSkill
- ios-app-intentsSkill
- ios-performance-debuggingSkill
- linear-syncSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 50
Never overwrite Figma components that have been modified since last pull
- Very specific: line 52
Use figma.currentPage.findOne() to target specific nodes, not blind creation
- Distinctive: line 56
When both sides have changes:
- Distinctive: line 103
When syncing across multiple Figma files:
- Distinctive: line 155
Always pull before push — ensure local state is current
- Distinctive: line 157
Keep sync operations idempotent — safe to retry
- Distinctive: line 158
Never modify Figma pages the user is actively editing (check selection first)
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Figma Sync Patterns — Memoire Connect Skill
Orchestrates reliable bidirectional sync between Figma and the local codebase through the Memoire bridge.
Sync Modes
1. Pull Sync (Figma to Code)
Trigger: memi pull, document-changed event, or manual
Pipeline:
Figma Plugin
-> getVariables + getComponents + getStyles (parallel)
-> Parse raw data to DesignSystem
-> Diff against existing registry
-> Update changed tokens/components only
-> Auto-spec new components
-> Regenerate affected specsIncremental strategy:
- Compare token values by name + collection — only update changed
- Compare components by
figmaNodeId— detect added/removed/modified - Track
lastSynctimestamp to skip unchanged files
2. Push Sync (Code to Figma)
Trigger: memi sync --push, agent canvas operations
Pipeline:
Local Specs + Tokens
-> Diff against Figma state
-> Generate Figma Plugin API calls
-> Execute via bridge
-> Self-heal (screenshot + verify)
-> Update Code Connect mappingsSafety rules:
- Never overwrite Figma components that have been modified since last pull
- Prompt user if Figma-side changes detected since last sync
- Use
figma.currentPage.findOne()to target specific nodes, not blind creation
3. Bidirectional Merge
When both sides have changes:
| Scenario | Resolution |
| Token value changed in Figma only | Accept Figma |
| Token value changed in code only | Push to Figma |
| Both changed same token | Prompt user — show diff |
| New component in Figma | Pull + auto-spec |
| New spec in code | Push to Figma on next sync |
| Component deleted in Figma | Flag in CLI, don't auto-delete spec |
| Spec deleted locally | Flag, don't auto-delete in Figma |
Change Detection
Token Diffing
interface TokenDiff {
added: DesignToken[];
removed: DesignToken[];
modified: { before: DesignToken; after: DesignToken }[];
unchanged: number;
}Compare by: name + collection as composite key.
Modified = same key but different values object (deep equal).
Component Diffing
interface ComponentDiff {
added: DesignComponent[];
removed: DesignComponent[];
modified: { before: DesignComponent; after: DesignComponent; changes: string[] }[];
}Compare by: figmaNodeId as primary key, name as fallback.
Track changes: name, description, variants, properties.
Multi-File Orchestration
When syncing across multiple Figma files:
- Enumerate files: Each connected plugin reports its
fileKey - Parallel pull: Pull from all connected plugins simultaneously
- Namespace tokens: Prefix with file name to avoid collisions
- Merge design systems: Combine into single registry with source tracking
- Conflict resolution: Same-name tokens from different files prompt user
Event-Driven Sync
The Memoire bridge emits these sync-relevant events:
| Event | When | Suggested Action |
document-changed | Any node modified in Figma | Debounced pull (3s) |
selection | User selects different nodes | Update context, no sync |
page-changed | User switches Figma pages | Refresh page tree |
sync-data | Plugin sends bulk data | Process and update registry |
Operator Console
Widget V2 exposes the bridge as an operator console:
Jobsshows sync, capture, inspect, and healer activity as tracked job stateSelectionshows current node IDs, styles, variants, and layout factsSystemshows bridge status, ports, latency, reconnect state, and buffered changesagent-statussurfaces on-canvas task visibility from the orchestratorconnection-state,job-status,sync-result, and healer state are better sources of truth than raw bridge logs
Debounce Strategy
document-changed: 3 second debounce — batch rapid edits- Multiple changes within window: single pull covers all
- Ignore events while a pull is already in progress
- Queue one follow-up pull if changes arrive during active pull
Error Recovery
| Error | Recovery |
| Plugin disconnected mid-sync | Retry on reconnect and re-run the affected operation explicitly |
| Timeout on getVariables | Retry once with 2x timeout, fall back to cached data |
| Rate limited | Back off 5s, retry with exponential backoff |
| Corrupted response | Log warning, skip this sync cycle, retry next event |
| Registry write fails | Keep in-memory state, retry disk write |
Best Practices
- Always pull before push — ensure local state is current
- Log every sync with timestamp, direction, and counts
- Keep sync operations idempotent — safe to retry
- Never modify Figma pages the user is actively editing (check selection first)
- Preserve user's undo stack — batch Figma operations into single undo group
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

