Skip to content

AI-native design editor. Open-source Figma alternative.

Translate AI & Automation + CLI reference to all 6 locales

Danila Poyarkovbfa4b7de8b34
diff --git a/packages/docs/de/programmable/ai-chat.md b/packages/docs/de/programmable/ai-chat.md
new file mode 100644
index 000000000..bad21c464
--- /dev/null
+++ b/packages/docs/de/programmable/ai-chat.md
@@ -0,0 +1,47 @@
+---
+title: KI-Chat
+description: Integrierter KI-Assistent mit 87 Werkzeugen zum Erstellen und Bearbeiten von Designs.
+---
+
+# KI-Chat
+
+Drücke <kbd>⌘</kbd><kbd>J</kbd> (<kbd>Ctrl</kbd> + <kbd>J</kbd>), um den KI-Assistenten zu öffnen. Beschreibe, was du möchtest — er erstellt Formen, setzt Stile, verwaltet Layout, arbeitet mit Komponenten und analysiert dein Design.
+
+## Einrichtung
+
+1. Öffne das KI-Chat-Panel (<kbd>⌘</kbd><kbd>J</kbd>)
+2. Klicke auf das Einstellungssymbol
+3. Gib deinen OpenRouter API-Schlüssel ein
+4. Wähle ein Modell (Claude, GPT-4, Gemini, etc.)
+
+Kein Backend, kein Abonnement — dein Schlüssel kommuniziert direkt mit OpenRouter.
+
+## Was er kann
+
+Der Assistent hat 87 Werkzeuge in diesen Kategorien:
+
+- **Erstellen** — Frames, Formen, Text, Komponenten, Seiten. Rendert JSX für komplexe Layouts.
+- **Gestalten** — Füllungen, Konturen, Effekte, Deckkraft, Eckenradius, Mischmodi.
+- **Layout** — Auto-Layout, Ausrichtung, Abstände, Größenanpassung.
+- **Komponenten** — Komponenten, Instanzen, Komponentensets erstellen. Überschreibungen verwalten.
+- **Variablen** — Variablen, Sammlungen, Modi erstellen/bearbeiten. An Füllungen binden.
+- **Abfragen** — Knoten finden, Eigenschaften lesen, Seiten, Schriften, Auswahl auflisten.
+- **Analysieren** — Farbpalette, Typografie-Audit, Abstandskonsistenz, Cluster-Erkennung.
+- **Exportieren** — PNG, SVG, JSX mit Tailwind-Klassen.
+- **Vektor** — Boolesche Operationen, Pfadbearbeitung.
+
+## Beispiel-Prompts
+
+- „Erstelle eine Karte mit Titel, Beschreibung und einem blauen Button"
+- „Gib allen Buttons auf dieser Seite den gleichen Eckenradius"
+- „Welche Schriften werden in dieser Datei verwendet?"
+- „Ändere den Hintergrund des ausgewählten Frames in einen Verlauf von Blau nach Lila"
+- „Exportiere den ausgewählten Frame als SVG"
+- „Finde alle Textknoten mit einer Schriftgröße kleiner als 12"
+
+## Tipps
+
+- Wähle Knoten aus, bevor du fragst — der Assistent weiß, was ausgewählt ist.
+- Sei spezifisch bei Farben, Größen und Positionen für präzise Ergebnisse.
+- Der Assistent kann mehrere Knoten in einer Nachricht bearbeiten.
+- Verwende „Rückgängig" im Editor, wenn dir das Ergebnis nicht gefällt.
diff --git a/packages/docs/de/programmable/cli/analyzing.md b/packages/docs/de/programmable/cli/analyzing.md
new file mode 100644
index 000000000..e5952c4ed
--- /dev/null
+++ b/packages/docs/de/programmable/cli/analyzing.md
@@ -0,0 +1,65 @@
+---
+title: Designs analysieren
+description: Farben, Typografie, Abstände und wiederkehrende Muster in .fig-Dateien auditieren.
+---
+
+# Designs analysieren
+
+Die `analyze`-Befehle prüfen ein gesamtes Designsystem vom Terminal aus — Inkonsistenzen finden, die tatsächliche Palette extrahieren, Komponenten erkennen, die noch extrahiert werden sollten.
+
+## Farben
+
+```sh
+open-pencil analyze colors design.fig
+```
+
+Findet jede Farbe in der Datei, zählt die Verwendung und zeigt ein visuelles Histogramm:
+
+```
+#1d1b20 ██████████████████████████████ 17155×
+#49454f ██████████████████████████████ 9814×
+#ffffff ██████████████████████████████ 8620×
+#6750a4 ██████████████████████████████ 3967×
+```
+
+## Typografie
+
+```sh
+open-pencil analyze typography design.fig
+```
+
+Listet jede Kombination aus Schriftfamilie, -größe und -gewicht mit Nutzungszahlen auf. Nützlich, um einmalige Textstile zu erkennen, die konsolidiert werden sollten.
+
+## Abstände
+
+```sh
+open-pencil analyze spacing design.fig
+```
+
+Prüft Gap- und Padding-Werte über alle Auto-Layout-Frames hinweg. Hilft, Inkonsistenzen in der Abstandsskala zu identifizieren — z.B. ein einzelner `13px`-Gap zwischen ansonsten `8/16/24`-Werten.
+
+## Cluster
+
+```sh
+open-pencil analyze clusters design.fig
+```
+
+Findet wiederkehrende Knotenmuster, die in Komponenten extrahiert werden könnten:
+
+```
+3771× frame "container" (100% match)
+ size: 40×40, structure: Frame > [Frame]
+
+2982× instance "Checkboxes" (100% match)
+ size: 48×48, structure: Instance > [Frame]
+```
+
+## JSON-Ausgabe
+
+Alle Analyse-Befehle unterstützen `--json` für maschinenlesbare Ausgabe:
+
+```sh
+open-pencil analyze colors design.fig --json
+```
+
+Weiterleiten an `jq`, in CI-Prüfungen einspeisen oder in Skripten verwenden, die Design-Token-Budgets durchsetzen.
diff --git a/packages/docs/de/programmable/cli/exporting.md b/packages/docs/de/programmable/cli/exporting.md
new file mode 100644
index 000000000..6f9af3bb7
--- /dev/null
+++ b/packages/docs/de/programmable/cli/exporting.md
@@ -0,0 +1,59 @@
+---
+title: Exportieren
+description: .fig-Dateien als PNG, JPG, WEBP, SVG oder JSX mit Tailwind-Klassen rendern.
+---
+
+# Exportieren
+
+Designs vom Terminal aus exportieren — Rasterbilder, Vektoren oder JSX-Code.
+
+## Bildexport
+
+```sh
+open-pencil export design.fig # PNG (Standard)
+open-pencil export design.fig -f jpg -s 2 -q 90 # JPG in 2×, Qualität 90
+open-pencil export design.fig -f webp -s 3 # WEBP in 3×
+open-pencil export design.fig -f svg # SVG-Vektor
+```
+
+Optionen:
+
+- `-f` — Format: `png`, `jpg`, `webp`, `svg`, `jsx`
+- `-s` — Skalierung: `1`–`4`
+- `-q` — Qualität: `0`–`100` (nur JPG/WEBP)
+- `-o` — Ausgabepfad
+- `--page` — Seitenname
+- `--node` — bestimmte Knoten-ID
+
+## JSX-Export
+
+Als JSX mit Tailwind-Utility-Klassen exportieren:
+
+```sh
+open-pencil export design.fig -f jsx --style tailwind
+```
+
+Ausgabe:
+
+```html
+<div className="flex flex-col gap-4 p-6 bg-white rounded-xl">
+ <p className="text-2xl font-bold text-[#1D1B20]">Card Title</p>
+ <p className="text-sm text-[#49454F]">Description text</p>
+</div>
+```
+
+Unterstützt auch `--style openpencil` für das native JSX-Format (siehe [JSX-Renderer](../jsx-renderer)).
+
+## Vorschaubilder
+
+```sh
+open-pencil export design.fig --thumbnail --width 1920 --height 1080
+```
+
+## Live-App-Modus
+
+Lass die Datei weg, um aus der laufenden App zu exportieren:
+
+```sh
+open-pencil export -f png # Screenshot der aktuellen Zeichenfläche
+```
diff --git a/packages/docs/de/programmable/cli/inspecting.md b/packages/docs/de/programmable/cli/inspecting.md
new file mode 100644
index 000000000..1adcfd525
--- /dev/null
+++ b/packages/docs/de/programmable/cli/inspecting.md
@@ -0,0 +1,98 @@
+---
+title: Dateien inspizieren
+description: Knotenbäume durchsuchen, nach Name oder Typ suchen und Eigenschaften im Terminal untersuchen.
+---
+
+# Dateien inspizieren
+
+Das CLI ermöglicht es, `.fig`-Dateien zu erkunden, ohne den Editor zu öffnen. Jeder Befehl funktioniert auch mit der laufenden App — lass einfach das Dateiargument weg.
+
+::: tip Installation
+```sh
+bun add -g @open-pencil/cli
+# oder
+brew install open-pencil/tap/open-pencil
+```
+:::
+
+## Dokumentinformationen
+
+Erhalte einen schnellen Überblick — Seitenanzahl, Gesamtknoten, verwendete Schriften, Dateigröße:
+
+```sh
+open-pencil info design.fig
+```
+
+## Knotenbaum
+
+Gibt die vollständige Knotenhierarchie aus:
+
+```sh
+open-pencil tree design.fig
+```
+
+```
+[0] [page] "Getting started" (0:46566)
+ [0] [section] "" (0:46567)
+ [0] [frame] "Body" (0:46568)
+ [0] [frame] "Introduction" (0:46569)
+ [0] [frame] "Introduction Card" (0:46570)
+ [0] [frame] "Guidance" (0:46571)
+```
+
+## Knoten finden
+
+Nach Typ suchen:
+
+```sh
+open-pencil find design.fig --type TEXT
+```
+
+Nach Name suchen:
+
+```sh
+open-pencil find design.fig --name "Button"
+```
+
+Beide Flags können kombiniert werden, um Ergebnisse weiter einzugrenzen.
+
+## Knotendetails
+
+Alle Eigenschaften eines bestimmten Knotens anhand seiner ID inspizieren:
+
+```sh
+open-pencil node design.fig --id 1:23
+```
+
+## Seiten
+
+Alle Seiten im Dokument auflisten:
+
+```sh
+open-pencil pages design.fig
+```
+
+## Variablen
+
+Designvariablen und ihre Sammlungen auflisten:
+
+```sh
+open-pencil variables design.fig
+```
+
+## Live-App-Modus
+
+Wenn die Desktop-App läuft, lass das Dateiargument weg — das CLI verbindet sich über RPC und arbeitet auf der Live-Zeichenfläche:
+
+```sh
+open-pencil tree # das Live-Dokument inspizieren
+open-pencil eval -c "..." # den Editor abfragen
+```
+
+## JSON-Ausgabe
+
+Alle Befehle unterstützen `--json` für maschinenlesbare Ausgabe — weiterleiten an `jq`, in CI-Skripte einspeisen oder mit anderen Werkzeugen verarbeiten:
+
+```sh
+open-pencil tree design.fig --json | jq '.[] | .name'
+```
diff --git a/packages/docs/de/programmable/cli/scripting.md b/packages/docs/de/programmable/cli/scripting.md
new file mode 100644
index 000000000..2550c0162
--- /dev/null
+++ b/packages/docs/de/programmable/cli/scripting.md
@@ -0,0 +1,70 @@
+---
+title: Skripting
+description: JavaScript mit der Figma Plugin API ausführen — Knoten abfragen, Designs im Stapel bearbeiten, Frames erstellen.
+---
+
+# Skripting
+
+`open-pencil eval` bietet dir die vollständige Figma Plugin API im Terminal. Knoten lesen, Eigenschaften ändern, Formen erstellen — und Änderungen zurück in die Datei schreiben.
+
+## Grundlegende Verwendung
+
+```sh
+open-pencil eval design.fig -c "figma.currentPage.children.length"
+```
+
+Das `-c`-Flag nimmt JavaScript entgegen. Das `figma`-Global funktioniert wie die Figma Plugin API.
+
+## Knoten abfragen
+
+```sh
+open-pencil eval design.fig -c "
+ figma.currentPage.findAll(n => n.type === 'FRAME' && n.name.includes('Button'))
+ .map(b => ({ id: b.id, name: b.name, w: b.width, h: b.height }))
+"
+```
+
+## Bearbeiten und speichern
+
+```sh
+open-pencil eval design.fig -c "
+ figma.currentPage.children.forEach(n => n.opacity = 0.5)
+" -w
+```
+
+`-w` schreibt die Änderungen zurück in die Eingabedatei. Verwende `-o output.fig`, um stattdessen in eine andere Datei zu schreiben.
+
+## Von Stdin lesen
+
+Für längere Skripte:
+
+```sh
+cat transform.js | open-pencil eval design.fig --stdin -w
+```
+
+## Live-App-Modus
+
+Lass die Datei weg, um gegen die laufende Desktop-App auszuführen:
+
+```sh
+open-pencil eval -c "figma.currentPage.name"
+```
+
+## Verfügbare API
+
+Das `figma`-Objekt unterstützt:
+
+- `figma.currentPage` — die aktive Seite
+- `figma.root` — das Dokumentwurzel-Element
+- `figma.createFrame()`, `figma.createRectangle()`, `figma.createEllipse()`, `figma.createText()`, etc.
+- `.findAll()`, `.findOne()` — Nachkommen durchsuchen
+- `.appendChild()`, `.insertChild()` — Baummanipulation
+- Alle Eigenschafts-Setter: `.fills`, `.strokes`, `.effects`, `.opacity`, `.cornerRadius`, `.layoutMode`, `.itemSpacing`, etc.
+
+Dies ist dieselbe API, die Figma-Plugins verwenden, sodass bestehendes Wissen und Code-Snippets direkt übertragbar sind.
+
+## JSON-Ausgabe
+
+```sh
+open-pencil eval design.fig -c "..." --json
+```
diff --git a/packages/docs/de/programmable/collaboration.md b/packages/docs/de/programmable/collaboration.md
new file mode 100644
index 000000000..fcdb8a52a
--- /dev/null
+++ b/packages/docs/de/programmable/collaboration.md
@@ -0,0 +1,38 @@
+---
+title: Zusammenarbeit
+description: Echtzeit-Zusammenarbeit über P2P WebRTC — kein Server, kein Konto.
+---
+
+# Zusammenarbeit
+
+Bearbeite Designs gemeinsam in Echtzeit. Peers verbinden sich direkt — kein Server leitet deine Daten weiter, kein Konto erforderlich.
+
+## Einen Raum teilen
+
+1. Klicke auf den Teilen-Button in der oberen rechten Ecke
+2. Kopiere den generierten Link (`app.openpencil.dev/share/<room-id>`)
+3. Sende ihn an deine Mitarbeiter
+
+Jeder mit dem Link kann beitreten. Der Raum bleibt aktiv, solange mindestens ein Teilnehmer die Seite geöffnet hat.
+
+## Was synchronisiert wird
+
+- **Dokumentänderungen** — jede Bearbeitung (Formen, Text, Eigenschaften, Layout) wird sofort synchronisiert
+- **Cursor** — sieh, wo jeder Mitarbeiter zeigt, mit Name und Farbe
+- **Auswahlen** — markierte Auswahlen sind für alle sichtbar
+
+## Folgemodus
+
+Klicke auf den Avatar eines Mitarbeiters in der oberen Leiste, um seinem Viewport zu folgen. Deine Zeichenfläche schwenkt und zoomt passend zu seiner Ansicht. Klicke erneut, um das Folgen zu beenden.
+
+## So funktioniert es
+
+Peers verbinden sich direkt über WebRTC — deine Designdaten gehen direkt von Browser zu Browser, nie über einen zentralen Server. Der Dokumentzustand verwendet einen CRDT (Conflict-free Replicated Data Type), sodass gleichzeitige Bearbeitungen automatisch ohne Konflikte zusammengeführt werden.
+
+Der Raum bleibt lokal bestehen — wenn du die Seite aktualisierst, trittst du mit dem gleichen Zustand wieder bei.
+
+## Tipps
+
+- Funktioniert im Browser und in der Desktop-App
+- Raum-IDs sind kryptografisch zufällig — nur Personen mit dem Link können beitreten
+- Veraltete Cursor werden automatisch bereinigt, wenn jemand die Verbindung trennt
diff --git a/packages/docs/de/programmable/index.md b/packages/docs/de/programmable/index.md
new file mode 100644
index 000000000..aab66641a
--- /dev/null
+++ b/packages/docs/de/programmable/index.md
@@ -0,0 +1,51 @@
+---
+layout: doc
+title: KI & Automatisierung
+description: Jede Operation in OpenPencil ist skriptfähig — KI-Chat, CLI, JSX-Renderer, MCP-Server, Echtzeit-Zusammenarbeit.
+---
+
+# KI & Automatisierung
+
+OpenPencil behandelt Designdateien als Daten. Jede im Editor verfügbare Operation — Formen erstellen, Füllungen setzen, Auto-Layout verwalten, Assets exportieren — ist auch über das Terminal, über KI-Agenten und aus Code heraus verfügbar. Keine Plugins zu installieren, keine API-Schlüssel, keine Warteliste.
+
+Die Editor-Oberfläche und die Automatisierungsschnittstellen verwenden dieselbe Engine. Was du per Klick machen kannst, kannst du auch per Skript machen.
+
+## KI-Chat
+
+Der integrierte Assistent hat Zugriff auf 87 Werkzeuge, die die gesamte Oberfläche des Editors abdecken. Beschreibe in natürlicher Sprache, was du möchtest — „füge allen Buttons einen 16px Schlagschatten hinzu", „erstelle eine Kartenkomponente mit Dark-Mode-Variante", „exportiere jeden Frame auf dieser Seite in 2×".
+
+[KI-Chat →](./ai-chat)
+
+## Zusammenarbeit
+
+Echtzeit-Multiplayer-Bearbeitung über Peer-to-Peer WebRTC. Kein Server, kein Konto. Teile einen Raum-Link und bearbeite gemeinsam mit Live-Cursorn und Folgemodus. Der Dokumentzustand wird über CRDT synchronisiert, sodass Bearbeitungen auch bei instabilen Verbindungen automatisch zusammengeführt werden.
+
+[Zusammenarbeit →](./collaboration)
+
+## JSX-Renderer
+
+Beschreibe UI als JSX — die gleiche Syntax, die LLMs bereits von React kennen. Ein einziger Aufruf kann einen ganzen Komponentenbaum mit Frames, Text, Auto-Layout, Füllungen und Konturen erstellen. Kompakt, deklarativ und diff-fähig.
+
+In die andere Richtung kannst du jede Auswahl als JSX mit Tailwind-Klassen exportieren — nützlich für die Übergabe an die Entwicklung oder um Designs zurück in ein LLM einzuspeisen.
+
+[JSX-Renderer →](./jsx-renderer)
+
+## CLI
+
+`.fig`-Dateien inspizieren, exportieren und analysieren, ohne den Editor zu öffnen. Seiten auflisten, Knoten suchen, Design-Tokens extrahieren, als PNG rendern — alles vom Terminal aus mit maschinenlesbarer JSON-Ausgabe.
+
+Das CLI verbindet sich auch über RPC mit der laufenden Desktop-App, sodass du den Editor skripten kannst, während du ihn benutzt.
+
+[Dateien inspizieren](./cli/inspecting) · [Exportieren](./cli/exporting) · [Designs analysieren](./cli/analyzing) · [Skripting](./cli/scripting)
+
+## MCP-Server
+
+Verbinde Claude Code, Cursor, Windsurf oder jeden MCP-kompatiblen Client mit OpenPencil. Der Server stellt 90 Werkzeuge zum Lesen, Erstellen und Bearbeiten von Designs bereit — dieselben Werkzeuge, die der integrierte KI-Chat verwendet. Läuft über stdio oder HTTP mit Session-Unterstützung.
+
+[MCP-Server →](./mcp-server)
+
+## Warum offen?
+
+Figma ist eine geschlossene Plattform. Ihr MCP-Server ist schreibgeschützt. Der CDP-Browserzugang wurde in Version 126 abgeschafft. Designdateien liegen in einem proprietären Format auf fremden Servern. Plugin-Entwicklung erfordert eine eigene Laufzeitumgebung mit eingeschränkten APIs.
+
+OpenPencil ist die Alternative: Open Source, MIT-lizenziert, jede Operation skriptfähig, Daten lokal gespeichert. Deine Designdateien gehören dir — inspiziere sie, transformiere sie, leite sie in die CI weiter, speise sie in ein LLM ein. Keine Erlaubnis nötig.
diff --git a/packages/docs/de/programmable/jsx-renderer.md b/packages/docs/de/programmable/jsx-renderer.md
new file mode 100644
index 000000000..1aa1e5252
--- /dev/null
+++ b/packages/docs/de/programmable/jsx-renderer.md
@@ -0,0 +1,116 @@
+---
+title: JSX-Renderer
+description: Designs mit JSX erstellen — die Syntax, die LLMs bereits von Millionen von React-Komponenten kennen.
+---
+
+# JSX-Renderer
+
+OpenPencil verwendet JSX als Sprache zur Designerstellung. LLMs haben Millionen von React-Komponenten gesehen — ein Layout als `<Frame><Text>` zu beschreiben ist natürlich, kein spezielles Training nötig. Jedes Token zählt, wenn ein KI-Agent Dutzende von Operationen durchführt, und JSX ist die kompakteste deklarative Darstellung.
+
+JSX ist auch diff-fähig. Wenn eine KI ein Design ändert, ist die Änderung ein JSX-Diff — lesbar, überprüfbar, versionierbar.
+
+## Designs erstellen
+
+Das `render`-Werkzeug (verfügbar im KI-Chat, MCP und CLI eval) akzeptiert JSX:
+
+```jsx
+<Frame name="Card" w={320} h="hug" flex="col" gap={16} p={24} bg="#FFF" rounded={16}>
+ <Text size={18} weight="bold">Card Title</Text>
+ <Text size={14} color="#666">Description text</Text>
+</Frame>
+```
+
+Im MCP-Server und KI-Chat akzeptiert das `render`-Werkzeug JSX-Strings direkt. Im CLI verwendest du den `export`-Befehl für die umgekehrte Richtung — [Designs als JSX exportieren](./cli/exporting).
+
+## Elemente
+
+Alle Knotentypen sind als JSX-Elemente verfügbar:
+
+| Element | Erstellt | Aliasse |
+|---------|----------|---------|
+| `<Frame>` | Frame (Container, unterstützt Auto-Layout) | `<View>` |
+| `<Rectangle>` | Rechteck | `<Rect>` |
+| `<Ellipse>` | Ellipse / Kreis | |
+| `<Text>` | Textknoten (Kinder werden zum Textinhalt) | |
+| `<Line>` | Linie | |
+| `<Star>` | Stern | |
+| `<Polygon>` | Polygon | |
+| `<Vector>` | Vektorpfad | |
+| `<Group>` | Gruppe | |
+| `<Section>` | Abschnitt | |
+
+## Stil-Props
+
+Kompakte Kurzschreibweisen, inspiriert von Tailwinds Benennung.
+
+### Layout
+
+| Prop | Beschreibung |
+|------|--------------|
+| `flex` | `"row"` oder `"col"` — aktiviert Auto-Layout |
+| `gap` | Abstand zwischen Kindern |
+| `wrap` | Kinder in nächste Zeile umbrechen |
+| `rowGap` | Gegenachsen-Abstand beim Umbrechen |
+| `justify` | `"start"`, `"end"`, `"center"`, `"between"` |
+| `items` | `"start"`, `"end"`, `"center"`, `"stretch"` |
+| `p`, `px`, `py`, `pt`, `pr`, `pb`, `pl` | Innenabstand |
+
+### Größe & Position
+
+| Prop | Beschreibung |
+|------|--------------|
+| `w`, `h` | Breite/Höhe — Zahl, `"fill"` oder `"hug"` |
+| `minW`, `maxW`, `minH`, `maxH` | Größenbeschränkungen |
+| `x`, `y` | Position |
+
+### Erscheinungsbild
+
+| Prop | Beschreibung |
+|------|--------------|
+| `bg` | Hintergrundfüllung (Hex-Farbe) |
+| `fill` | Alias für `bg` |
+| `stroke` | Konturfarbe |
+| `strokeWidth` | Konturbreite (Standard: 1) |
+| `rounded` | Eckenradius (oder `roundedTL`, `roundedTR`, `roundedBL`, `roundedBR`) |
+| `cornerSmoothing` | iOS-artig abgerundete Ecken (0–1) |
+| `opacity` | 0–1 |
+| `shadow` | Schlagschatten (z.B. `"0 4 8 #00000040"`) |
+| `blur` | Ebenen-Unschärferadius |
+| `rotate` | Rotation in Grad |
+| `blendMode` | Mischmodus |
+| `overflow` | `"hidden"` oder `"visible"` |
+
+### Typografie
+
+| Prop | Beschreibung |
+|------|--------------|
+| `size` / `fontSize` | Schriftgröße |
+| `font` / `fontFamily` | Schriftfamilie |
+| `weight` / `fontWeight` | `"bold"`, `"medium"`, `"normal"` oder Zahl |
+| `color` | Textfarbe |
+| `textAlign` | `"left"`, `"center"`, `"right"`, `"justified"` |
+
+## Als JSX exportieren
+
+Bestehende Designs zurück in JSX konvertieren:
+
+```sh
+open-pencil export design.fig -f jsx # OpenPencil-Format
+open-pencil export design.fig -f jsx --style tailwind # Tailwind-Klassen
+```
+
+Der Roundtrip funktioniert: Exportiere ein Design als JSX, bearbeite den Code, rendere es zurück.
+
+## Visuelles Diffing
+
+Da Designs als JSX darstellbar sind, werden Änderungen zu Code-Diffs:
+
+```diff
+ <Frame name="Card" w={320} flex="col" gap={16} p={24} bg="#FFF">
+- <Text size={18} weight="bold">Old Title</Text>
++ <Text size={24} weight="bold" color="#1D1B20">New Title</Text>
+ <Text size={14} color="#666">Description</Text>
+ </Frame>
+```
+
+Das macht Designänderungen in Pull Requests überprüfbar, in der Versionskontrolle nachverfolgbar und in der CI auditierbar.
diff --git a/packages/docs/de/programmable/mcp-server.md b/packages/docs/de/programmable/mcp-server.md
new file mode 100644
index 000000000..e296a6447
--- /dev/null
+++ b/packages/docs/de/programmable/mcp-server.md
@@ -0,0 +1,251 @@
+# MCP Server
+
+OpenPencil includes an MCP (Model Context Protocol) server that lets AI coding tools — Claude Code, Cursor, Windsurf, etc. — read and modify `.fig` files headlessly.
+
+Two transports: **stdio** for MCP clients, **HTTP** for everything else.
+
+## Install
+
+```sh
+bun add -g @open-pencil/mcp
+```
+
+## Stdio (Claude Code, Cursor, etc.)
+
+Add to your MCP config (e.g. `~/.claude/settings.json` or `.cursor/mcp.json`):
+
+```json
+{
+ "mcpServers": {
+ "open-pencil": {
+ "command": "openpencil-mcp"
+ }
+ }
+}
+```
+
+Or run from source without installing:
+
+::: code-group
+```json [Bun]
+{
+ "mcpServers": {
+ "open-pencil": {
+ "command": "bun",
+ "args": ["/path/to/open-pencil/packages/mcp/src/index.ts"]
+ }
+ }
+}
+```
+```json [Node.js]
+{
+ "mcpServers": {
+ "open-pencil": {
+ "command": "npx",
+ "args": ["tsx", "/path/to/open-pencil/packages/mcp/src/index.ts"]
+ }
+ }
+}
+```
+:::
+
+## HTTP
+
+For browser extensions, scripts, CI, or any HTTP client:
+
+```sh
+openpencil-mcp-http
+```
+
+Or from source: `bun packages/mcp/src/http.ts` / `npx tsx packages/mcp/src/http.ts`
+
+Security defaults (HTTP transport):
+
+- Binds to `127.0.0.1` by default (`HOST` to override)
+- `eval` tool is disabled
+- File operations are limited to `OPENPENCIL_MCP_ROOT` (defaults to current working directory)
+- CORS is disabled by default; set `OPENPENCIL_MCP_CORS_ORIGIN` to allow one origin
+- Optional auth token: `OPENPENCIL_MCP_AUTH_TOKEN` (client sends `Authorization: Bearer <token>` or `x-mcp-token`)
+
+Server starts on port 3100 (override with `PORT` env var). Endpoints:
+
+- `GET /health` — server status
+- `POST /mcp` — MCP Streamable HTTP (SSE). Sessions via `mcp-session-id` header.
+
+## Workflow
+
+1. **Open** — `open_file` to load an existing `.fig`, or `new_document` for a blank canvas
+2. **Read** — `get_page_tree`, `find_nodes`, `get_node`, `list_pages`
+3. **Create** — `create_shape`, `render` (JSX)
+4. **Modify** — `set_fill`, `set_stroke`, `set_layout`, `update_node`, `set_effects`
+5. **Structure** — `reparent_node`, `group_nodes`, `clone_node`, `delete_node`
+6. **Save** — `save_file` to write back to `.fig`
+
+## AI Agent Skill
+
+Teach your AI coding agent to use OpenPencil tools:
+
+```sh
+npx skills add open-pencil/skills@open-pencil
+```
+
+Works with Claude Code, Cursor, Windsurf, Codex, and any agent that supports [skills](https://skills.sh). The skill covers the CLI, MCP tools, JSX rendering, eval, and the running app's automation bridge.
+
+## Tools (90)
+
+### Document
+
+| Tool | Description |
+|------|-------------|
+| `open_file` | Open a `.fig` file for editing |
+| `save_file` | Save the current document to a `.fig` file |
+| `new_document` | Create a new empty document |
+
+### Read
+
+| Tool | Description |
+|------|-------------|
+| `get_selection` | Get currently selected nodes |
+| `get_page_tree` | Get the full node tree of the current page |
+| `get_current_page` | Get the current page name and ID |
+| `get_node` | Get detailed properties of a node by ID |
+| `find_nodes` | Find nodes by name pattern and/or type |
+| `get_components` | List all components in the document |
+| `list_pages` | List all pages |
+| `list_variables` | List design variables |
+| `list_collections` | List variable collections |
+| `list_fonts` | List fonts used in the current page |
+| `page_bounds` | Get bounding box of all objects on the current page |
+| `node_bounds` | Get bounding box of a node |
+| `node_ancestors` | Get ancestor chain of a node |
+| `node_children` | Get direct children of a node |
+| `node_tree` | Get the subtree rooted at a node |
+| `node_bindings` | Get variable bindings on a node |
+
+### Create
+
+| Tool | Description |
+|------|-------------|
+| `create_shape` | Create a shape (`FRAME`, `RECTANGLE`, `ELLIPSE`, `TEXT`, `LINE`, `STAR`, `POLYGON`, `SECTION`) |
+| `create_vector` | Create a vector node from a path string |
+| `create_slice` | Create an export slice |
+| `create_page` | Create a new page |
+| `render` | Render JSX to design nodes — create entire component trees in one call |
+| `create_component` | Convert a frame/group into a component |
+| `create_instance` | Create an instance of a component |
+| `node_to_component` | Convert an existing node into a component in-place |
+
+### Modify
+
+| Tool | Description |
+|------|-------------|
+| `set_fill` | Set fill color (hex) |
+| `set_stroke` | Set stroke color, weight, alignment |
+| `set_effects` | Add shadow or blur effects |
+| `update_node` | Update position, size, opacity, corner radius, text, font |
+| `set_layout` | Set auto-layout (flexbox) — direction, spacing, padding, alignment |
+| `set_constraints` | Set resize constraints |
+| `set_rotation` | Set rotation angle in degrees |
+| `set_opacity` | Set opacity (0–1) |
+| `set_radius` | Set corner radius (uniform or per-corner) |
+| `set_minmax` | Set min/max width and height constraints |
+| `set_text` | Set text content of a `TEXT` node |
+| `set_font` | Set font family and weight |
+| `set_font_range` | Set font properties on a character range |
+| `set_text_resize` | Set text auto-resize mode (fixed/auto-width/auto-height) |
+| `set_visible` | Show or hide a node |
+| `set_blend` | Set blend mode |
+| `set_locked` | Lock or unlock a node |
+| `set_stroke_align` | Set stroke alignment (inside/center/outside) |
+| `set_text_properties` | Set text layout: alignment, auto-resize, text case, decoration, truncation |
+| `set_layout_child` | Configure auto-layout child: sizing, grow, alignment, absolute positioning |
+| `node_move` | Move a node to a new position |
+| `node_resize` | Resize a node |
+| `node_replace_with` | Replace a node with another node |
+| `arrange` | Align or distribute selected nodes |
+
+### Structure
+
+| Tool | Description |
+|------|-------------|
+| `delete_node` | Delete a node |
+| `clone_node` | Duplicate a node |
+| `rename_node` | Rename a node |
+| `reparent_node` | Move a node into a different parent |
+| `select_nodes` | Select nodes by ID |
+| `group_nodes` | Group nodes |
+| `ungroup_node` | Ungroup a group |
+| `flatten_nodes` | Flatten nodes into a single vector |
+| `boolean_union` | Boolean union of two or more nodes |
+| `boolean_subtract` | Boolean subtraction |
+| `boolean_intersect` | Boolean intersection |
+| `boolean_exclude` | Boolean exclusion |
+
+### Vector Path
+
+| Tool | Description |
+|------|-------------|
+| `path_get` | Get the path data of a vector node |
+| `path_set` | Set the path data of a vector node |
+| `path_scale` | Scale a vector path |
+| `path_flip` | Flip a vector path horizontally or vertically |
+| `path_move` | Translate a vector path |
+
+### Export
+
+| Tool | Description |
+|------|-------------|
+| `export_image` | Export nodes as PNG, JPG, or WEBP. Returns base64-encoded image data |
+| `export_svg` | Export nodes as SVG markup |
+
+### Viewport
+
+| Tool | Description |
+|------|-------------|
+| `viewport_get` | Get current viewport position and zoom level |
+| `viewport_set` | Set viewport position and zoom |
+| `viewport_zoom_to_fit` | Zoom viewport to fit specified nodes |
+
+### Variables
+
+| Tool | Description |
+|------|-------------|
+| `get_variable` | Get a variable by ID or name |
+| `find_variables` | Find variables by name pattern or type |
+| `create_variable` | Create a new variable in a collection |
+| `set_variable` | Set a variable value in a mode |
+| `delete_variable` | Delete a variable |
+| `bind_variable` | Bind a variable to a node property |
+| `get_collection` | Get a variable collection by ID or name |
+| `create_collection` | Create a new variable collection |
+| `delete_collection` | Delete a variable collection |
+
+### Analyze
+
+| Tool | Description |
+|------|-------------|
+| `analyze_colors` | Analyze color palette usage across the document |
+| `analyze_typography` | Analyze font/size/weight distribution |
+| `analyze_spacing` | Analyze gap and padding values |
+| `analyze_clusters` | Detect repeated patterns (potential components) |
+
+### Diff
+
+| Tool | Description |
+|------|-------------|
+| `diff_create` | Create a snapshot of the current document state |
+| `diff_show` | Show differences between the current state and a snapshot |
+
+### Navigation
+
+| Tool | Description |
+|------|-------------|
+| `switch_page` | Switch to a page by name or ID |
+
+### Escape Hatch
+
+| Tool | Description |
+|------|-------------|
+| `eval` | Execute JavaScript with full Figma Plugin API access |
+
+Note: `eval` is available over stdio, but disabled in HTTP mode for security.
diff --git a/packages/docs/de/reference/cli.md b/packages/docs/de/reference/cli.md
new file mode 100644
index 000000000..6f83df440
--- /dev/null
+++ b/packages/docs/de/reference/cli.md
@@ -0,0 +1,184 @@
+---
+title: CLI Reference
+description: Complete reference for all open-pencil commands, options, and flags.
+---
+
+# CLI Reference
+
+All commands accept a `.fig` file as a positional argument. When omitted, the CLI connects to the running desktop app via RPC.
+
+## info
+
+Show document info — pages, node counts, fonts, file size.
+
+```sh
+open-pencil info [file] [--json]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--json` | Output as JSON |
+
+## tree
+
+Print the node hierarchy.
+
+```sh
+open-pencil tree [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--page` | Page name (default: first page) |
+| `--depth` | Max depth (default: unlimited) |
+| `--json` | Output as JSON |
+
+## find
+
+Search nodes by name or type.
+
+```sh
+open-pencil find [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--name` | Node name (partial match, case-insensitive) |
+| `--type` | Node type: `FRAME`, `TEXT`, `RECTANGLE`, `INSTANCE`, etc. |
+| `--page` | Page name (default: all pages) |
+| `--limit` | Max results (default: 100) |
+| `--json` | Output as JSON |
+
+## node
+
+Show detailed properties of a node.
+
+```sh
+open-pencil node [file] --id <id> [--json]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--id` | **Required.** Node ID (e.g. `1:23`) |
+| `--json` | Output as JSON |
+
+## pages
+
+List all pages in the document.
+
+```sh
+open-pencil pages [file] [--json]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--json` | Output as JSON |
+
+## variables
+
+List design variables and collections.
+
+```sh
+open-pencil variables [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--collection` | Filter by collection name |
+| `--type` | Filter by type: `COLOR`, `FLOAT`, `STRING`, `BOOLEAN` |
+| `--json` | Output as JSON |
+
+## export
+
+Export to PNG, JPG, WEBP, SVG, or JSX.
+
+```sh
+open-pencil export [file] [options]
+```
+
+| Option | Alias | Description |
+|--------|-------|-------------|
+| `--format` | `-f` | `png` (default), `jpg`, `webp`, `svg`, `jsx` |
+| `--output` | `-o` | Output file path (default: `<name>.<format>`) |
+| `--scale` | `-s` | Export scale (default: 1) |
+| `--quality` | `-q` | Quality 0–100, JPG/WEBP only (default: 90) |
+| `--page` | | Page name (default: first page) |
+| `--node` | | Node ID to export (default: all top-level nodes) |
+| `--style` | | JSX style: `openpencil` (default), `tailwind` |
+| `--thumbnail` | | Export page thumbnail instead of full render |
+| `--width` | | Thumbnail width (default: 1920) |
+| `--height` | | Thumbnail height (default: 1080) |
+
+## eval
+
+Execute JavaScript with the Figma Plugin API.
+
+```sh
+open-pencil eval [file] [options]
+```
+
+| Option | Alias | Description |
+|--------|-------|-------------|
+| `--code` | `-c` | JavaScript code to execute |
+| `--stdin` | | Read code from stdin |
+| `--write` | `-w` | Write changes back to the input file |
+| `--output` | `-o` | Write to a different file |
+| `--json` | | Output as JSON |
+| `--quiet` | `-q` | Suppress output |
+
+## analyze colors
+
+Analyze color palette usage across the document.
+
+```sh
+open-pencil analyze colors [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--limit` | Max colors to show (default: 30) |
+| `--threshold` | Distance threshold for clustering similar colors, 0–50 (default: 15) |
+| `--similar` | Show similar color clusters |
+| `--json` | Output as JSON |
+
+## analyze typography
+
+Analyze font family, size, and weight distribution.
+
+```sh
+open-pencil analyze typography [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--group-by` | Group by: `family`, `size`, `weight` (default: show all styles) |
+| `--limit` | Max styles to show (default: 30) |
+| `--json` | Output as JSON |
+
+## analyze spacing
+
+Analyze gap and padding values across auto-layout frames.
+
+```sh
+open-pencil analyze spacing [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--grid` | Base grid size to check against (default: 8) |
+| `--json` | Output as JSON |
+
+## analyze clusters
+
+Find repeated node patterns — potential components.
+
+```sh
+open-pencil analyze clusters [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--limit` | Max clusters to show (default: 20) |
+| `--min-size` | Min node size in px (default: 30) |
+| `--min-count` | Min instances to form a cluster (default: 2) |
+| `--json` | Output as JSON |
diff --git a/packages/docs/es/programmable/ai-chat.md b/packages/docs/es/programmable/ai-chat.md
new file mode 100644
index 000000000..433ca6fbb
--- /dev/null
+++ b/packages/docs/es/programmable/ai-chat.md
@@ -0,0 +1,47 @@
+---
+title: Chat con IA
+description: Asistente de IA integrado con 87 herramientas para crear y modificar diseños.
+---
+
+# Chat con IA
+
+Pulsa <kbd>⌘</kbd><kbd>J</kbd> (<kbd>Ctrl</kbd> + <kbd>J</kbd>) para abrir el asistente de IA. Describe lo que quieres — crea formas, establece estilos, gestiona el layout, trabaja con componentes y analiza tu diseño.
+
+## Configuración
+
+1. Abre el panel de chat con IA (<kbd>⌘</kbd><kbd>J</kbd>)
+2. Haz clic en el icono de ajustes
+3. Introduce tu clave de API de OpenRouter
+4. Elige un modelo (Claude, GPT-4, Gemini, etc.)
+
+Sin backend, sin suscripción — tu clave se comunica directamente con OpenRouter.
+
+## Qué Puede Hacer
+
+El asistente tiene 87 herramientas en estas categorías:
+
+- **Crear** — frames, formas, texto, componentes, páginas. Renderiza JSX para layouts complejos.
+- **Estilo** — rellenos, bordes, efectos, opacidad, radio de esquina, modos de fusión.
+- **Layout** — auto-layout, alineación, espaciado, dimensionamiento.
+- **Componentes** — crear componentes, instancias, conjuntos de componentes. Gestionar sobrecargas.
+- **Variables** — crear/editar variables, colecciones, modos. Vincular a rellenos.
+- **Consultar** — buscar nodos, leer propiedades, listar páginas, fuentes, selección.
+- **Analizar** — paleta de colores, auditoría tipográfica, consistencia de espaciado, detección de clusters.
+- **Exportar** — PNG, SVG, JSX con clases Tailwind.
+- **Vector** — operaciones booleanas, manipulación de trazados.
+
+## Prompts de Ejemplo
+
+- "Crea una tarjeta con un título, descripción y un botón azul"
+- "Haz que todos los botones de esta página usen el mismo radio de borde"
+- "¿Qué fuentes se usan en este archivo?"
+- "Cambia el fondo del frame seleccionado a un degradado de azul a púrpura"
+- "Exporta el frame seleccionado como SVG"
+- "Encuentra todos los nodos de texto con tamaño de fuente menor a 12"
+
+## Consejos
+
+- Selecciona nodos antes de preguntar — el asistente sabe qué está seleccionado.
+- Sé específico con colores, tamaños y posiciones para resultados precisos.
+- El asistente puede modificar múltiples nodos en un solo mensaje.
+- Usa "deshacer" en el editor si no te gusta el resultado.
diff --git a/packages/docs/es/programmable/cli/analyzing.md b/packages/docs/es/programmable/cli/analyzing.md
new file mode 100644
index 000000000..15eade463
--- /dev/null
+++ b/packages/docs/es/programmable/cli/analyzing.md
@@ -0,0 +1,65 @@
+---
+title: Analizar Diseños
+description: Audita colores, tipografía, espaciado y patrones repetidos en archivos .fig.
+---
+
+# Analizar Diseños
+
+Los comandos `analyze` auditan un sistema de diseño completo desde la terminal — encuentra inconsistencias, extrae la paleta real, detecta componentes que esperan ser extraídos.
+
+## Colores
+
+```sh
+open-pencil analyze colors design.fig
+```
+
+Encuentra cada color en el archivo, cuenta el uso y muestra un histograma visual:
+
+```
+#1d1b20 ██████████████████████████████ 17155×
+#49454f ██████████████████████████████ 9814×
+#ffffff ██████████████████████████████ 8620×
+#6750a4 ██████████████████████████████ 3967×
+```
+
+## Tipografía
+
+```sh
+open-pencil analyze typography design.fig
+```
+
+Lista cada combinación de familia tipográfica, tamaño y peso con conteos de uso. Útil para detectar estilos de texto aislados que deberían consolidarse.
+
+## Espaciado
+
+```sh
+open-pencil analyze spacing design.fig
+```
+
+Audita los valores de gap y padding en los frames con auto-layout. Ayuda a identificar inconsistencias en la escala de espaciado — por ejemplo, un gap de `13px` suelto entre valores de `8/16/24`.
+
+## Clusters
+
+```sh
+open-pencil analyze clusters design.fig
+```
+
+Encuentra patrones de nodos repetidos que podrían extraerse como componentes:
+
+```
+3771× frame "container" (100% match)
+ size: 40×40, structure: Frame > [Frame]
+
+2982× instance "Checkboxes" (100% match)
+ size: 48×48, structure: Instance > [Frame]
+```
+
+## Salida JSON
+
+Todos los comandos de análisis soportan `--json` para salida legible por máquinas:
+
+```sh
+open-pencil analyze colors design.fig --json
+```
+
+Envía a `jq`, alimenta verificaciones de CI, o úsalo en scripts que controlen presupuestos de tokens de diseño.
diff --git a/packages/docs/es/programmable/cli/exporting.md b/packages/docs/es/programmable/cli/exporting.md
new file mode 100644
index 000000000..c15237da9
--- /dev/null
+++ b/packages/docs/es/programmable/cli/exporting.md
@@ -0,0 +1,59 @@
+---
+title: Exportar
+description: Renderiza archivos .fig a PNG, JPG, WEBP, SVG o JSX con clases Tailwind.
+---
+
+# Exportar
+
+Exporta diseños desde la terminal — imágenes rasterizadas, vectores o código JSX.
+
+## Exportar Imágenes
+
+```sh
+open-pencil export design.fig # PNG (predeterminado)
+open-pencil export design.fig -f jpg -s 2 -q 90 # JPG a 2×, calidad 90
+open-pencil export design.fig -f webp -s 3 # WEBP a 3×
+open-pencil export design.fig -f svg # SVG vectorial
+```
+
+Opciones:
+
+- `-f` — formato: `png`, `jpg`, `webp`, `svg`, `jsx`
+- `-s` — escala: `1`–`4`
+- `-q` — calidad: `0`–`100` (solo JPG/WEBP)
+- `-o` — ruta de salida
+- `--page` — nombre de página
+- `--node` — ID de nodo específico
+
+## Exportar JSX
+
+Exporta como JSX con clases de utilidad Tailwind:
+
+```sh
+open-pencil export design.fig -f jsx --style tailwind
+```
+
+Salida:
+
+```html
+<div className="flex flex-col gap-4 p-6 bg-white rounded-xl">
+ <p className="text-2xl font-bold text-[#1D1B20]">Card Title</p>
+ <p className="text-sm text-[#49454F]">Description text</p>
+</div>
+```
+
+También soporta `--style openpencil` para el formato JSX nativo (ver [Renderizador JSX](../jsx-renderer)).
+
+## Miniaturas
+
+```sh
+open-pencil export design.fig --thumbnail --width 1920 --height 1080
+```
+
+## Modo Aplicación en Vivo
+
+Omite el archivo para exportar desde la aplicación en ejecución:
+
+```sh
+open-pencil export -f png # captura de pantalla del lienzo actual
+```
diff --git a/packages/docs/es/programmable/cli/inspecting.md b/packages/docs/es/programmable/cli/inspecting.md
new file mode 100644
index 000000000..c576a1831
--- /dev/null
+++ b/packages/docs/es/programmable/cli/inspecting.md
@@ -0,0 +1,98 @@
+---
+title: Inspeccionar Archivos
+description: Navega árboles de nodos, busca por nombre o tipo, y examina propiedades desde la terminal.
+---
+
+# Inspeccionar Archivos
+
+El CLI te permite explorar archivos `.fig` sin abrir el editor. Cada comando también funciona con la aplicación en vivo — simplemente omite el argumento de archivo.
+
+::: tip Instalar
+```sh
+bun add -g @open-pencil/cli
+# o
+brew install open-pencil/tap/open-pencil
+```
+:::
+
+## Información del Documento
+
+Obtén un resumen rápido — cantidad de páginas, nodos totales, fuentes utilizadas, tamaño del archivo:
+
+```sh
+open-pencil info design.fig
+```
+
+## Árbol de Nodos
+
+Imprime la jerarquía completa de nodos:
+
+```sh
+open-pencil tree design.fig
+```
+
+```
+[0] [page] "Getting started" (0:46566)
+ [0] [section] "" (0:46567)
+ [0] [frame] "Body" (0:46568)
+ [0] [frame] "Introduction" (0:46569)
+ [0] [frame] "Introduction Card" (0:46570)
+ [0] [frame] "Guidance" (0:46571)
+```
+
+## Buscar Nodos
+
+Buscar por tipo:
+
+```sh
+open-pencil find design.fig --type TEXT
+```
+
+Buscar por nombre:
+
+```sh
+open-pencil find design.fig --name "Button"
+```
+
+Ambos flags se pueden combinar para refinar aún más los resultados.
+
+## Detalles del Nodo
+
+Inspecciona todas las propiedades de un nodo específico por su ID:
+
+```sh
+open-pencil node design.fig --id 1:23
+```
+
+## Páginas
+
+Lista todas las páginas del documento:
+
+```sh
+open-pencil pages design.fig
+```
+
+## Variables
+
+Lista las variables de diseño y sus colecciones:
+
+```sh
+open-pencil variables design.fig
+```
+
+## Modo Aplicación en Vivo
+
+Cuando la aplicación de escritorio está en ejecución, omite el argumento de archivo — el CLI se conecta vía RPC y opera sobre el lienzo en vivo:
+
+```sh
+open-pencil tree # inspeccionar el documento en vivo
+open-pencil eval -c "..." # consultar el editor
+```
+
+## Salida JSON
+
+Todos los comandos soportan `--json` para salida legible por máquinas — envía a `jq`, alimenta scripts de CI, o procesa con otras herramientas:
+
+```sh
+open-pencil tree design.fig --json | jq '.[] | .name'
+```
diff --git a/packages/docs/es/programmable/cli/scripting.md b/packages/docs/es/programmable/cli/scripting.md
new file mode 100644
index 000000000..4e36d606f
--- /dev/null
+++ b/packages/docs/es/programmable/cli/scripting.md
@@ -0,0 +1,70 @@
+---
+title: Scripting
+description: Ejecuta JavaScript con la API de Plugins de Figma — consulta nodos, modifica diseños por lotes, crea frames.
+---
+
+# Scripting
+
+`open-pencil eval` te da acceso a la API completa de Plugins de Figma en la terminal. Lee nodos, modifica propiedades, crea formas — y luego guarda los cambios en el archivo.
+
+## Uso Básico
+
+```sh
+open-pencil eval design.fig -c "figma.currentPage.children.length"
+```
+
+El flag `-c` recibe JavaScript. El global `figma` funciona como la API de Plugins de Figma.
+
+## Consultar Nodos
+
+```sh
+open-pencil eval design.fig -c "
+ figma.currentPage.findAll(n => n.type === 'FRAME' && n.name.includes('Button'))
+ .map(b => ({ id: b.id, name: b.name, w: b.width, h: b.height }))
+"
+```
+
+## Modificar y Guardar
+
+```sh
+open-pencil eval design.fig -c "
+ figma.currentPage.children.forEach(n => n.opacity = 0.5)
+" -w
+```
+
+`-w` escribe los cambios de vuelta al archivo de entrada. Usa `-o output.fig` para escribir en un archivo diferente.
+
+## Leer desde Stdin
+
+Para scripts más largos:
+
+```sh
+cat transform.js | open-pencil eval design.fig --stdin -w
+```
+
+## Modo Aplicación en Vivo
+
+Omite el archivo para ejecutar contra la aplicación de escritorio en ejecución:
+
+```sh
+open-pencil eval -c "figma.currentPage.name"
+```
+
+## API Disponible
+
+El objeto `figma` soporta:
+
+- `figma.currentPage` — la página activa
+- `figma.root` — la raíz del documento
+- `figma.createFrame()`, `figma.createRectangle()`, `figma.createEllipse()`, `figma.createText()`, etc.
+- `.findAll()`, `.findOne()` — buscar descendientes
+- `.appendChild()`, `.insertChild()` — manipulación del árbol
+- Todos los setters de propiedades: `.fills`, `.strokes`, `.effects`, `.opacity`, `.cornerRadius`, `.layoutMode`, `.itemSpacing`, etc.
+
+Esta es la misma API que usan los plugins de Figma, por lo que el conocimiento existente y los fragmentos de código se transfieren directamente.
+
+## Salida JSON
+
+```sh
+open-pencil eval design.fig -c "..." --json
+```
diff --git a/packages/docs/es/programmable/collaboration.md b/packages/docs/es/programmable/collaboration.md
new file mode 100644
index 000000000..4fc7c3cbf
--- /dev/null
+++ b/packages/docs/es/programmable/collaboration.md
@@ -0,0 +1,38 @@
+---
+title: Colaboración
+description: Edición colaborativa en tiempo real vía P2P WebRTC — sin servidor, sin cuenta.
+---
+
+# Colaboración
+
+Edita diseños juntos en tiempo real. Los pares se conectan directamente — ningún servidor retransmite tus datos, no se requiere cuenta.
+
+## Compartir una Sala
+
+1. Haz clic en el botón de compartir en la esquina superior derecha
+2. Copia el enlace generado (`app.openpencil.dev/share/<room-id>`)
+3. Envíalo a tus colaboradores
+
+Cualquiera con el enlace puede unirse. La sala permanece activa mientras al menos un participante tenga la página abierta.
+
+## Qué se Sincroniza
+
+- **Cambios en el documento** — cada edición (formas, texto, propiedades, layout) se sincroniza instantáneamente
+- **Cursores** — ve dónde apunta cada colaborador, con su nombre y color
+- **Selecciones** — las selecciones resaltadas son visibles para todos
+
+## Modo de Seguimiento
+
+Haz clic en el avatar de un colaborador en la barra superior para seguir su vista. Tu lienzo se desplaza y hace zoom para coincidir con su vista. Haz clic de nuevo para dejar de seguir.
+
+## Cómo Funciona
+
+Los pares se conectan directamente vía WebRTC — tus datos de diseño van directamente de navegador a navegador, nunca a través de un servidor central. El estado del documento usa un CRDT (tipo de datos replicado libre de conflictos), así que las ediciones concurrentes se fusionan automáticamente sin conflictos.
+
+La sala persiste localmente — si refrescas la página, te reconectas con el mismo estado.
+
+## Consejos
+
+- Funciona en el navegador y en la aplicación de escritorio
+- Los IDs de sala son criptográficamente aleatorios — solo las personas con el enlace pueden unirse
+- Los cursores inactivos se limpian automáticamente cuando alguien se desconecta
diff --git a/packages/docs/es/programmable/index.md b/packages/docs/es/programmable/index.md
new file mode 100644
index 000000000..9fa928c0d
--- /dev/null
+++ b/packages/docs/es/programmable/index.md
@@ -0,0 +1,51 @@
+---
+layout: doc
+title: IA y Automatización
+description: Cada operación en OpenPencil es scriptable — chat con IA, CLI, renderizador JSX, servidor MCP, colaboración en tiempo real.
+---
+
+# IA y Automatización
+
+OpenPencil trata los archivos de diseño como datos. Cada operación disponible en el editor — crear formas, establecer rellenos, gestionar auto-layout, exportar recursos — también está disponible desde la terminal, desde agentes de IA y desde código. Sin plugins que instalar, sin claves de API, sin lista de espera.
+
+La interfaz del editor y las interfaces de automatización usan el mismo motor. Si puedes hacerlo con un clic, puedes hacerlo con un script.
+
+## Chat con IA
+
+El asistente integrado tiene acceso a 87 herramientas que cubren toda la superficie del editor. Describe lo que quieres en lenguaje natural — "añade una sombra de 16px a todos los botones", "crea un componente de tarjeta con variante para modo oscuro", "exporta cada frame de esta página a 2×".
+
+[Chat con IA →](./ai-chat)
+
+## Colaboración
+
+Edición multijugador en tiempo real mediante WebRTC peer-to-peer. Sin servidor, sin cuenta. Comparte un enlace de sala y edita junto con cursores en vivo y modo de seguimiento. El estado del documento se sincroniza mediante CRDT, así que las ediciones se fusionan automáticamente incluso con conexiones inestables.
+
+[Colaboración →](./collaboration)
+
+## Renderizador JSX
+
+Describe la interfaz como JSX — la misma sintaxis que los LLMs ya conocen de React. Una sola llamada puede crear un árbol completo de componentes con frames, texto, auto-layout, rellenos y bordes. Compacto, declarativo y diferenciable.
+
+En la dirección opuesta, exporta cualquier selección de vuelta a JSX con clases Tailwind — útil para entregar a desarrollo o alimentar diseños de vuelta a un LLM.
+
+[Renderizador JSX →](./jsx-renderer)
+
+## CLI
+
+Inspecciona, exporta y analiza archivos `.fig` sin abrir el editor. Lista páginas, busca nodos, extrae tokens de diseño, renderiza a PNG — todo desde la terminal con salida JSON legible por máquinas.
+
+El CLI también se conecta a la aplicación de escritorio en ejecución vía RPC, para que puedas crear scripts del editor mientras lo usas.
+
+[Inspeccionar Archivos](./cli/inspecting) · [Exportar](./cli/exporting) · [Analizar Diseños](./cli/analyzing) · [Scripting](./cli/scripting)
+
+## Servidor MCP
+
+Conecta Claude Code, Cursor, Windsurf o cualquier cliente compatible con MCP a OpenPencil. El servidor expone 90 herramientas para leer, crear y modificar diseños — las mismas herramientas que usa el chat con IA integrado. Funciona sobre stdio o HTTP con soporte de sesiones.
+
+[Servidor MCP →](./mcp-server)
+
+## ¿Por Qué Abierto?
+
+Figma es una plataforma cerrada. Su servidor MCP es de solo lectura. El acceso CDP por navegador fue eliminado en la versión 126. Los archivos de diseño viven en un formato propietario en los servidores de otra empresa. El desarrollo de plugins requiere un runtime personalizado con APIs limitadas.
+
+OpenPencil es la alternativa: código abierto, licencia MIT, cada operación scriptable, datos almacenados localmente. Tus archivos de diseño son tuyos — inspecciónalos, transfórmalos, envíalos a CI, aliméntalos a un LLM. Sin necesidad de permiso.
diff --git a/packages/docs/es/programmable/jsx-renderer.md b/packages/docs/es/programmable/jsx-renderer.md
new file mode 100644
index 000000000..256b6e67b
--- /dev/null
+++ b/packages/docs/es/programmable/jsx-renderer.md
@@ -0,0 +1,116 @@
+---
+title: Renderizador JSX
+description: Crea diseños con JSX — la sintaxis que los LLMs ya conocen de millones de componentes React.
+---
+
+# Renderizador JSX
+
+OpenPencil usa JSX como su lenguaje de creación de diseños. Los LLMs han visto millones de componentes React — describir un layout como `<Frame><Text>` es natural, sin necesidad de entrenamiento especial. Cada token importa cuando un agente de IA realiza docenas de operaciones, y JSX es la representación declarativa más compacta.
+
+JSX también es diferenciable. Cuando una IA modifica un diseño, el cambio es un diff de JSX — legible, revisable, versionable.
+
+## Crear Diseños
+
+La herramienta `render` (disponible en el chat con IA, MCP y CLI eval) acepta JSX:
+
+```jsx
+<Frame name="Card" w={320} h="hug" flex="col" gap={16} p={24} bg="#FFF" rounded={16}>
+ <Text size={18} weight="bold">Card Title</Text>
+ <Text size={14} color="#666">Description text</Text>
+</Frame>
+```
+
+En el servidor MCP y el chat con IA, la herramienta `render` acepta cadenas JSX directamente. En el CLI, usa el comando `export` para ir en la dirección opuesta — [exportar diseños como JSX](./cli/exporting).
+
+## Elementos
+
+Todos los tipos de nodos están disponibles como elementos JSX:
+
+| Elemento | Crea | Alias |
+|----------|------|-------|
+| `<Frame>` | Frame (contenedor, soporta auto-layout) | `<View>` |
+| `<Rectangle>` | Rectángulo | `<Rect>` |
+| `<Ellipse>` | Elipse / círculo | |
+| `<Text>` | Nodo de texto (los hijos se convierten en contenido de texto) | |
+| `<Line>` | Línea | |
+| `<Star>` | Estrella | |
+| `<Polygon>` | Polígono | |
+| `<Vector>` | Trazado vectorial | |
+| `<Group>` | Grupo | |
+| `<Section>` | Sección | |
+
+## Props de Estilo
+
+Props abreviados compactos inspirados en la nomenclatura de Tailwind.
+
+### Layout
+
+| Prop | Descripción |
+|------|-------------|
+| `flex` | `"row"` o `"col"` — activa auto-layout |
+| `gap` | Espacio entre hijos |
+| `wrap` | Ajustar hijos a la siguiente línea |
+| `rowGap` | Espaciado en el eje transversal al ajustar |
+| `justify` | `"start"`, `"end"`, `"center"`, `"between"` |
+| `items` | `"start"`, `"end"`, `"center"`, `"stretch"` |
+| `p`, `px`, `py`, `pt`, `pr`, `pb`, `pl` | Padding |
+
+### Tamaño y Posición
+
+| Prop | Descripción |
+|------|-------------|
+| `w`, `h` | Ancho/alto — número, `"fill"` o `"hug"` |
+| `minW`, `maxW`, `minH`, `maxH` | Restricciones de tamaño |
+| `x`, `y` | Posición |
+
+### Apariencia
+
+| Prop | Descripción |
+|------|-------------|
+| `bg` | Relleno de fondo (color hexadecimal) |
+| `fill` | Alias de `bg` |
+| `stroke` | Color de borde |
+| `strokeWidth` | Ancho del borde (predeterminado: 1) |
+| `rounded` | Radio de esquina (o `roundedTL`, `roundedTR`, `roundedBL`, `roundedBR`) |
+| `cornerSmoothing` | Esquinas suaves estilo iOS (0–1) |
+| `opacity` | 0–1 |
+| `shadow` | Sombra proyectada (ej. `"0 4 8 #00000040"`) |
+| `blur` | Radio de desenfoque de capa |
+| `rotate` | Rotación en grados |
+| `blendMode` | Modo de fusión |
+| `overflow` | `"hidden"` o `"visible"` |
+
+### Tipografía
+
+| Prop | Descripción |
+|------|-------------|
+| `size` / `fontSize` | Tamaño de fuente |
+| `font` / `fontFamily` | Familia tipográfica |
+| `weight` / `fontWeight` | `"bold"`, `"medium"`, `"normal"` o número |
+| `color` | Color del texto |
+| `textAlign` | `"left"`, `"center"`, `"right"`, `"justified"` |
+
+## Exportar a JSX
+
+Convierte diseños existentes de vuelta a JSX:
+
+```sh
+open-pencil export design.fig -f jsx # formato OpenPencil
+open-pencil export design.fig -f jsx --style tailwind # clases Tailwind
+```
+
+El viaje de ida y vuelta funciona: exporta un diseño como JSX, modifica el código, renderízalo de nuevo.
+
+## Diferencias Visuales
+
+Como los diseños son representables como JSX, los cambios se convierten en diffs de código:
+
+```diff
+ <Frame name="Card" w={320} flex="col" gap={16} p={24} bg="#FFF">
+- <Text size={18} weight="bold">Old Title</Text>
++ <Text size={24} weight="bold" color="#1D1B20">New Title</Text>
+ <Text size={14} color="#666">Description</Text>
+ </Frame>
+```
+
+Esto hace que los cambios de diseño sean revisables en pull requests, rastreables en control de versiones y auditables en CI.
diff --git a/packages/docs/es/programmable/mcp-server.md b/packages/docs/es/programmable/mcp-server.md
new file mode 100644
index 000000000..e296a6447
--- /dev/null
+++ b/packages/docs/es/programmable/mcp-server.md
@@ -0,0 +1,251 @@
+# MCP Server
+
+OpenPencil includes an MCP (Model Context Protocol) server that lets AI coding tools — Claude Code, Cursor, Windsurf, etc. — read and modify `.fig` files headlessly.
+
+Two transports: **stdio** for MCP clients, **HTTP** for everything else.
+
+## Install
+
+```sh
+bun add -g @open-pencil/mcp
+```
+
+## Stdio (Claude Code, Cursor, etc.)
+
+Add to your MCP config (e.g. `~/.claude/settings.json` or `.cursor/mcp.json`):
+
+```json
+{
+ "mcpServers": {
+ "open-pencil": {
+ "command": "openpencil-mcp"
+ }
+ }
+}
+```
+
+Or run from source without installing:
+
+::: code-group
+```json [Bun]
+{
+ "mcpServers": {
+ "open-pencil": {
+ "command": "bun",
+ "args": ["/path/to/open-pencil/packages/mcp/src/index.ts"]
+ }
+ }
+}
+```
+```json [Node.js]
+{
+ "mcpServers": {
+ "open-pencil": {
+ "command": "npx",
+ "args": ["tsx", "/path/to/open-pencil/packages/mcp/src/index.ts"]
+ }
+ }
+}
+```
+:::
+
+## HTTP
+
+For browser extensions, scripts, CI, or any HTTP client:
+
+```sh
+openpencil-mcp-http
+```
+
+Or from source: `bun packages/mcp/src/http.ts` / `npx tsx packages/mcp/src/http.ts`
+
+Security defaults (HTTP transport):
+
+- Binds to `127.0.0.1` by default (`HOST` to override)
+- `eval` tool is disabled
+- File operations are limited to `OPENPENCIL_MCP_ROOT` (defaults to current working directory)
+- CORS is disabled by default; set `OPENPENCIL_MCP_CORS_ORIGIN` to allow one origin
+- Optional auth token: `OPENPENCIL_MCP_AUTH_TOKEN` (client sends `Authorization: Bearer <token>` or `x-mcp-token`)
+
+Server starts on port 3100 (override with `PORT` env var). Endpoints:
+
+- `GET /health` — server status
+- `POST /mcp` — MCP Streamable HTTP (SSE). Sessions via `mcp-session-id` header.
+
+## Workflow
+
+1. **Open** — `open_file` to load an existing `.fig`, or `new_document` for a blank canvas
+2. **Read** — `get_page_tree`, `find_nodes`, `get_node`, `list_pages`
+3. **Create** — `create_shape`, `render` (JSX)
+4. **Modify** — `set_fill`, `set_stroke`, `set_layout`, `update_node`, `set_effects`
+5. **Structure** — `reparent_node`, `group_nodes`, `clone_node`, `delete_node`
+6. **Save** — `save_file` to write back to `.fig`
+
+## AI Agent Skill
+
+Teach your AI coding agent to use OpenPencil tools:
+
+```sh
+npx skills add open-pencil/skills@open-pencil
+```
+
+Works with Claude Code, Cursor, Windsurf, Codex, and any agent that supports [skills](https://skills.sh). The skill covers the CLI, MCP tools, JSX rendering, eval, and the running app's automation bridge.
+
+## Tools (90)
+
+### Document
+
+| Tool | Description |
+|------|-------------|
+| `open_file` | Open a `.fig` file for editing |
+| `save_file` | Save the current document to a `.fig` file |
+| `new_document` | Create a new empty document |
+
+### Read
+
+| Tool | Description |
+|------|-------------|
+| `get_selection` | Get currently selected nodes |
+| `get_page_tree` | Get the full node tree of the current page |
+| `get_current_page` | Get the current page name and ID |
+| `get_node` | Get detailed properties of a node by ID |
+| `find_nodes` | Find nodes by name pattern and/or type |
+| `get_components` | List all components in the document |
+| `list_pages` | List all pages |
+| `list_variables` | List design variables |
+| `list_collections` | List variable collections |
+| `list_fonts` | List fonts used in the current page |
+| `page_bounds` | Get bounding box of all objects on the current page |
+| `node_bounds` | Get bounding box of a node |
+| `node_ancestors` | Get ancestor chain of a node |
+| `node_children` | Get direct children of a node |
+| `node_tree` | Get the subtree rooted at a node |
+| `node_bindings` | Get variable bindings on a node |
+
+### Create
+
+| Tool | Description |
+|------|-------------|
+| `create_shape` | Create a shape (`FRAME`, `RECTANGLE`, `ELLIPSE`, `TEXT`, `LINE`, `STAR`, `POLYGON`, `SECTION`) |
+| `create_vector` | Create a vector node from a path string |
+| `create_slice` | Create an export slice |
+| `create_page` | Create a new page |
+| `render` | Render JSX to design nodes — create entire component trees in one call |
+| `create_component` | Convert a frame/group into a component |
+| `create_instance` | Create an instance of a component |
+| `node_to_component` | Convert an existing node into a component in-place |
+
+### Modify
+
+| Tool | Description |
+|------|-------------|
+| `set_fill` | Set fill color (hex) |
+| `set_stroke` | Set stroke color, weight, alignment |
+| `set_effects` | Add shadow or blur effects |
+| `update_node` | Update position, size, opacity, corner radius, text, font |
+| `set_layout` | Set auto-layout (flexbox) — direction, spacing, padding, alignment |
+| `set_constraints` | Set resize constraints |
+| `set_rotation` | Set rotation angle in degrees |
+| `set_opacity` | Set opacity (0–1) |
+| `set_radius` | Set corner radius (uniform or per-corner) |
+| `set_minmax` | Set min/max width and height constraints |
+| `set_text` | Set text content of a `TEXT` node |
+| `set_font` | Set font family and weight |
+| `set_font_range` | Set font properties on a character range |
+| `set_text_resize` | Set text auto-resize mode (fixed/auto-width/auto-height) |
+| `set_visible` | Show or hide a node |
+| `set_blend` | Set blend mode |
+| `set_locked` | Lock or unlock a node |
+| `set_stroke_align` | Set stroke alignment (inside/center/outside) |
+| `set_text_properties` | Set text layout: alignment, auto-resize, text case, decoration, truncation |
+| `set_layout_child` | Configure auto-layout child: sizing, grow, alignment, absolute positioning |
+| `node_move` | Move a node to a new position |
+| `node_resize` | Resize a node |
+| `node_replace_with` | Replace a node with another node |
+| `arrange` | Align or distribute selected nodes |
+
+### Structure
+
+| Tool | Description |
+|------|-------------|
+| `delete_node` | Delete a node |
+| `clone_node` | Duplicate a node |
+| `rename_node` | Rename a node |
+| `reparent_node` | Move a node into a different parent |
+| `select_nodes` | Select nodes by ID |
+| `group_nodes` | Group nodes |
+| `ungroup_node` | Ungroup a group |
+| `flatten_nodes` | Flatten nodes into a single vector |
+| `boolean_union` | Boolean union of two or more nodes |
+| `boolean_subtract` | Boolean subtraction |
+| `boolean_intersect` | Boolean intersection |
+| `boolean_exclude` | Boolean exclusion |
+
+### Vector Path
+
+| Tool | Description |
+|------|-------------|
+| `path_get` | Get the path data of a vector node |
+| `path_set` | Set the path data of a vector node |
+| `path_scale` | Scale a vector path |
+| `path_flip` | Flip a vector path horizontally or vertically |
+| `path_move` | Translate a vector path |
+
+### Export
+
+| Tool | Description |
+|------|-------------|
+| `export_image` | Export nodes as PNG, JPG, or WEBP. Returns base64-encoded image data |
+| `export_svg` | Export nodes as SVG markup |
+
+### Viewport
+
+| Tool | Description |
+|------|-------------|
+| `viewport_get` | Get current viewport position and zoom level |
+| `viewport_set` | Set viewport position and zoom |
+| `viewport_zoom_to_fit` | Zoom viewport to fit specified nodes |
+
+### Variables
+
+| Tool | Description |
+|------|-------------|
+| `get_variable` | Get a variable by ID or name |
+| `find_variables` | Find variables by name pattern or type |
+| `create_variable` | Create a new variable in a collection |
+| `set_variable` | Set a variable value in a mode |
+| `delete_variable` | Delete a variable |
+| `bind_variable` | Bind a variable to a node property |
+| `get_collection` | Get a variable collection by ID or name |
+| `create_collection` | Create a new variable collection |
+| `delete_collection` | Delete a variable collection |
+
+### Analyze
+
+| Tool | Description |
+|------|-------------|
+| `analyze_colors` | Analyze color palette usage across the document |
+| `analyze_typography` | Analyze font/size/weight distribution |
+| `analyze_spacing` | Analyze gap and padding values |
+| `analyze_clusters` | Detect repeated patterns (potential components) |
+
+### Diff
+
+| Tool | Description |
+|------|-------------|
+| `diff_create` | Create a snapshot of the current document state |
+| `diff_show` | Show differences between the current state and a snapshot |
+
+### Navigation
+
+| Tool | Description |
+|------|-------------|
+| `switch_page` | Switch to a page by name or ID |
+
+### Escape Hatch
+
+| Tool | Description |
+|------|-------------|
+| `eval` | Execute JavaScript with full Figma Plugin API access |
+
+Note: `eval` is available over stdio, but disabled in HTTP mode for security.
diff --git a/packages/docs/es/reference/cli.md b/packages/docs/es/reference/cli.md
new file mode 100644
index 000000000..6f83df440
--- /dev/null
+++ b/packages/docs/es/reference/cli.md
@@ -0,0 +1,184 @@
+---
+title: CLI Reference
+description: Complete reference for all open-pencil commands, options, and flags.
+---
+
+# CLI Reference
+
+All commands accept a `.fig` file as a positional argument. When omitted, the CLI connects to the running desktop app via RPC.
+
+## info
+
+Show document info — pages, node counts, fonts, file size.
+
+```sh
+open-pencil info [file] [--json]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--json` | Output as JSON |
+
+## tree
+
+Print the node hierarchy.
+
+```sh
+open-pencil tree [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--page` | Page name (default: first page) |
+| `--depth` | Max depth (default: unlimited) |
+| `--json` | Output as JSON |
+
+## find
+
+Search nodes by name or type.
+
+```sh
+open-pencil find [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--name` | Node name (partial match, case-insensitive) |
+| `--type` | Node type: `FRAME`, `TEXT`, `RECTANGLE`, `INSTANCE`, etc. |
+| `--page` | Page name (default: all pages) |
+| `--limit` | Max results (default: 100) |
+| `--json` | Output as JSON |
+
+## node
+
+Show detailed properties of a node.
+
+```sh
+open-pencil node [file] --id <id> [--json]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--id` | **Required.** Node ID (e.g. `1:23`) |
+| `--json` | Output as JSON |
+
+## pages
+
+List all pages in the document.
+
+```sh
+open-pencil pages [file] [--json]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--json` | Output as JSON |
+
+## variables
+
+List design variables and collections.
+
+```sh
+open-pencil variables [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--collection` | Filter by collection name |
+| `--type` | Filter by type: `COLOR`, `FLOAT`, `STRING`, `BOOLEAN` |
+| `--json` | Output as JSON |
+
+## export
+
+Export to PNG, JPG, WEBP, SVG, or JSX.
+
+```sh
+open-pencil export [file] [options]
+```
+
+| Option | Alias | Description |
+|--------|-------|-------------|
+| `--format` | `-f` | `png` (default), `jpg`, `webp`, `svg`, `jsx` |
+| `--output` | `-o` | Output file path (default: `<name>.<format>`) |
+| `--scale` | `-s` | Export scale (default: 1) |
+| `--quality` | `-q` | Quality 0–100, JPG/WEBP only (default: 90) |
+| `--page` | | Page name (default: first page) |
+| `--node` | | Node ID to export (default: all top-level nodes) |
+| `--style` | | JSX style: `openpencil` (default), `tailwind` |
+| `--thumbnail` | | Export page thumbnail instead of full render |
+| `--width` | | Thumbnail width (default: 1920) |
+| `--height` | | Thumbnail height (default: 1080) |
+
+## eval
+
+Execute JavaScript with the Figma Plugin API.
+
+```sh
+open-pencil eval [file] [options]
+```
+
+| Option | Alias | Description |
+|--------|-------|-------------|
+| `--code` | `-c` | JavaScript code to execute |
+| `--stdin` | | Read code from stdin |
+| `--write` | `-w` | Write changes back to the input file |
+| `--output` | `-o` | Write to a different file |
+| `--json` | | Output as JSON |
+| `--quiet` | `-q` | Suppress output |
+
+## analyze colors
+
+Analyze color palette usage across the document.
+
+```sh
+open-pencil analyze colors [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--limit` | Max colors to show (default: 30) |
+| `--threshold` | Distance threshold for clustering similar colors, 0–50 (default: 15) |
+| `--similar` | Show similar color clusters |
+| `--json` | Output as JSON |
+
+## analyze typography
+
+Analyze font family, size, and weight distribution.
+
+```sh
+open-pencil analyze typography [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--group-by` | Group by: `family`, `size`, `weight` (default: show all styles) |
+| `--limit` | Max styles to show (default: 30) |
+| `--json` | Output as JSON |
+
+## analyze spacing
+
+Analyze gap and padding values across auto-layout frames.
+
+```sh
+open-pencil analyze spacing [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--grid` | Base grid size to check against (default: 8) |
+| `--json` | Output as JSON |
+
+## analyze clusters
+
+Find repeated node patterns — potential components.
+
+```sh
+open-pencil analyze clusters [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--limit` | Max clusters to show (default: 20) |
+| `--min-size` | Min node size in px (default: 30) |
+| `--min-count` | Min instances to form a cluster (default: 2) |
+| `--json` | Output as JSON |
diff --git a/packages/docs/fr/programmable/ai-chat.md b/packages/docs/fr/programmable/ai-chat.md
new file mode 100644
index 000000000..ccaea411b
--- /dev/null
+++ b/packages/docs/fr/programmable/ai-chat.md
@@ -0,0 +1,47 @@
+---
+title: Chat IA
+description: Assistant IA intégré avec 87 outils pour créer et modifier des designs.
+---
+
+# Chat IA
+
+Appuyez sur <kbd>⌘</kbd><kbd>J</kbd> (<kbd>Ctrl</kbd> + <kbd>J</kbd>) pour ouvrir l'assistant IA. Décrivez ce que vous voulez — il crée des formes, définit des styles, gère la mise en page, travaille avec les composants et analyse votre design.
+
+## Configuration
+
+1. Ouvrez le panneau de chat IA (<kbd>⌘</kbd><kbd>J</kbd>)
+2. Cliquez sur l'icône de paramètres
+3. Entrez votre clé API OpenRouter
+4. Choisissez un modèle (Claude, GPT-4, Gemini, etc.)
+
+Pas de backend, pas d'abonnement — votre clé communique directement avec OpenRouter.
+
+## Ce qu'il peut faire
+
+L'assistant dispose de 87 outils répartis dans ces catégories :
+
+- **Créer** — frames, formes, texte, composants, pages. Rendu JSX pour les mises en page complexes.
+- **Styliser** — remplissages, contours, effets, opacité, rayon d'arrondi, modes de fusion.
+- **Mise en page** — auto-layout, alignement, espacement, dimensionnement.
+- **Composants** — créer des composants, des instances, des ensembles de composants. Gérer les surcharges.
+- **Variables** — créer/modifier des variables, des collections, des modes. Lier aux remplissages.
+- **Requêter** — trouver des nœuds, lire des propriétés, lister les pages, les polices, la sélection.
+- **Analyser** — palette de couleurs, audit typographique, cohérence de l'espacement, détection de motifs récurrents.
+- **Exporter** — PNG, SVG, JSX avec classes Tailwind.
+- **Vectoriel** — opérations booléennes, manipulation de chemins.
+
+## Exemples de prompts
+
+- « Créer une carte avec un titre, une description et un bouton bleu »
+- « Faire en sorte que tous les boutons de cette page utilisent le même rayon d'arrondi »
+- « Quelles polices sont utilisées dans ce fichier ? »
+- « Changer l'arrière-plan du frame sélectionné en un dégradé du bleu au violet »
+- « Exporter le frame sélectionné en SVG »
+- « Trouver tous les nœuds de texte avec une taille de police inférieure à 12 »
+
+## Conseils
+
+- Sélectionnez des nœuds avant de poser votre question — l'assistant sait ce qui est sélectionné.
+- Soyez précis sur les couleurs, tailles et positions pour des résultats exacts.
+- L'assistant peut modifier plusieurs nœuds en un seul message.
+- Utilisez « annuler » dans l'éditeur si le résultat ne vous convient pas.
diff --git a/packages/docs/fr/programmable/cli/analyzing.md b/packages/docs/fr/programmable/cli/analyzing.md
new file mode 100644
index 000000000..7c17eed6e
--- /dev/null
+++ b/packages/docs/fr/programmable/cli/analyzing.md
@@ -0,0 +1,65 @@
+---
+title: Analyser des designs
+description: Auditez les couleurs, la typographie, l'espacement et les motifs récurrents dans les fichiers .fig.
+---
+
+# Analyser des designs
+
+Les commandes `analyze` permettent d'auditer un système de design entier depuis le terminal — trouvez les incohérences, extrayez la vraie palette, repérez les composants qui attendent d'être extraits.
+
+## Couleurs
+
+```sh
+open-pencil analyze colors design.fig
+```
+
+Trouve chaque couleur dans le fichier, compte les utilisations et affiche un histogramme visuel :
+
+```
+#1d1b20 ██████████████████████████████ 17155×
+#49454f ██████████████████████████████ 9814×
+#ffffff ██████████████████████████████ 8620×
+#6750a4 ██████████████████████████████ 3967×
+```
+
+## Typographie
+
+```sh
+open-pencil analyze typography design.fig
+```
+
+Liste chaque combinaison de famille de polices, taille et graisse avec le nombre d'utilisations. Utile pour repérer les styles de texte ponctuels qui devraient être consolidés.
+
+## Espacement
+
+```sh
+open-pencil analyze spacing design.fig
+```
+
+Audite les valeurs de gap et de padding à travers les frames avec auto-layout. Aide à identifier les incohérences d'échelle d'espacement — par exemple, un gap de `13px` isolé parmi des valeurs de `8/16/24`.
+
+## Motifs récurrents
+
+```sh
+open-pencil analyze clusters design.fig
+```
+
+Trouve les motifs de nœuds répétés qui pourraient être extraits en composants :
+
+```
+3771× frame "container" (100% match)
+ size: 40×40, structure: Frame > [Frame]
+
+2982× instance "Checkboxes" (100% match)
+ size: 48×48, structure: Instance > [Frame]
+```
+
+## Sortie JSON
+
+Toutes les commandes d'analyse supportent `--json` pour une sortie lisible par machine :
+
+```sh
+open-pencil analyze colors design.fig --json
+```
+
+Redirigez vers `jq`, alimentez des vérifications CI, ou utilisez dans des scripts qui contrôlent les budgets de tokens de design.
diff --git a/packages/docs/fr/programmable/cli/exporting.md b/packages/docs/fr/programmable/cli/exporting.md
new file mode 100644
index 000000000..b8e95db39
--- /dev/null
+++ b/packages/docs/fr/programmable/cli/exporting.md
@@ -0,0 +1,59 @@
+---
+title: Exporter
+description: Rendez des fichiers .fig en PNG, JPG, WEBP, SVG ou JSX avec classes Tailwind.
+---
+
+# Exporter
+
+Exportez des designs depuis le terminal — images raster, vecteurs ou code JSX.
+
+## Export d'images
+
+```sh
+open-pencil export design.fig # PNG (par défaut)
+open-pencil export design.fig -f jpg -s 2 -q 90 # JPG en 2×, qualité 90
+open-pencil export design.fig -f webp -s 3 # WEBP en 3×
+open-pencil export design.fig -f svg # SVG vectoriel
+```
+
+Options :
+
+- `-f` — format : `png`, `jpg`, `webp`, `svg`, `jsx`
+- `-s` — échelle : `1`–`4`
+- `-q` — qualité : `0`–`100` (JPG/WEBP uniquement)
+- `-o` — chemin de sortie
+- `--page` — nom de la page
+- `--node` — identifiant de nœud spécifique
+
+## Export JSX
+
+Exportez en JSX avec des classes utilitaires Tailwind :
+
+```sh
+open-pencil export design.fig -f jsx --style tailwind
+```
+
+Résultat :
+
+```html
+<div className="flex flex-col gap-4 p-6 bg-white rounded-xl">
+ <p className="text-2xl font-bold text-[#1D1B20]">Card Title</p>
+ <p className="text-sm text-[#49454F]">Description text</p>
+</div>
+```
+
+Supporte aussi `--style openpencil` pour le format JSX natif (voir [Moteur de rendu JSX](../jsx-renderer)).
+
+## Miniatures
+
+```sh
+open-pencil export design.fig --thumbnail --width 1920 --height 1080
+```
+
+## Mode application en direct
+
+Omettez le fichier pour exporter depuis l'application en cours d'exécution :
+
+```sh
+open-pencil export -f png # capture du canevas actuel
+```
diff --git a/packages/docs/fr/programmable/cli/inspecting.md b/packages/docs/fr/programmable/cli/inspecting.md
new file mode 100644
index 000000000..2236c0cd1
--- /dev/null
+++ b/packages/docs/fr/programmable/cli/inspecting.md
@@ -0,0 +1,98 @@
+---
+title: Inspecter des fichiers
+description: Parcourez les arborescences de nœuds, recherchez par nom ou type, et examinez les propriétés depuis le terminal.
+---
+
+# Inspecter des fichiers
+
+Le CLI vous permet d'explorer des fichiers `.fig` sans ouvrir l'éditeur. Chaque commande fonctionne aussi sur l'application en cours d'exécution — il suffit d'omettre l'argument fichier.
+
+::: tip Installation
+```sh
+bun add -g @open-pencil/cli
+# ou
+brew install open-pencil/tap/open-pencil
+```
+:::
+
+## Informations sur le document
+
+Obtenez un aperçu rapide — nombre de pages, nombre total de nœuds, polices utilisées, taille du fichier :
+
+```sh
+open-pencil info design.fig
+```
+
+## Arborescence des nœuds
+
+Affichez la hiérarchie complète des nœuds :
+
+```sh
+open-pencil tree design.fig
+```
+
+```
+[0] [page] "Getting started" (0:46566)
+ [0] [section] "" (0:46567)
+ [0] [frame] "Body" (0:46568)
+ [0] [frame] "Introduction" (0:46569)
+ [0] [frame] "Introduction Card" (0:46570)
+ [0] [frame] "Guidance" (0:46571)
+```
+
+## Trouver des nœuds
+
+Rechercher par type :
+
+```sh
+open-pencil find design.fig --type TEXT
+```
+
+Rechercher par nom :
+
+```sh
+open-pencil find design.fig --name "Button"
+```
+
+Les deux options peuvent être combinées pour affiner les résultats.
+
+## Détails d'un nœud
+
+Inspectez toutes les propriétés d'un nœud spécifique par son identifiant :
+
+```sh
+open-pencil node design.fig --id 1:23
+```
+
+## Pages
+
+Listez toutes les pages du document :
+
+```sh
+open-pencil pages design.fig
+```
+
+## Variables
+
+Listez les variables de design et leurs collections :
+
+```sh
+open-pencil variables design.fig
+```
+
+## Mode application en direct
+
+Quand l'application de bureau est en cours d'exécution, omettez l'argument fichier — le CLI se connecte via RPC et opère sur le canevas en direct :
+
+```sh
+open-pencil tree # inspecter le document en direct
+open-pencil eval -c "..." # interroger l'éditeur
+```
+
+## Sortie JSON
+
+Toutes les commandes supportent `--json` pour une sortie lisible par machine — redirigez vers `jq`, alimentez des scripts CI, ou traitez avec d'autres outils :
+
+```sh
+open-pencil tree design.fig --json | jq '.[] | .name'
+```
diff --git a/packages/docs/fr/programmable/cli/scripting.md b/packages/docs/fr/programmable/cli/scripting.md
new file mode 100644
index 000000000..01862d3d1
--- /dev/null
+++ b/packages/docs/fr/programmable/cli/scripting.md
@@ -0,0 +1,70 @@
+---
+title: Scripter
+description: Exécutez du JavaScript avec l'API Figma Plugin — interrogez des nœuds, modifiez des designs en lot, créez des frames.
+---
+
+# Scripter
+
+`open-pencil eval` vous donne accès à l'API complète Figma Plugin dans le terminal. Lisez des nœuds, modifiez des propriétés, créez des formes — puis écrivez les changements dans le fichier.
+
+## Utilisation de base
+
+```sh
+open-pencil eval design.fig -c "figma.currentPage.children.length"
+```
+
+L'option `-c` prend du JavaScript. Le global `figma` fonctionne comme l'API Figma Plugin.
+
+## Interroger des nœuds
+
+```sh
+open-pencil eval design.fig -c "
+ figma.currentPage.findAll(n => n.type === 'FRAME' && n.name.includes('Button'))
+ .map(b => ({ id: b.id, name: b.name, w: b.width, h: b.height }))
+"
+```
+
+## Modifier et sauvegarder
+
+```sh
+open-pencil eval design.fig -c "
+ figma.currentPage.children.forEach(n => n.opacity = 0.5)
+" -w
+```
+
+`-w` écrit les changements dans le fichier d'entrée. Utilisez `-o output.fig` pour écrire dans un fichier différent.
+
+## Lire depuis l'entrée standard
+
+Pour des scripts plus longs :
+
+```sh
+cat transform.js | open-pencil eval design.fig --stdin -w
+```
+
+## Mode application en direct
+
+Omettez le fichier pour exécuter sur l'application de bureau en cours d'exécution :
+
+```sh
+open-pencil eval -c "figma.currentPage.name"
+```
+
+## API disponible
+
+L'objet `figma` supporte :
+
+- `figma.currentPage` — la page active
+- `figma.root` — la racine du document
+- `figma.createFrame()`, `figma.createRectangle()`, `figma.createEllipse()`, `figma.createText()`, etc.
+- `.findAll()`, `.findOne()` — rechercher dans les descendants
+- `.appendChild()`, `.insertChild()` — manipulation de l'arborescence
+- Tous les setters de propriétés : `.fills`, `.strokes`, `.effects`, `.opacity`, `.cornerRadius`, `.layoutMode`, `.itemSpacing`, etc.
+
+C'est la même API que celle utilisée par les plugins Figma, donc les connaissances et les extraits de code existants sont directement transférables.
+
+## Sortie JSON
+
+```sh
+open-pencil eval design.fig -c "..." --json
+```
diff --git a/packages/docs/fr/programmable/collaboration.md b/packages/docs/fr/programmable/collaboration.md
new file mode 100644
index 000000000..a6f6494f0
--- /dev/null
+++ b/packages/docs/fr/programmable/collaboration.md
@@ -0,0 +1,38 @@
+---
+title: Collaboration
+description: Édition collaborative en temps réel via P2P WebRTC — sans serveur, sans compte.
+---
+
+# Collaboration
+
+Éditez des designs ensemble en temps réel. Les pairs se connectent directement — aucun serveur ne relaie vos données, aucun compte n'est requis.
+
+## Partager une salle
+
+1. Cliquez sur le bouton de partage dans le coin supérieur droit
+2. Copiez le lien généré (`app.openpencil.dev/share/<room-id>`)
+3. Envoyez-le à vos collaborateurs
+
+Toute personne ayant le lien peut rejoindre la salle. La salle reste active tant qu'au moins un participant a la page ouverte.
+
+## Ce qui se synchronise
+
+- **Modifications du document** — chaque modification (formes, texte, propriétés, mise en page) se synchronise instantanément
+- **Curseurs** — voyez où chaque collaborateur pointe, avec son nom et sa couleur
+- **Sélections** — les sélections en surbrillance sont visibles par tous
+
+## Mode suivi
+
+Cliquez sur l'avatar d'un collaborateur dans la barre supérieure pour suivre son viewport. Votre canevas se déplace et zoome pour correspondre à sa vue. Cliquez à nouveau pour arrêter de suivre.
+
+## Comment ça fonctionne
+
+Les pairs se connectent directement via WebRTC — vos données de design passent directement d'un navigateur à l'autre, jamais par un serveur central. L'état du document utilise un CRDT (type de données répliqué sans conflit), donc les modifications concurrentes fusionnent automatiquement sans conflits.
+
+La salle persiste localement — si vous rafraîchissez la page, vous rejoignez avec le même état.
+
+## Conseils
+
+- Fonctionne dans le navigateur et l'application de bureau
+- Les identifiants de salle sont cryptographiquement aléatoires — seules les personnes ayant le lien peuvent rejoindre
+- Les curseurs obsolètes sont nettoyés automatiquement lorsqu'un participant se déconnecte
diff --git a/packages/docs/fr/programmable/index.md b/packages/docs/fr/programmable/index.md
new file mode 100644
index 000000000..337ac8731
--- /dev/null
+++ b/packages/docs/fr/programmable/index.md
@@ -0,0 +1,51 @@
+---
+layout: doc
+title: IA et automatisation
+description: Chaque opération dans OpenPencil est scriptable — chat IA, CLI, moteur de rendu JSX, serveur MCP, collaboration en temps réel.
+---
+
+# IA et automatisation
+
+OpenPencil traite les fichiers de design comme des données. Chaque opération disponible dans l'éditeur — créer des formes, définir des remplissages, gérer l'auto-layout, exporter des assets — est aussi disponible depuis le terminal, depuis des agents IA, et depuis du code. Pas de plugins à installer, pas de clés API, pas de liste d'attente.
+
+L'interface de l'éditeur et les interfaces d'automatisation utilisent le même moteur. Si vous pouvez le faire en cliquant, vous pouvez le faire en scriptant.
+
+## Chat IA
+
+L'assistant intégré a accès à 87 outils qui couvrent l'ensemble des fonctionnalités de l'éditeur. Décrivez ce que vous voulez en langage naturel — « ajouter une ombre portée de 16px à tous les boutons », « créer un composant carte avec une variante mode sombre », « exporter chaque frame de cette page en 2× ».
+
+[Chat IA →](./ai-chat)
+
+## Collaboration
+
+Édition multijoueur en temps réel via WebRTC pair-à-pair. Pas de serveur, pas de compte. Partagez un lien de salle et éditez ensemble avec des curseurs en direct et le mode suivi. L'état du document se synchronise via CRDT, donc les modifications fusionnent automatiquement même avec des connexions instables.
+
+[Collaboration →](./collaboration)
+
+## Moteur de rendu JSX
+
+Décrivez une interface en JSX — la même syntaxe que les LLMs connaissent déjà grâce à React. Un seul appel peut créer un arbre de composants complet avec des frames, du texte, de l'auto-layout, des remplissages et des contours. Compact, déclaratif et diffable.
+
+Dans l'autre sens, exportez n'importe quelle sélection en JSX avec des classes Tailwind — utile pour le transfert au développement ou pour renvoyer des designs dans un LLM.
+
+[Moteur de rendu JSX →](./jsx-renderer)
+
+## CLI
+
+Inspectez, exportez et analysez des fichiers `.fig` sans ouvrir l'éditeur. Listez les pages, recherchez des nœuds, extrayez des tokens de design, rendez en PNG — le tout depuis le terminal avec une sortie JSON lisible par machine.
+
+Le CLI se connecte aussi à l'application de bureau en cours d'exécution via RPC, ce qui permet de scripter l'éditeur pendant que vous l'utilisez.
+
+[Inspecter des fichiers](./cli/inspecting) · [Exporter](./cli/exporting) · [Analyser des designs](./cli/analyzing) · [Scripter](./cli/scripting)
+
+## Serveur MCP
+
+Connectez Claude Code, Cursor, Windsurf ou tout client compatible MCP à OpenPencil. Le serveur expose 90 outils pour lire, créer et modifier des designs — les mêmes outils que le chat IA intégré utilise. Fonctionne via stdio ou HTTP avec support de sessions.
+
+[Serveur MCP →](./mcp-server)
+
+## Pourquoi ouvert ?
+
+Figma est une plateforme fermée. Leur serveur MCP est en lecture seule. L'accès via CDP au navigateur a été supprimé dans la version 126. Les fichiers de design sont stockés dans un format propriétaire sur les serveurs de quelqu'un d'autre. Le développement de plugins nécessite un runtime personnalisé avec des API limitées.
+
+OpenPencil est l'alternative : open source, sous licence MIT, chaque opération scriptable, données stockées localement. Vos fichiers de design vous appartiennent — inspectez-les, transformez-les, intégrez-les dans votre CI, envoyez-les à un LLM. Aucune permission nécessaire.
diff --git a/packages/docs/fr/programmable/jsx-renderer.md b/packages/docs/fr/programmable/jsx-renderer.md
new file mode 100644
index 000000000..1a78b0227
--- /dev/null
+++ b/packages/docs/fr/programmable/jsx-renderer.md
@@ -0,0 +1,116 @@
+---
+title: Moteur de rendu JSX
+description: Créez des designs avec JSX — la syntaxe que les LLMs connaissent déjà grâce à des millions de composants React.
+---
+
+# Moteur de rendu JSX
+
+OpenPencil utilise JSX comme langage de création de design. Les LLMs ont vu des millions de composants React — décrire une mise en page avec `<Frame><Text>` est naturel, aucun entraînement spécial nécessaire. Chaque token compte quand un agent IA effectue des dizaines d'opérations, et JSX est la représentation déclarative la plus compacte.
+
+JSX est aussi diffable. Quand une IA modifie un design, le changement est un diff JSX — lisible, vérifiable, versionnable.
+
+## Créer des designs
+
+L'outil `render` (disponible dans le chat IA, MCP et l'eval du CLI) accepte du JSX :
+
+```jsx
+<Frame name="Card" w={320} h="hug" flex="col" gap={16} p={24} bg="#FFF" rounded={16}>
+ <Text size={18} weight="bold">Card Title</Text>
+ <Text size={14} color="#666">Description text</Text>
+</Frame>
+```
+
+Dans le serveur MCP et le chat IA, l'outil `render` accepte des chaînes JSX directement. Dans le CLI, utilisez la commande `export` pour aller dans l'autre sens — [exporter des designs en JSX](./cli/exporting).
+
+## Éléments
+
+Tous les types de nœuds sont disponibles en tant qu'éléments JSX :
+
+| Élément | Crée | Alias |
+|---------|------|-------|
+| `<Frame>` | Frame (conteneur, supporte l'auto-layout) | `<View>` |
+| `<Rectangle>` | Rectangle | `<Rect>` |
+| `<Ellipse>` | Ellipse / cercle | |
+| `<Text>` | Nœud texte (les enfants deviennent le contenu textuel) | |
+| `<Line>` | Ligne | |
+| `<Star>` | Étoile | |
+| `<Polygon>` | Polygone | |
+| `<Vector>` | Chemin vectoriel | |
+| `<Group>` | Groupe | |
+| `<Section>` | Section | |
+
+## Props de style
+
+Props raccourcies compactes inspirées des conventions de nommage de Tailwind.
+
+### Mise en page
+
+| Prop | Description |
+|------|-------------|
+| `flex` | `"row"` ou `"col"` — active l'auto-layout |
+| `gap` | Espace entre les enfants |
+| `wrap` | Retour à la ligne des enfants |
+| `rowGap` | Espacement sur l'axe transversal lors du retour à la ligne |
+| `justify` | `"start"`, `"end"`, `"center"`, `"between"` |
+| `items` | `"start"`, `"end"`, `"center"`, `"stretch"` |
+| `p`, `px`, `py`, `pt`, `pr`, `pb`, `pl` | Marges internes (padding) |
+
+### Taille et position
+
+| Prop | Description |
+|------|-------------|
+| `w`, `h` | Largeur/hauteur — nombre, `"fill"` ou `"hug"` |
+| `minW`, `maxW`, `minH`, `maxH` | Contraintes de taille |
+| `x`, `y` | Position |
+
+### Apparence
+
+| Prop | Description |
+|------|-------------|
+| `bg` | Remplissage d'arrière-plan (couleur hexadécimale) |
+| `fill` | Alias pour `bg` |
+| `stroke` | Couleur de contour |
+| `strokeWidth` | Épaisseur du contour (par défaut : 1) |
+| `rounded` | Rayon d'arrondi (ou `roundedTL`, `roundedTR`, `roundedBL`, `roundedBR`) |
+| `cornerSmoothing` | Coins lisses style iOS (0–1) |
+| `opacity` | 0–1 |
+| `shadow` | Ombre portée (ex. `"0 4 8 #00000040"`) |
+| `blur` | Rayon de flou du calque |
+| `rotate` | Rotation en degrés |
+| `blendMode` | Mode de fusion |
+| `overflow` | `"hidden"` ou `"visible"` |
+
+### Typographie
+
+| Prop | Description |
+|------|-------------|
+| `size` / `fontSize` | Taille de police |
+| `font` / `fontFamily` | Famille de polices |
+| `weight` / `fontWeight` | `"bold"`, `"medium"`, `"normal"` ou nombre |
+| `color` | Couleur du texte |
+| `textAlign` | `"left"`, `"center"`, `"right"`, `"justified"` |
+
+## Exporter en JSX
+
+Convertissez des designs existants en JSX :
+
+```sh
+open-pencil export design.fig -f jsx # Format OpenPencil
+open-pencil export design.fig -f jsx --style tailwind # Classes Tailwind
+```
+
+L'aller-retour fonctionne : exportez un design en JSX, modifiez le code, rendez-le à nouveau.
+
+## Diff visuel
+
+Comme les designs sont représentables en JSX, les changements deviennent des diffs de code :
+
+```diff
+ <Frame name="Card" w={320} flex="col" gap={16} p={24} bg="#FFF">
+- <Text size={18} weight="bold">Old Title</Text>
++ <Text size={24} weight="bold" color="#1D1B20">New Title</Text>
+ <Text size={14} color="#666">Description</Text>
+ </Frame>
+```
+
+Cela rend les changements de design vérifiables dans les pull requests, traçables dans le contrôle de version, et auditables dans la CI.
diff --git a/packages/docs/fr/programmable/mcp-server.md b/packages/docs/fr/programmable/mcp-server.md
new file mode 100644
index 000000000..e296a6447
--- /dev/null
+++ b/packages/docs/fr/programmable/mcp-server.md
@@ -0,0 +1,251 @@
+# MCP Server
+
+OpenPencil includes an MCP (Model Context Protocol) server that lets AI coding tools — Claude Code, Cursor, Windsurf, etc. — read and modify `.fig` files headlessly.
+
+Two transports: **stdio** for MCP clients, **HTTP** for everything else.
+
+## Install
+
+```sh
+bun add -g @open-pencil/mcp
+```
+
+## Stdio (Claude Code, Cursor, etc.)
+
+Add to your MCP config (e.g. `~/.claude/settings.json` or `.cursor/mcp.json`):
+
+```json
+{
+ "mcpServers": {
+ "open-pencil": {
+ "command": "openpencil-mcp"
+ }
+ }
+}
+```
+
+Or run from source without installing:
+
+::: code-group
+```json [Bun]
+{
+ "mcpServers": {
+ "open-pencil": {
+ "command": "bun",
+ "args": ["/path/to/open-pencil/packages/mcp/src/index.ts"]
+ }
+ }
+}
+```
+```json [Node.js]
+{
+ "mcpServers": {
+ "open-pencil": {
+ "command": "npx",
+ "args": ["tsx", "/path/to/open-pencil/packages/mcp/src/index.ts"]
+ }
+ }
+}
+```
+:::
+
+## HTTP
+
+For browser extensions, scripts, CI, or any HTTP client:
+
+```sh
+openpencil-mcp-http
+```
+
+Or from source: `bun packages/mcp/src/http.ts` / `npx tsx packages/mcp/src/http.ts`
+
+Security defaults (HTTP transport):
+
+- Binds to `127.0.0.1` by default (`HOST` to override)
+- `eval` tool is disabled
+- File operations are limited to `OPENPENCIL_MCP_ROOT` (defaults to current working directory)
+- CORS is disabled by default; set `OPENPENCIL_MCP_CORS_ORIGIN` to allow one origin
+- Optional auth token: `OPENPENCIL_MCP_AUTH_TOKEN` (client sends `Authorization: Bearer <token>` or `x-mcp-token`)
+
+Server starts on port 3100 (override with `PORT` env var). Endpoints:
+
+- `GET /health` — server status
+- `POST /mcp` — MCP Streamable HTTP (SSE). Sessions via `mcp-session-id` header.
+
+## Workflow
+
+1. **Open** — `open_file` to load an existing `.fig`, or `new_document` for a blank canvas
+2. **Read** — `get_page_tree`, `find_nodes`, `get_node`, `list_pages`
+3. **Create** — `create_shape`, `render` (JSX)
+4. **Modify** — `set_fill`, `set_stroke`, `set_layout`, `update_node`, `set_effects`
+5. **Structure** — `reparent_node`, `group_nodes`, `clone_node`, `delete_node`
+6. **Save** — `save_file` to write back to `.fig`
+
+## AI Agent Skill
+
+Teach your AI coding agent to use OpenPencil tools:
+
+```sh
+npx skills add open-pencil/skills@open-pencil
+```
+
+Works with Claude Code, Cursor, Windsurf, Codex, and any agent that supports [skills](https://skills.sh). The skill covers the CLI, MCP tools, JSX rendering, eval, and the running app's automation bridge.
+
+## Tools (90)
+
+### Document
+
+| Tool | Description |
+|------|-------------|
+| `open_file` | Open a `.fig` file for editing |
+| `save_file` | Save the current document to a `.fig` file |
+| `new_document` | Create a new empty document |
+
+### Read
+
+| Tool | Description |
+|------|-------------|
+| `get_selection` | Get currently selected nodes |
+| `get_page_tree` | Get the full node tree of the current page |
+| `get_current_page` | Get the current page name and ID |
+| `get_node` | Get detailed properties of a node by ID |
+| `find_nodes` | Find nodes by name pattern and/or type |
+| `get_components` | List all components in the document |
+| `list_pages` | List all pages |
+| `list_variables` | List design variables |
+| `list_collections` | List variable collections |
+| `list_fonts` | List fonts used in the current page |
+| `page_bounds` | Get bounding box of all objects on the current page |
+| `node_bounds` | Get bounding box of a node |
+| `node_ancestors` | Get ancestor chain of a node |
+| `node_children` | Get direct children of a node |
+| `node_tree` | Get the subtree rooted at a node |
+| `node_bindings` | Get variable bindings on a node |
+
+### Create
+
+| Tool | Description |
+|------|-------------|
+| `create_shape` | Create a shape (`FRAME`, `RECTANGLE`, `ELLIPSE`, `TEXT`, `LINE`, `STAR`, `POLYGON`, `SECTION`) |
+| `create_vector` | Create a vector node from a path string |
+| `create_slice` | Create an export slice |
+| `create_page` | Create a new page |
+| `render` | Render JSX to design nodes — create entire component trees in one call |
+| `create_component` | Convert a frame/group into a component |
+| `create_instance` | Create an instance of a component |
+| `node_to_component` | Convert an existing node into a component in-place |
+
+### Modify
+
+| Tool | Description |
+|------|-------------|
+| `set_fill` | Set fill color (hex) |
+| `set_stroke` | Set stroke color, weight, alignment |
+| `set_effects` | Add shadow or blur effects |
+| `update_node` | Update position, size, opacity, corner radius, text, font |
+| `set_layout` | Set auto-layout (flexbox) — direction, spacing, padding, alignment |
+| `set_constraints` | Set resize constraints |
+| `set_rotation` | Set rotation angle in degrees |
+| `set_opacity` | Set opacity (0–1) |
+| `set_radius` | Set corner radius (uniform or per-corner) |
+| `set_minmax` | Set min/max width and height constraints |
+| `set_text` | Set text content of a `TEXT` node |
+| `set_font` | Set font family and weight |
+| `set_font_range` | Set font properties on a character range |
+| `set_text_resize` | Set text auto-resize mode (fixed/auto-width/auto-height) |
+| `set_visible` | Show or hide a node |
+| `set_blend` | Set blend mode |
+| `set_locked` | Lock or unlock a node |
+| `set_stroke_align` | Set stroke alignment (inside/center/outside) |
+| `set_text_properties` | Set text layout: alignment, auto-resize, text case, decoration, truncation |
+| `set_layout_child` | Configure auto-layout child: sizing, grow, alignment, absolute positioning |
+| `node_move` | Move a node to a new position |
+| `node_resize` | Resize a node |
+| `node_replace_with` | Replace a node with another node |
+| `arrange` | Align or distribute selected nodes |
+
+### Structure
+
+| Tool | Description |
+|------|-------------|
+| `delete_node` | Delete a node |
+| `clone_node` | Duplicate a node |
+| `rename_node` | Rename a node |
+| `reparent_node` | Move a node into a different parent |
+| `select_nodes` | Select nodes by ID |
+| `group_nodes` | Group nodes |
+| `ungroup_node` | Ungroup a group |
+| `flatten_nodes` | Flatten nodes into a single vector |
+| `boolean_union` | Boolean union of two or more nodes |
+| `boolean_subtract` | Boolean subtraction |
+| `boolean_intersect` | Boolean intersection |
+| `boolean_exclude` | Boolean exclusion |
+
+### Vector Path
+
+| Tool | Description |
+|------|-------------|
+| `path_get` | Get the path data of a vector node |
+| `path_set` | Set the path data of a vector node |
+| `path_scale` | Scale a vector path |
+| `path_flip` | Flip a vector path horizontally or vertically |
+| `path_move` | Translate a vector path |
+
+### Export
+
+| Tool | Description |
+|------|-------------|
+| `export_image` | Export nodes as PNG, JPG, or WEBP. Returns base64-encoded image data |
+| `export_svg` | Export nodes as SVG markup |
+
+### Viewport
+
+| Tool | Description |
+|------|-------------|
+| `viewport_get` | Get current viewport position and zoom level |
+| `viewport_set` | Set viewport position and zoom |
+| `viewport_zoom_to_fit` | Zoom viewport to fit specified nodes |
+
+### Variables
+
+| Tool | Description |
+|------|-------------|
+| `get_variable` | Get a variable by ID or name |
+| `find_variables` | Find variables by name pattern or type |
+| `create_variable` | Create a new variable in a collection |
+| `set_variable` | Set a variable value in a mode |
+| `delete_variable` | Delete a variable |
+| `bind_variable` | Bind a variable to a node property |
+| `get_collection` | Get a variable collection by ID or name |
+| `create_collection` | Create a new variable collection |
+| `delete_collection` | Delete a variable collection |
+
+### Analyze
+
+| Tool | Description |
+|------|-------------|
+| `analyze_colors` | Analyze color palette usage across the document |
+| `analyze_typography` | Analyze font/size/weight distribution |
+| `analyze_spacing` | Analyze gap and padding values |
+| `analyze_clusters` | Detect repeated patterns (potential components) |
+
+### Diff
+
+| Tool | Description |
+|------|-------------|
+| `diff_create` | Create a snapshot of the current document state |
+| `diff_show` | Show differences between the current state and a snapshot |
+
+### Navigation
+
+| Tool | Description |
+|------|-------------|
+| `switch_page` | Switch to a page by name or ID |
+
+### Escape Hatch
+
+| Tool | Description |
+|------|-------------|
+| `eval` | Execute JavaScript with full Figma Plugin API access |
+
+Note: `eval` is available over stdio, but disabled in HTTP mode for security.
diff --git a/packages/docs/fr/reference/cli.md b/packages/docs/fr/reference/cli.md
new file mode 100644
index 000000000..6f83df440
--- /dev/null
+++ b/packages/docs/fr/reference/cli.md
@@ -0,0 +1,184 @@
+---
+title: CLI Reference
+description: Complete reference for all open-pencil commands, options, and flags.
+---
+
+# CLI Reference
+
+All commands accept a `.fig` file as a positional argument. When omitted, the CLI connects to the running desktop app via RPC.
+
+## info
+
+Show document info — pages, node counts, fonts, file size.
+
+```sh
+open-pencil info [file] [--json]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--json` | Output as JSON |
+
+## tree
+
+Print the node hierarchy.
+
+```sh
+open-pencil tree [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--page` | Page name (default: first page) |
+| `--depth` | Max depth (default: unlimited) |
+| `--json` | Output as JSON |
+
+## find
+
+Search nodes by name or type.
+
+```sh
+open-pencil find [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--name` | Node name (partial match, case-insensitive) |
+| `--type` | Node type: `FRAME`, `TEXT`, `RECTANGLE`, `INSTANCE`, etc. |
+| `--page` | Page name (default: all pages) |
+| `--limit` | Max results (default: 100) |
+| `--json` | Output as JSON |
+
+## node
+
+Show detailed properties of a node.
+
+```sh
+open-pencil node [file] --id <id> [--json]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--id` | **Required.** Node ID (e.g. `1:23`) |
+| `--json` | Output as JSON |
+
+## pages
+
+List all pages in the document.
+
+```sh
+open-pencil pages [file] [--json]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--json` | Output as JSON |
+
+## variables
+
+List design variables and collections.
+
+```sh
+open-pencil variables [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--collection` | Filter by collection name |
+| `--type` | Filter by type: `COLOR`, `FLOAT`, `STRING`, `BOOLEAN` |
+| `--json` | Output as JSON |
+
+## export
+
+Export to PNG, JPG, WEBP, SVG, or JSX.
+
+```sh
+open-pencil export [file] [options]
+```
+
+| Option | Alias | Description |
+|--------|-------|-------------|
+| `--format` | `-f` | `png` (default), `jpg`, `webp`, `svg`, `jsx` |
+| `--output` | `-o` | Output file path (default: `<name>.<format>`) |
+| `--scale` | `-s` | Export scale (default: 1) |
+| `--quality` | `-q` | Quality 0–100, JPG/WEBP only (default: 90) |
+| `--page` | | Page name (default: first page) |
+| `--node` | | Node ID to export (default: all top-level nodes) |
+| `--style` | | JSX style: `openpencil` (default), `tailwind` |
+| `--thumbnail` | | Export page thumbnail instead of full render |
+| `--width` | | Thumbnail width (default: 1920) |
+| `--height` | | Thumbnail height (default: 1080) |
+
+## eval
+
+Execute JavaScript with the Figma Plugin API.
+
+```sh
+open-pencil eval [file] [options]
+```
+
+| Option | Alias | Description |
+|--------|-------|-------------|
+| `--code` | `-c` | JavaScript code to execute |
+| `--stdin` | | Read code from stdin |
+| `--write` | `-w` | Write changes back to the input file |
+| `--output` | `-o` | Write to a different file |
+| `--json` | | Output as JSON |
+| `--quiet` | `-q` | Suppress output |
+
+## analyze colors
+
+Analyze color palette usage across the document.
+
+```sh
+open-pencil analyze colors [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--limit` | Max colors to show (default: 30) |
+| `--threshold` | Distance threshold for clustering similar colors, 0–50 (default: 15) |
+| `--similar` | Show similar color clusters |
+| `--json` | Output as JSON |
+
+## analyze typography
+
+Analyze font family, size, and weight distribution.
+
+```sh
+open-pencil analyze typography [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--group-by` | Group by: `family`, `size`, `weight` (default: show all styles) |
+| `--limit` | Max styles to show (default: 30) |
+| `--json` | Output as JSON |
+
+## analyze spacing
+
+Analyze gap and padding values across auto-layout frames.
+
+```sh
+open-pencil analyze spacing [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--grid` | Base grid size to check against (default: 8) |
+| `--json` | Output as JSON |
+
+## analyze clusters
+
+Find repeated node patterns — potential components.
+
+```sh
+open-pencil analyze clusters [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--limit` | Max clusters to show (default: 20) |
+| `--min-size` | Min node size in px (default: 30) |
+| `--min-count` | Min instances to form a cluster (default: 2) |
+| `--json` | Output as JSON |
diff --git a/packages/docs/it/programmable/ai-chat.md b/packages/docs/it/programmable/ai-chat.md
new file mode 100644
index 000000000..92d7643de
--- /dev/null
+++ b/packages/docs/it/programmable/ai-chat.md
@@ -0,0 +1,47 @@
+---
+title: Chat IA
+description: Assistente IA integrato con 87 strumenti per creare e modificare design.
+---
+
+# Chat IA
+
+Premi <kbd>⌘</kbd><kbd>J</kbd> (<kbd>Ctrl</kbd> + <kbd>J</kbd>) per aprire l'assistente IA. Descrivi ciò che vuoi — crea forme, imposta stili, gestisce il layout, lavora con i componenti e analizza il tuo design.
+
+## Configurazione
+
+1. Apri il pannello chat IA (<kbd>⌘</kbd><kbd>J</kbd>)
+2. Clicca l'icona delle impostazioni
+3. Inserisci la tua chiave API OpenRouter
+4. Scegli un modello (Claude, GPT-4, Gemini, ecc.)
+
+Nessun backend, nessun abbonamento — la tua chiave comunica direttamente con OpenRouter.
+
+## Cosa Può Fare
+
+L'assistente ha 87 strumenti suddivisi in queste categorie:
+
+- **Creazione** — frame, forme, testo, componenti, pagine. Renderizza JSX per layout complessi.
+- **Stile** — riempimenti, bordi, effetti, opacità, raggio degli angoli, metodi di fusione.
+- **Layout** — auto-layout, allineamento, spaziatura, dimensionamento.
+- **Componenti** — crea componenti, istanze, set di componenti. Gestisci le sovrascritture.
+- **Variabili** — crea/modifica variabili, collezioni, modalità. Associa ai riempimenti.
+- **Query** — trova nodi, leggi proprietà, elenca pagine, font, selezione.
+- **Analisi** — palette colori, audit tipografico, coerenza della spaziatura, rilevamento cluster.
+- **Esportazione** — PNG, SVG, JSX con classi Tailwind.
+- **Vettoriale** — operazioni booleane, manipolazione dei tracciati.
+
+## Esempi di Prompt
+
+- "Crea una card con un titolo, una descrizione e un pulsante blu"
+- "Fai in modo che tutti i pulsanti di questa pagina usino lo stesso raggio dei bordi"
+- "Quali font sono usati in questo file?"
+- "Cambia lo sfondo del frame selezionato con un gradiente dal blu al viola"
+- "Esporta il frame selezionato come SVG"
+- "Trova tutti i nodi di testo con dimensione font inferiore a 12"
+
+## Suggerimenti
+
+- Seleziona i nodi prima di chiedere — l'assistente sa cosa è selezionato.
+- Sii specifico su colori, dimensioni e posizioni per risultati precisi.
+- L'assistente può modificare più nodi in un singolo messaggio.
+- Usa "annulla" nell'editor se il risultato non ti piace.
diff --git a/packages/docs/it/programmable/cli/analyzing.md b/packages/docs/it/programmable/cli/analyzing.md
new file mode 100644
index 000000000..407d5a4a1
--- /dev/null
+++ b/packages/docs/it/programmable/cli/analyzing.md
@@ -0,0 +1,65 @@
+---
+title: Analisi dei Design
+description: Audita colori, tipografia, spaziatura e pattern ripetuti nei file .fig.
+---
+
+# Analisi dei Design
+
+I comandi `analyze` auditano un intero design system dal terminale — trova incongruenze, estrai la palette reale, individua componenti in attesa di essere estratti.
+
+## Colori
+
+```sh
+open-pencil analyze colors design.fig
+```
+
+Trova ogni colore nel file, conta l'utilizzo e mostra un istogramma visuale:
+
+```
+#1d1b20 ██████████████████████████████ 17155×
+#49454f ██████████████████████████████ 9814×
+#ffffff ██████████████████████████████ 8620×
+#6750a4 ██████████████████████████████ 3967×
+```
+
+## Tipografia
+
+```sh
+open-pencil analyze typography design.fig
+```
+
+Elenca ogni combinazione di famiglia di font, dimensione e peso con conteggi di utilizzo. Utile per individuare stili di testo isolati che dovrebbero essere consolidati.
+
+## Spaziatura
+
+```sh
+open-pencil analyze spacing design.fig
+```
+
+Audita i valori di gap e padding nei frame con auto-layout. Aiuta a identificare incongruenze nella scala di spaziatura — ad esempio un gap di `13px` isolato tra valori altrimenti di `8/16/24`.
+
+## Cluster
+
+```sh
+open-pencil analyze clusters design.fig
+```
+
+Trova pattern di nodi ripetuti che potrebbero essere estratti come componenti:
+
+```
+3771× frame "container" (100% match)
+ size: 40×40, structure: Frame > [Frame]
+
+2982× instance "Checkboxes" (100% match)
+ size: 48×48, structure: Instance > [Frame]
+```
+
+## Output JSON
+
+Tutti i comandi analyze supportano `--json` per output leggibile dalle macchine:
+
+```sh
+open-pencil analyze colors design.fig --json
+```
+
+Invia tramite pipe a `jq`, usa nei controlli CI o utilizza negli script che verificano i budget dei token di design.
diff --git a/packages/docs/it/programmable/cli/exporting.md b/packages/docs/it/programmable/cli/exporting.md
new file mode 100644
index 000000000..548aba53d
--- /dev/null
+++ b/packages/docs/it/programmable/cli/exporting.md
@@ -0,0 +1,59 @@
+---
+title: Esportazione
+description: Renderizza file .fig in PNG, JPG, WEBP, SVG o JSX con classi Tailwind.
+---
+
+# Esportazione
+
+Esporta i design dal terminale — immagini raster, vettoriali o codice JSX.
+
+## Esportazione Immagini
+
+```sh
+open-pencil export design.fig # PNG (predefinito)
+open-pencil export design.fig -f jpg -s 2 -q 90 # JPG a 2×, qualità 90
+open-pencil export design.fig -f webp -s 3 # WEBP a 3×
+open-pencil export design.fig -f svg # SVG vettoriale
+```
+
+Opzioni:
+
+- `-f` — formato: `png`, `jpg`, `webp`, `svg`, `jsx`
+- `-s` — scala: `1`–`4`
+- `-q` — qualità: `0`–`100` (solo JPG/WEBP)
+- `-o` — percorso di output
+- `--page` — nome della pagina
+- `--node` — ID di un nodo specifico
+
+## Esportazione JSX
+
+Esporta come JSX con classi utility Tailwind:
+
+```sh
+open-pencil export design.fig -f jsx --style tailwind
+```
+
+Output:
+
+```html
+<div className="flex flex-col gap-4 p-6 bg-white rounded-xl">
+ <p className="text-2xl font-bold text-[#1D1B20]">Card Title</p>
+ <p className="text-sm text-[#49454F]">Description text</p>
+</div>
+```
+
+Supporta anche `--style openpencil` per il formato JSX nativo (vedi [Renderer JSX](../jsx-renderer)).
+
+## Miniature
+
+```sh
+open-pencil export design.fig --thumbnail --width 1920 --height 1080
+```
+
+## Modalità App in Esecuzione
+
+Ometti il file per esportare dall'app in esecuzione:
+
+```sh
+open-pencil export -f png # screenshot del canvas corrente
+```
diff --git a/packages/docs/it/programmable/cli/inspecting.md b/packages/docs/it/programmable/cli/inspecting.md
new file mode 100644
index 000000000..877a96369
--- /dev/null
+++ b/packages/docs/it/programmable/cli/inspecting.md
@@ -0,0 +1,98 @@
+---
+title: Ispezione dei File
+description: Esplora alberi di nodi, cerca per nome o tipo e analizza le proprietà dal terminale.
+---
+
+# Ispezione dei File
+
+La CLI ti permette di esplorare file `.fig` senza aprire l'editor. Ogni comando funziona anche con l'app in esecuzione — basta omettere l'argomento del file.
+
+::: tip Installazione
+```sh
+bun add -g @open-pencil/cli
+# oppure
+brew install open-pencil/tap/open-pencil
+```
+:::
+
+## Informazioni sul Documento
+
+Ottieni una panoramica rapida — conteggio pagine, nodi totali, font utilizzati, dimensione del file:
+
+```sh
+open-pencil info design.fig
+```
+
+## Albero dei Nodi
+
+Stampa l'intera gerarchia dei nodi:
+
+```sh
+open-pencil tree design.fig
+```
+
+```
+[0] [page] "Getting started" (0:46566)
+ [0] [section] "" (0:46567)
+ [0] [frame] "Body" (0:46568)
+ [0] [frame] "Introduction" (0:46569)
+ [0] [frame] "Introduction Card" (0:46570)
+ [0] [frame] "Guidance" (0:46571)
+```
+
+## Trova Nodi
+
+Cerca per tipo:
+
+```sh
+open-pencil find design.fig --type TEXT
+```
+
+Cerca per nome:
+
+```sh
+open-pencil find design.fig --name "Button"
+```
+
+Entrambi i flag possono essere combinati per restringere ulteriormente i risultati.
+
+## Dettagli del Nodo
+
+Ispeziona tutte le proprietà di un nodo specifico tramite il suo ID:
+
+```sh
+open-pencil node design.fig --id 1:23
+```
+
+## Pagine
+
+Elenca tutte le pagine del documento:
+
+```sh
+open-pencil pages design.fig
+```
+
+## Variabili
+
+Elenca le variabili di design e le relative collezioni:
+
+```sh
+open-pencil variables design.fig
+```
+
+## Modalità App in Esecuzione
+
+Quando l'app desktop è in esecuzione, ometti l'argomento del file — la CLI si connette tramite RPC e opera sul canvas attivo:
+
+```sh
+open-pencil tree # ispeziona il documento attivo
+open-pencil eval -c "..." # interroga l'editor
+```
+
+## Output JSON
+
+Tutti i comandi supportano `--json` per output leggibile dalle macchine — invia tramite pipe a `jq`, usa negli script CI o elabora con altri strumenti:
+
+```sh
+open-pencil tree design.fig --json | jq '.[] | .name'
+```
diff --git a/packages/docs/it/programmable/cli/scripting.md b/packages/docs/it/programmable/cli/scripting.md
new file mode 100644
index 000000000..dfd30793e
--- /dev/null
+++ b/packages/docs/it/programmable/cli/scripting.md
@@ -0,0 +1,70 @@
+---
+title: Scripting
+description: Esegui JavaScript con la Figma Plugin API — interroga nodi, modifica design in batch, crea frame.
+---
+
+# Scripting
+
+`open-pencil eval` ti dà accesso alla Figma Plugin API completa dal terminale. Leggi nodi, modifica proprietà, crea forme — poi scrivi le modifiche nel file.
+
+## Utilizzo Base
+
+```sh
+open-pencil eval design.fig -c "figma.currentPage.children.length"
+```
+
+Il flag `-c` accetta JavaScript. La variabile globale `figma` funziona come la Figma Plugin API.
+
+## Interrogazione dei Nodi
+
+```sh
+open-pencil eval design.fig -c "
+ figma.currentPage.findAll(n => n.type === 'FRAME' && n.name.includes('Button'))
+ .map(b => ({ id: b.id, name: b.name, w: b.width, h: b.height }))
+"
+```
+
+## Modifica e Salvataggio
+
+```sh
+open-pencil eval design.fig -c "
+ figma.currentPage.children.forEach(n => n.opacity = 0.5)
+" -w
+```
+
+`-w` scrive le modifiche nel file di input. Usa `-o output.fig` per scrivere in un file diverso.
+
+## Lettura da Stdin
+
+Per script più lunghi:
+
+```sh
+cat transform.js | open-pencil eval design.fig --stdin -w
+```
+
+## Modalità App in Esecuzione
+
+Ometti il file per eseguire sull'app desktop in esecuzione:
+
+```sh
+open-pencil eval -c "figma.currentPage.name"
+```
+
+## API Disponibili
+
+L'oggetto `figma` supporta:
+
+- `figma.currentPage` — la pagina attiva
+- `figma.root` — la radice del documento
+- `figma.createFrame()`, `figma.createRectangle()`, `figma.createEllipse()`, `figma.createText()`, ecc.
+- `.findAll()`, `.findOne()` — cerca tra i discendenti
+- `.appendChild()`, `.insertChild()` — manipolazione dell'albero
+- Tutti i setter di proprietà: `.fills`, `.strokes`, `.effects`, `.opacity`, `.cornerRadius`, `.layoutMode`, `.itemSpacing`, ecc.
+
+Questa è la stessa API utilizzata dai plugin Figma, quindi le conoscenze esistenti e gli snippet di codice si trasferiscono direttamente.
+
+## Output JSON
+
+```sh
+open-pencil eval design.fig -c "..." --json
+```
diff --git a/packages/docs/it/programmable/collaboration.md b/packages/docs/it/programmable/collaboration.md
new file mode 100644
index 000000000..41b2b8506
--- /dev/null
+++ b/packages/docs/it/programmable/collaboration.md
@@ -0,0 +1,38 @@
+---
+title: Collaborazione
+description: Editing collaborativo in tempo reale tramite P2P WebRTC — nessun server, nessun account.
+---
+
+# Collaborazione
+
+Modifica i design insieme in tempo reale. I peer si connettono direttamente — nessun server trasmette i tuoi dati, nessun account richiesto.
+
+## Condivisione di una Stanza
+
+1. Clicca il pulsante di condivisione nell'angolo in alto a destra
+2. Copia il link generato (`app.openpencil.dev/share/<room-id>`)
+3. Invialo ai tuoi collaboratori
+
+Chiunque abbia il link può partecipare. La stanza rimane attiva finché almeno un partecipante ha la pagina aperta.
+
+## Cosa si Sincronizza
+
+- **Modifiche al documento** — ogni modifica (forme, testo, proprietà, layout) si sincronizza istantaneamente
+- **Cursori** — vedi dove sta puntando ciascun collaboratore, con il suo nome e colore
+- **Selezioni** — le selezioni evidenziate sono visibili a tutti
+
+## Modalità Follow
+
+Clicca l'avatar di un collaboratore nella barra superiore per seguire il suo viewport. Il tuo canvas si sposta e zooma per corrispondere alla sua vista. Clicca di nuovo per smettere di seguire.
+
+## Come Funziona
+
+I peer si connettono direttamente tramite WebRTC — i dati del tuo design vanno dritti da browser a browser, senza mai passare per un server centrale. Lo stato del documento usa un CRDT (tipo di dato replicato senza conflitti), quindi le modifiche concorrenti si uniscono automaticamente senza conflitti.
+
+La stanza persiste localmente — se aggiorni la pagina, ti riconnetti con lo stesso stato.
+
+## Suggerimenti
+
+- Funziona nel browser e nell'app desktop
+- Gli ID delle stanze sono crittograficamente casuali — solo chi ha il link può partecipare
+- I cursori inattivi vengono rimossi automaticamente quando qualcuno si disconnette
diff --git a/packages/docs/it/programmable/index.md b/packages/docs/it/programmable/index.md
new file mode 100644
index 000000000..a8db4351e
--- /dev/null
+++ b/packages/docs/it/programmable/index.md
@@ -0,0 +1,51 @@
+---
+layout: doc
+title: IA e Automazione
+description: Ogni operazione in OpenPencil è scriptabile — chat IA, CLI, renderer JSX, server MCP, collaborazione in tempo reale.
+---
+
+# IA e Automazione
+
+OpenPencil tratta i file di design come dati. Ogni operazione disponibile nell'editor — creare forme, impostare riempimenti, gestire l'auto-layout, esportare risorse — è disponibile anche dal terminale, dagli agenti IA e dal codice. Nessun plugin da installare, nessuna chiave API, nessuna lista d'attesa.
+
+L'interfaccia dell'editor e le interfacce di automazione utilizzano lo stesso motore. Se puoi farlo cliccando, puoi farlo con uno script.
+
+## Chat IA
+
+L'assistente integrato ha accesso a 87 strumenti che coprono l'intera superficie dell'editor. Descrivi ciò che vuoi in linguaggio naturale — "aggiungi un'ombra esterna di 16px a tutti i pulsanti", "crea un componente card con variante dark mode", "esporta ogni frame di questa pagina a 2×".
+
+[Chat IA →](./ai-chat)
+
+## Collaborazione
+
+Editing multiplayer in tempo reale tramite WebRTC peer-to-peer. Nessun server, nessun account. Condividi un link della stanza e modifica insieme con cursori live e modalità di follow. Lo stato del documento si sincronizza tramite CRDT, quindi le modifiche si uniscono automaticamente anche con connessioni instabili.
+
+[Collaborazione →](./collaboration)
+
+## Renderer JSX
+
+Descrivi l'interfaccia come JSX — la stessa sintassi che gli LLM già conoscono da React. Una singola chiamata può creare un intero albero di componenti con frame, testo, auto-layout, riempimenti e bordi. Compatto, dichiarativo e confrontabile con diff.
+
+Nella direzione opposta, esporta qualsiasi selezione in JSX con classi Tailwind — utile per il passaggio allo sviluppo o per fornire i design a un LLM.
+
+[Renderer JSX →](./jsx-renderer)
+
+## CLI
+
+Ispeziona, esporta e analizza file `.fig` senza aprire l'editor. Elenca le pagine, cerca i nodi, estrai i token di design, renderizza in PNG — tutto dal terminale con output JSON leggibile dalle macchine.
+
+La CLI si connette anche all'app desktop in esecuzione tramite RPC, così puoi scriptare l'editor mentre lo stai usando.
+
+[Ispezione dei File](./cli/inspecting) · [Esportazione](./cli/exporting) · [Analisi dei Design](./cli/analyzing) · [Scripting](./cli/scripting)
+
+## Server MCP
+
+Connetti Claude Code, Cursor, Windsurf o qualsiasi client compatibile con MCP a OpenPencil. Il server espone 90 strumenti per leggere, creare e modificare design — gli stessi strumenti che usa la chat IA integrata. Funziona tramite stdio o HTTP con supporto alle sessioni.
+
+[Server MCP →](./mcp-server)
+
+## Perché Open?
+
+Figma è una piattaforma chiusa. Il loro server MCP è in sola lettura. L'accesso CDP via browser è stato eliminato nella versione 126. I file di design risiedono in un formato proprietario sui server di qualcun altro. Lo sviluppo di plugin richiede un runtime personalizzato con API limitate.
+
+OpenPencil è l'alternativa: open source, licenza MIT, ogni operazione scriptabile, dati archiviati localmente. I tuoi file di design sono tuoi — ispezionali, trasformali, inviali alla CI, dalli in pasto a un LLM. Nessun permesso necessario.
diff --git a/packages/docs/it/programmable/jsx-renderer.md b/packages/docs/it/programmable/jsx-renderer.md
new file mode 100644
index 000000000..a2d0b4616
--- /dev/null
+++ b/packages/docs/it/programmable/jsx-renderer.md
@@ -0,0 +1,116 @@
+---
+title: Renderer JSX
+description: Crea design con JSX — la sintassi che gli LLM già conoscono da milioni di componenti React.
+---
+
+# Renderer JSX
+
+OpenPencil usa JSX come linguaggio di creazione dei design. Gli LLM hanno visto milioni di componenti React — descrivere un layout come `<Frame><Text>` è naturale, nessun addestramento speciale necessario. Ogni token conta quando un agente IA esegue decine di operazioni, e JSX è la rappresentazione dichiarativa più compatta.
+
+JSX è anche confrontabile con diff. Quando un'IA modifica un design, la modifica è un diff JSX — leggibile, revisionabile, versionabile.
+
+## Creazione dei Design
+
+Lo strumento `render` (disponibile nella chat IA, MCP e CLI eval) accetta JSX:
+
+```jsx
+<Frame name="Card" w={320} h="hug" flex="col" gap={16} p={24} bg="#FFF" rounded={16}>
+ <Text size={18} weight="bold">Card Title</Text>
+ <Text size={14} color="#666">Description text</Text>
+</Frame>
+```
+
+Nel server MCP e nella chat IA, lo strumento `render` accetta direttamente stringhe JSX. Nella CLI, usa il comando `export` per andare nella direzione opposta — [esportare design come JSX](./cli/exporting).
+
+## Elementi
+
+Tutti i tipi di nodo sono disponibili come elementi JSX:
+
+| Elemento | Crea | Alias |
+|----------|------|-------|
+| `<Frame>` | Frame (contenitore, supporta auto-layout) | `<View>` |
+| `<Rectangle>` | Rettangolo | `<Rect>` |
+| `<Ellipse>` | Ellisse / cerchio | |
+| `<Text>` | Nodo di testo (i figli diventano contenuto testuale) | |
+| `<Line>` | Linea | |
+| `<Star>` | Stella | |
+| `<Polygon>` | Poligono | |
+| `<Vector>` | Tracciato vettoriale | |
+| `<Group>` | Gruppo | |
+| `<Section>` | Sezione | |
+
+## Proprietà di Stile
+
+Proprietà abbreviate compatte ispirate alla nomenclatura di Tailwind.
+
+### Layout
+
+| Proprietà | Descrizione |
+|-----------|-------------|
+| `flex` | `"row"` o `"col"` — attiva l'auto-layout |
+| `gap` | Spazio tra i figli |
+| `wrap` | Manda a capo i figli alla riga successiva |
+| `rowGap` | Spaziatura sull'asse trasversale durante il wrapping |
+| `justify` | `"start"`, `"end"`, `"center"`, `"between"` |
+| `items` | `"start"`, `"end"`, `"center"`, `"stretch"` |
+| `p`, `px`, `py`, `pt`, `pr`, `pb`, `pl` | Padding |
+
+### Dimensione e Posizione
+
+| Proprietà | Descrizione |
+|-----------|-------------|
+| `w`, `h` | Larghezza/altezza — numero, `"fill"` o `"hug"` |
+| `minW`, `maxW`, `minH`, `maxH` | Vincoli di dimensione |
+| `x`, `y` | Posizione |
+
+### Aspetto
+
+| Proprietà | Descrizione |
+|-----------|-------------|
+| `bg` | Riempimento di sfondo (colore esadecimale) |
+| `fill` | Alias per `bg` |
+| `stroke` | Colore del bordo |
+| `strokeWidth` | Larghezza del bordo (predefinito: 1) |
+| `rounded` | Raggio degli angoli (o `roundedTL`, `roundedTR`, `roundedBL`, `roundedBR`) |
+| `cornerSmoothing` | Angoli arrotondati stile iOS (0–1) |
+| `opacity` | 0–1 |
+| `shadow` | Ombra esterna (es. `"0 4 8 #00000040"`) |
+| `blur` | Raggio sfocatura del livello |
+| `rotate` | Rotazione in gradi |
+| `blendMode` | Metodo di fusione |
+| `overflow` | `"hidden"` o `"visible"` |
+
+### Tipografia
+
+| Proprietà | Descrizione |
+|-----------|-------------|
+| `size` / `fontSize` | Dimensione del font |
+| `font` / `fontFamily` | Famiglia di font |
+| `weight` / `fontWeight` | `"bold"`, `"medium"`, `"normal"` o numero |
+| `color` | Colore del testo |
+| `textAlign` | `"left"`, `"center"`, `"right"`, `"justified"` |
+
+## Esportazione in JSX
+
+Converti design esistenti in JSX:
+
+```sh
+open-pencil export design.fig -f jsx # formato OpenPencil
+open-pencil export design.fig -f jsx --style tailwind # classi Tailwind
+```
+
+Il ciclo completo funziona: esporta un design come JSX, modifica il codice, renderizzalo di nuovo.
+
+## Confronto Visuale con Diff
+
+Poiché i design sono rappresentabili come JSX, le modifiche diventano diff del codice:
+
+```diff
+ <Frame name="Card" w={320} flex="col" gap={16} p={24} bg="#FFF">
+- <Text size={18} weight="bold">Old Title</Text>
++ <Text size={24} weight="bold" color="#1D1B20">New Title</Text>
+ <Text size={14} color="#666">Description</Text>
+ </Frame>
+```
+
+Questo rende le modifiche ai design revisionabili nelle pull request, tracciabili nel controllo di versione e verificabili nella CI.
diff --git a/packages/docs/it/programmable/mcp-server.md b/packages/docs/it/programmable/mcp-server.md
new file mode 100644
index 000000000..e296a6447
--- /dev/null
+++ b/packages/docs/it/programmable/mcp-server.md
@@ -0,0 +1,251 @@
+# MCP Server
+
+OpenPencil includes an MCP (Model Context Protocol) server that lets AI coding tools — Claude Code, Cursor, Windsurf, etc. — read and modify `.fig` files headlessly.
+
+Two transports: **stdio** for MCP clients, **HTTP** for everything else.
+
+## Install
+
+```sh
+bun add -g @open-pencil/mcp
+```
+
+## Stdio (Claude Code, Cursor, etc.)
+
+Add to your MCP config (e.g. `~/.claude/settings.json` or `.cursor/mcp.json`):
+
+```json
+{
+ "mcpServers": {
+ "open-pencil": {
+ "command": "openpencil-mcp"
+ }
+ }
+}
+```
+
+Or run from source without installing:
+
+::: code-group
+```json [Bun]
+{
+ "mcpServers": {
+ "open-pencil": {
+ "command": "bun",
+ "args": ["/path/to/open-pencil/packages/mcp/src/index.ts"]
+ }
+ }
+}
+```
+```json [Node.js]
+{
+ "mcpServers": {
+ "open-pencil": {
+ "command": "npx",
+ "args": ["tsx", "/path/to/open-pencil/packages/mcp/src/index.ts"]
+ }
+ }
+}
+```
+:::
+
+## HTTP
+
+For browser extensions, scripts, CI, or any HTTP client:
+
+```sh
+openpencil-mcp-http
+```
+
+Or from source: `bun packages/mcp/src/http.ts` / `npx tsx packages/mcp/src/http.ts`
+
+Security defaults (HTTP transport):
+
+- Binds to `127.0.0.1` by default (`HOST` to override)
+- `eval` tool is disabled
+- File operations are limited to `OPENPENCIL_MCP_ROOT` (defaults to current working directory)
+- CORS is disabled by default; set `OPENPENCIL_MCP_CORS_ORIGIN` to allow one origin
+- Optional auth token: `OPENPENCIL_MCP_AUTH_TOKEN` (client sends `Authorization: Bearer <token>` or `x-mcp-token`)
+
+Server starts on port 3100 (override with `PORT` env var). Endpoints:
+
+- `GET /health` — server status
+- `POST /mcp` — MCP Streamable HTTP (SSE). Sessions via `mcp-session-id` header.
+
+## Workflow
+
+1. **Open** — `open_file` to load an existing `.fig`, or `new_document` for a blank canvas
+2. **Read** — `get_page_tree`, `find_nodes`, `get_node`, `list_pages`
+3. **Create** — `create_shape`, `render` (JSX)
+4. **Modify** — `set_fill`, `set_stroke`, `set_layout`, `update_node`, `set_effects`
+5. **Structure** — `reparent_node`, `group_nodes`, `clone_node`, `delete_node`
+6. **Save** — `save_file` to write back to `.fig`
+
+## AI Agent Skill
+
+Teach your AI coding agent to use OpenPencil tools:
+
+```sh
+npx skills add open-pencil/skills@open-pencil
+```
+
+Works with Claude Code, Cursor, Windsurf, Codex, and any agent that supports [skills](https://skills.sh). The skill covers the CLI, MCP tools, JSX rendering, eval, and the running app's automation bridge.
+
+## Tools (90)
+
+### Document
+
+| Tool | Description |
+|------|-------------|
+| `open_file` | Open a `.fig` file for editing |
+| `save_file` | Save the current document to a `.fig` file |
+| `new_document` | Create a new empty document |
+
+### Read
+
+| Tool | Description |
+|------|-------------|
+| `get_selection` | Get currently selected nodes |
+| `get_page_tree` | Get the full node tree of the current page |
+| `get_current_page` | Get the current page name and ID |
+| `get_node` | Get detailed properties of a node by ID |
+| `find_nodes` | Find nodes by name pattern and/or type |
+| `get_components` | List all components in the document |
+| `list_pages` | List all pages |
+| `list_variables` | List design variables |
+| `list_collections` | List variable collections |
+| `list_fonts` | List fonts used in the current page |
+| `page_bounds` | Get bounding box of all objects on the current page |
+| `node_bounds` | Get bounding box of a node |
+| `node_ancestors` | Get ancestor chain of a node |
+| `node_children` | Get direct children of a node |
+| `node_tree` | Get the subtree rooted at a node |
+| `node_bindings` | Get variable bindings on a node |
+
+### Create
+
+| Tool | Description |
+|------|-------------|
+| `create_shape` | Create a shape (`FRAME`, `RECTANGLE`, `ELLIPSE`, `TEXT`, `LINE`, `STAR`, `POLYGON`, `SECTION`) |
+| `create_vector` | Create a vector node from a path string |
+| `create_slice` | Create an export slice |
+| `create_page` | Create a new page |
+| `render` | Render JSX to design nodes — create entire component trees in one call |
+| `create_component` | Convert a frame/group into a component |
+| `create_instance` | Create an instance of a component |
+| `node_to_component` | Convert an existing node into a component in-place |
+
+### Modify
+
+| Tool | Description |
+|------|-------------|
+| `set_fill` | Set fill color (hex) |
+| `set_stroke` | Set stroke color, weight, alignment |
+| `set_effects` | Add shadow or blur effects |
+| `update_node` | Update position, size, opacity, corner radius, text, font |
+| `set_layout` | Set auto-layout (flexbox) — direction, spacing, padding, alignment |
+| `set_constraints` | Set resize constraints |
+| `set_rotation` | Set rotation angle in degrees |
+| `set_opacity` | Set opacity (0–1) |
+| `set_radius` | Set corner radius (uniform or per-corner) |
+| `set_minmax` | Set min/max width and height constraints |
+| `set_text` | Set text content of a `TEXT` node |
+| `set_font` | Set font family and weight |
+| `set_font_range` | Set font properties on a character range |
+| `set_text_resize` | Set text auto-resize mode (fixed/auto-width/auto-height) |
+| `set_visible` | Show or hide a node |
+| `set_blend` | Set blend mode |
+| `set_locked` | Lock or unlock a node |
+| `set_stroke_align` | Set stroke alignment (inside/center/outside) |
+| `set_text_properties` | Set text layout: alignment, auto-resize, text case, decoration, truncation |
+| `set_layout_child` | Configure auto-layout child: sizing, grow, alignment, absolute positioning |
+| `node_move` | Move a node to a new position |
+| `node_resize` | Resize a node |
+| `node_replace_with` | Replace a node with another node |
+| `arrange` | Align or distribute selected nodes |
+
+### Structure
+
+| Tool | Description |
+|------|-------------|
+| `delete_node` | Delete a node |
+| `clone_node` | Duplicate a node |
+| `rename_node` | Rename a node |
+| `reparent_node` | Move a node into a different parent |
+| `select_nodes` | Select nodes by ID |
+| `group_nodes` | Group nodes |
+| `ungroup_node` | Ungroup a group |
+| `flatten_nodes` | Flatten nodes into a single vector |
+| `boolean_union` | Boolean union of two or more nodes |
+| `boolean_subtract` | Boolean subtraction |
+| `boolean_intersect` | Boolean intersection |
+| `boolean_exclude` | Boolean exclusion |
+
+### Vector Path
+
+| Tool | Description |
+|------|-------------|
+| `path_get` | Get the path data of a vector node |
+| `path_set` | Set the path data of a vector node |
+| `path_scale` | Scale a vector path |
+| `path_flip` | Flip a vector path horizontally or vertically |
+| `path_move` | Translate a vector path |
+
+### Export
+
+| Tool | Description |
+|------|-------------|
+| `export_image` | Export nodes as PNG, JPG, or WEBP. Returns base64-encoded image data |
+| `export_svg` | Export nodes as SVG markup |
+
+### Viewport
+
+| Tool | Description |
+|------|-------------|
+| `viewport_get` | Get current viewport position and zoom level |
+| `viewport_set` | Set viewport position and zoom |
+| `viewport_zoom_to_fit` | Zoom viewport to fit specified nodes |
+
+### Variables
+
+| Tool | Description |
+|------|-------------|
+| `get_variable` | Get a variable by ID or name |
+| `find_variables` | Find variables by name pattern or type |
+| `create_variable` | Create a new variable in a collection |
+| `set_variable` | Set a variable value in a mode |
+| `delete_variable` | Delete a variable |
+| `bind_variable` | Bind a variable to a node property |
+| `get_collection` | Get a variable collection by ID or name |
+| `create_collection` | Create a new variable collection |
+| `delete_collection` | Delete a variable collection |
+
+### Analyze
+
+| Tool | Description |
+|------|-------------|
+| `analyze_colors` | Analyze color palette usage across the document |
+| `analyze_typography` | Analyze font/size/weight distribution |
+| `analyze_spacing` | Analyze gap and padding values |
+| `analyze_clusters` | Detect repeated patterns (potential components) |
+
+### Diff
+
+| Tool | Description |
+|------|-------------|
+| `diff_create` | Create a snapshot of the current document state |
+| `diff_show` | Show differences between the current state and a snapshot |
+
+### Navigation
+
+| Tool | Description |
+|------|-------------|
+| `switch_page` | Switch to a page by name or ID |
+
+### Escape Hatch
+
+| Tool | Description |
+|------|-------------|
+| `eval` | Execute JavaScript with full Figma Plugin API access |
+
+Note: `eval` is available over stdio, but disabled in HTTP mode for security.
diff --git a/packages/docs/it/reference/cli.md b/packages/docs/it/reference/cli.md
new file mode 100644
index 000000000..6f83df440
--- /dev/null
+++ b/packages/docs/it/reference/cli.md
@@ -0,0 +1,184 @@
+---
+title: CLI Reference
+description: Complete reference for all open-pencil commands, options, and flags.
+---
+
+# CLI Reference
+
+All commands accept a `.fig` file as a positional argument. When omitted, the CLI connects to the running desktop app via RPC.
+
+## info
+
+Show document info — pages, node counts, fonts, file size.
+
+```sh
+open-pencil info [file] [--json]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--json` | Output as JSON |
+
+## tree
+
+Print the node hierarchy.
+
+```sh
+open-pencil tree [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--page` | Page name (default: first page) |
+| `--depth` | Max depth (default: unlimited) |
+| `--json` | Output as JSON |
+
+## find
+
+Search nodes by name or type.
+
+```sh
+open-pencil find [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--name` | Node name (partial match, case-insensitive) |
+| `--type` | Node type: `FRAME`, `TEXT`, `RECTANGLE`, `INSTANCE`, etc. |
+| `--page` | Page name (default: all pages) |
+| `--limit` | Max results (default: 100) |
+| `--json` | Output as JSON |
+
+## node
+
+Show detailed properties of a node.
+
+```sh
+open-pencil node [file] --id <id> [--json]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--id` | **Required.** Node ID (e.g. `1:23`) |
+| `--json` | Output as JSON |
+
+## pages
+
+List all pages in the document.
+
+```sh
+open-pencil pages [file] [--json]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--json` | Output as JSON |
+
+## variables
+
+List design variables and collections.
+
+```sh
+open-pencil variables [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--collection` | Filter by collection name |
+| `--type` | Filter by type: `COLOR`, `FLOAT`, `STRING`, `BOOLEAN` |
+| `--json` | Output as JSON |
+
+## export
+
+Export to PNG, JPG, WEBP, SVG, or JSX.
+
+```sh
+open-pencil export [file] [options]
+```
+
+| Option | Alias | Description |
+|--------|-------|-------------|
+| `--format` | `-f` | `png` (default), `jpg`, `webp`, `svg`, `jsx` |
+| `--output` | `-o` | Output file path (default: `<name>.<format>`) |
+| `--scale` | `-s` | Export scale (default: 1) |
+| `--quality` | `-q` | Quality 0–100, JPG/WEBP only (default: 90) |
+| `--page` | | Page name (default: first page) |
+| `--node` | | Node ID to export (default: all top-level nodes) |
+| `--style` | | JSX style: `openpencil` (default), `tailwind` |
+| `--thumbnail` | | Export page thumbnail instead of full render |
+| `--width` | | Thumbnail width (default: 1920) |
+| `--height` | | Thumbnail height (default: 1080) |
+
+## eval
+
+Execute JavaScript with the Figma Plugin API.
+
+```sh
+open-pencil eval [file] [options]
+```
+
+| Option | Alias | Description |
+|--------|-------|-------------|
+| `--code` | `-c` | JavaScript code to execute |
+| `--stdin` | | Read code from stdin |
+| `--write` | `-w` | Write changes back to the input file |
+| `--output` | `-o` | Write to a different file |
+| `--json` | | Output as JSON |
+| `--quiet` | `-q` | Suppress output |
+
+## analyze colors
+
+Analyze color palette usage across the document.
+
+```sh
+open-pencil analyze colors [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--limit` | Max colors to show (default: 30) |
+| `--threshold` | Distance threshold for clustering similar colors, 0–50 (default: 15) |
+| `--similar` | Show similar color clusters |
+| `--json` | Output as JSON |
+
+## analyze typography
+
+Analyze font family, size, and weight distribution.
+
+```sh
+open-pencil analyze typography [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--group-by` | Group by: `family`, `size`, `weight` (default: show all styles) |
+| `--limit` | Max styles to show (default: 30) |
+| `--json` | Output as JSON |
+
+## analyze spacing
+
+Analyze gap and padding values across auto-layout frames.
+
+```sh
+open-pencil analyze spacing [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--grid` | Base grid size to check against (default: 8) |
+| `--json` | Output as JSON |
+
+## analyze clusters
+
+Find repeated node patterns — potential components.
+
+```sh
+open-pencil analyze clusters [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--limit` | Max clusters to show (default: 20) |
+| `--min-size` | Min node size in px (default: 30) |
+| `--min-count` | Min instances to form a cluster (default: 2) |
+| `--json` | Output as JSON |
diff --git a/packages/docs/pl/programmable/ai-chat.md b/packages/docs/pl/programmable/ai-chat.md
new file mode 100644
index 000000000..71df14d1d
--- /dev/null
+++ b/packages/docs/pl/programmable/ai-chat.md
@@ -0,0 +1,47 @@
+---
+title: Czat AI
+description: Wbudowany asystent AI z 87 narzędziami do tworzenia i modyfikowania projektów.
+---
+
+# Czat AI
+
+Naciśnij <kbd>⌘</kbd><kbd>J</kbd> (<kbd>Ctrl</kbd> + <kbd>J</kbd>), aby otworzyć asystenta AI. Opisz czego chcesz — tworzy kształty, ustawia style, zarządza layoutem, pracuje z komponentami i analizuje Twój projekt.
+
+## Konfiguracja
+
+1. Otwórz panel czatu AI (<kbd>⌘</kbd><kbd>J</kbd>)
+2. Kliknij ikonę ustawień
+3. Wprowadź swój klucz API OpenRouter
+4. Wybierz model (Claude, GPT-4, Gemini itp.)
+
+Bez backendu, bez subskrypcji — Twój klucz komunikuje się bezpośrednio z OpenRouter.
+
+## Możliwości
+
+Asystent dysponuje 87 narzędziami w następujących kategoriach:
+
+- **Tworzenie** — ramki, kształty, tekst, komponenty, strony. Renderuje JSX dla złożonych layoutów.
+- **Stylowanie** — wypełnienia, obrysy, efekty, przezroczystość, zaokrąglenie narożników, tryby mieszania.
+- **Layout** — auto-layout, wyrównanie, odstępy, wymiarowanie.
+- **Komponenty** — tworzenie komponentów, instancji, zestawów komponentów. Zarządzanie nadpisaniami.
+- **Zmienne** — tworzenie/edycja zmiennych, kolekcji, trybów. Wiązanie z wypełnieniami.
+- **Zapytania** — wyszukiwanie węzłów, odczyt właściwości, listowanie stron, czcionek, zaznaczenia.
+- **Analiza** — paleta kolorów, audyt typografii, spójność odstępów, wykrywanie klastrów.
+- **Eksport** — PNG, SVG, JSX z klasami Tailwind.
+- **Wektory** — operacje boolowskie, manipulacja ścieżkami.
+
+## Przykładowe polecenia
+
+- „Utwórz kartę z tytułem, opisem i niebieskim przyciskiem"
+- „Ustaw taki sam border radius dla wszystkich przycisków na tej stronie"
+- „Jakie czcionki są używane w tym pliku?"
+- „Zmień tło wybranej ramki na gradient od niebieskiego do fioletowego"
+- „Wyeksportuj wybraną ramkę jako SVG"
+- „Znajdź wszystkie węzły tekstowe z rozmiarem czcionki mniejszym niż 12"
+
+## Wskazówki
+
+- Zaznacz węzły przed zapytaniem — asystent wie, co jest zaznaczone.
+- Podawaj konkretne kolory, rozmiary i pozycje dla precyzyjnych rezultatów.
+- Asystent może modyfikować wiele węzłów w jednej wiadomości.
+- Użyj „cofnij" w edytorze, jeśli nie podoba Ci się wynik.
diff --git a/packages/docs/pl/programmable/cli/analyzing.md b/packages/docs/pl/programmable/cli/analyzing.md
new file mode 100644
index 000000000..a9ebd5a60
--- /dev/null
+++ b/packages/docs/pl/programmable/cli/analyzing.md
@@ -0,0 +1,65 @@
+---
+title: Analiza projektów
+description: Audytuj kolory, typografię, odstępy i powtarzające się wzorce w plikach .fig.
+---
+
+# Analiza projektów
+
+Polecenia `analyze` audytują cały system projektowy z terminala — znajdują niespójności, wyodrębniają rzeczywistą paletę i wykrywają komponenty czekające na wydzielenie.
+
+## Kolory
+
+```sh
+open-pencil analyze colors design.fig
+```
+
+Znajduje każdy kolor w pliku, zlicza użycie i wyświetla wizualny histogram:
+
+```
+#1d1b20 ██████████████████████████████ 17155×
+#49454f ██████████████████████████████ 9814×
+#ffffff ██████████████████████████████ 8620×
+#6750a4 ██████████████████████████████ 3967×
+```
+
+## Typografia
+
+```sh
+open-pencil analyze typography design.fig
+```
+
+Listuje każdą kombinację rodziny czcionek, rozmiaru i grubości wraz z liczbą użyć. Przydatne do wykrywania jednorazowych stylów tekstowych, które powinny zostać ujednolicone.
+
+## Odstępy
+
+```sh
+open-pencil analyze spacing design.fig
+```
+
+Audytuje wartości gap i padding w ramkach z auto-layoutem. Pomaga zidentyfikować niespójności w skali odstępów — np. przypadkowy `13px` gap wśród wartości `8/16/24`.
+
+## Klastry
+
+```sh
+open-pencil analyze clusters design.fig
+```
+
+Znajduje powtarzające się wzorce węzłów, które mogłyby zostać wydzielone jako komponenty:
+
+```
+3771× frame "container" (100% match)
+ size: 40×40, structure: Frame > [Frame]
+
+2982× instance "Checkboxes" (100% match)
+ size: 48×48, structure: Instance > [Frame]
+```
+
+## Wyjście JSON
+
+Wszystkie polecenia analyze obsługują `--json` dla wyjścia w formacie do odczytu maszynowego:
+
+```sh
+open-pencil analyze colors design.fig --json
+```
+
+Przekieruj do `jq`, zasilaj kontrole CI lub używaj w skryptach egzekwujących budżety tokenów projektowych.
diff --git a/packages/docs/pl/programmable/cli/exporting.md b/packages/docs/pl/programmable/cli/exporting.md
new file mode 100644
index 000000000..1bc978912
--- /dev/null
+++ b/packages/docs/pl/programmable/cli/exporting.md
@@ -0,0 +1,59 @@
+---
+title: Eksportowanie
+description: Renderuj pliki .fig do PNG, JPG, WEBP, SVG lub JSX z klasami Tailwind.
+---
+
+# Eksportowanie
+
+Eksportuj projekty z terminala — obrazy rastrowe, wektory lub kod JSX.
+
+## Eksport obrazów
+
+```sh
+open-pencil export design.fig # PNG (domyślnie)
+open-pencil export design.fig -f jpg -s 2 -q 90 # JPG w 2×, jakość 90
+open-pencil export design.fig -f webp -s 3 # WEBP w 3×
+open-pencil export design.fig -f svg # SVG wektor
+```
+
+Opcje:
+
+- `-f` — format: `png`, `jpg`, `webp`, `svg`, `jsx`
+- `-s` — skala: `1`–`4`
+- `-q` — jakość: `0`–`100` (tylko JPG/WEBP)
+- `-o` — ścieżka wyjściowa
+- `--page` — nazwa strony
+- `--node` — ID konkretnego węzła
+
+## Eksport JSX
+
+Eksportuj jako JSX z klasami narzędziowymi Tailwind:
+
+```sh
+open-pencil export design.fig -f jsx --style tailwind
+```
+
+Wynik:
+
+```html
+<div className="flex flex-col gap-4 p-6 bg-white rounded-xl">
+ <p className="text-2xl font-bold text-[#1D1B20]">Card Title</p>
+ <p className="text-sm text-[#49454F]">Description text</p>
+</div>
+```
+
+Obsługuje również `--style openpencil` dla natywnego formatu JSX (zobacz [Renderer JSX](../jsx-renderer)).
+
+## Miniatury
+
+```sh
+open-pencil export design.fig --thumbnail --width 1920 --height 1080
+```
+
+## Tryb żywej aplikacji
+
+Pomiń plik, aby eksportować z uruchomionej aplikacji:
+
+```sh
+open-pencil export -f png # zrzut ekranu bieżącego płótna
+```
diff --git a/packages/docs/pl/programmable/cli/inspecting.md b/packages/docs/pl/programmable/cli/inspecting.md
new file mode 100644
index 000000000..c5c8f24ed
--- /dev/null
+++ b/packages/docs/pl/programmable/cli/inspecting.md
@@ -0,0 +1,98 @@
+---
+title: Przeglądanie plików
+description: Przeglądaj drzewa węzłów, szukaj po nazwie lub typie i sprawdzaj właściwości z terminala.
+---
+
+# Przeglądanie plików
+
+CLI pozwala eksplorować pliki `.fig` bez otwierania edytora. Każde polecenie działa również na żywej aplikacji — wystarczy pominąć argument pliku.
+
+::: tip Instalacja
+```sh
+bun add -g @open-pencil/cli
+# lub
+brew install open-pencil/tap/open-pencil
+```
+:::
+
+## Informacje o dokumencie
+
+Szybki przegląd — liczba stron, łączna liczba węzłów, użyte czcionki, rozmiar pliku:
+
+```sh
+open-pencil info design.fig
+```
+
+## Drzewo węzłów
+
+Wyświetl pełną hierarchię węzłów:
+
+```sh
+open-pencil tree design.fig
+```
+
+```
+[0] [page] "Getting started" (0:46566)
+ [0] [section] "" (0:46567)
+ [0] [frame] "Body" (0:46568)
+ [0] [frame] "Introduction" (0:46569)
+ [0] [frame] "Introduction Card" (0:46570)
+ [0] [frame] "Guidance" (0:46571)
+```
+
+## Wyszukiwanie węzłów
+
+Szukaj po typie:
+
+```sh
+open-pencil find design.fig --type TEXT
+```
+
+Szukaj po nazwie:
+
+```sh
+open-pencil find design.fig --name "Button"
+```
+
+Obie flagi można łączyć, aby zawęzić wyniki.
+
+## Szczegóły węzła
+
+Sprawdź wszystkie właściwości konkretnego węzła po jego ID:
+
+```sh
+open-pencil node design.fig --id 1:23
+```
+
+## Strony
+
+Wylistuj wszystkie strony w dokumencie:
+
+```sh
+open-pencil pages design.fig
+```
+
+## Zmienne
+
+Wylistuj zmienne projektowe i ich kolekcje:
+
+```sh
+open-pencil variables design.fig
+```
+
+## Tryb żywej aplikacji
+
+Gdy aplikacja desktopowa jest uruchomiona, pomiń argument pliku — CLI łączy się przez RPC i operuje na żywym płótnie:
+
+```sh
+open-pencil tree # przeglądaj żywy dokument
+open-pencil eval -c "..." # odpytuj edytor
+```
+
+## Wyjście JSON
+
+Wszystkie polecenia obsługują `--json` dla wyjścia w formacie do odczytu maszynowego — przekieruj do `jq`, zasilaj skrypty CI lub przetwarzaj innymi narzędziami:
+
+```sh
+open-pencil tree design.fig --json | jq '.[] | .name'
+```
diff --git a/packages/docs/pl/programmable/cli/scripting.md b/packages/docs/pl/programmable/cli/scripting.md
new file mode 100644
index 000000000..210e21a5e
--- /dev/null
+++ b/packages/docs/pl/programmable/cli/scripting.md
@@ -0,0 +1,70 @@
+---
+title: Skryptowanie
+description: Wykonuj JavaScript z Figma Plugin API — odpytuj węzły, modyfikuj projekty wsadowo, twórz ramki.
+---
+
+# Skryptowanie
+
+`open-pencil eval` daje Ci pełne Figma Plugin API w terminalu. Odczytuj węzły, modyfikuj właściwości, twórz kształty — a następnie zapisz zmiany z powrotem do pliku.
+
+## Podstawowe użycie
+
+```sh
+open-pencil eval design.fig -c "figma.currentPage.children.length"
+```
+
+Flaga `-c` przyjmuje JavaScript. Globalny obiekt `figma` działa jak Figma Plugin API.
+
+## Odpytywanie węzłów
+
+```sh
+open-pencil eval design.fig -c "
+ figma.currentPage.findAll(n => n.type === 'FRAME' && n.name.includes('Button'))
+ .map(b => ({ id: b.id, name: b.name, w: b.width, h: b.height }))
+"
+```
+
+## Modyfikacja i zapis
+
+```sh
+open-pencil eval design.fig -c "
+ figma.currentPage.children.forEach(n => n.opacity = 0.5)
+" -w
+```
+
+`-w` zapisuje zmiany z powrotem do pliku wejściowego. Użyj `-o output.fig`, aby zapisać do innego pliku.
+
+## Odczyt ze stdin
+
+Dla dłuższych skryptów:
+
+```sh
+cat transform.js | open-pencil eval design.fig --stdin -w
+```
+
+## Tryb żywej aplikacji
+
+Pomiń plik, aby uruchomić na działającej aplikacji desktopowej:
+
+```sh
+open-pencil eval -c "figma.currentPage.name"
+```
+
+## Dostępne API
+
+Obiekt `figma` obsługuje:
+
+- `figma.currentPage` — aktywna strona
+- `figma.root` — korzeń dokumentu
+- `figma.createFrame()`, `figma.createRectangle()`, `figma.createEllipse()`, `figma.createText()` itp.
+- `.findAll()`, `.findOne()` — wyszukiwanie potomków
+- `.appendChild()`, `.insertChild()` — manipulacja drzewem
+- Wszystkie settery właściwości: `.fills`, `.strokes`, `.effects`, `.opacity`, `.cornerRadius`, `.layoutMode`, `.itemSpacing` itp.
+
+To jest to samo API, którego używają wtyczki Figma, więc istniejąca wiedza i fragmenty kodu można zastosować bezpośrednio.
+
+## Wyjście JSON
+
+```sh
+open-pencil eval design.fig -c "..." --json
+```
diff --git a/packages/docs/pl/programmable/collaboration.md b/packages/docs/pl/programmable/collaboration.md
new file mode 100644
index 000000000..2a58d0a96
--- /dev/null
+++ b/packages/docs/pl/programmable/collaboration.md
@@ -0,0 +1,38 @@
+---
+title: Współpraca
+description: Wspólna edycja w czasie rzeczywistym przez P2P WebRTC — bez serwera, bez konta.
+---
+
+# Współpraca
+
+Edytujcie projekty razem w czasie rzeczywistym. Uczestnicy łączą się bezpośrednio — żaden serwer nie przekazuje Twoich danych, konto nie jest wymagane.
+
+## Udostępnianie pokoju
+
+1. Kliknij przycisk udostępniania w prawym górnym rogu
+2. Skopiuj wygenerowany link (`app.openpencil.dev/share/<room-id>`)
+3. Wyślij go swoim współpracownikom
+
+Każdy z linkiem może dołączyć. Pokój pozostaje aktywny, dopóki przynajmniej jeden uczestnik ma otwartą stronę.
+
+## Co się synchronizuje
+
+- **Zmiany w dokumencie** — każda edycja (kształty, tekst, właściwości, layout) synchronizuje się natychmiast
+- **Kursory** — widzisz, gdzie wskazuje każdy współpracownik, wraz z imieniem i kolorem
+- **Zaznaczenia** — podświetlone zaznaczenia są widoczne dla wszystkich
+
+## Tryb śledzenia
+
+Kliknij awatar współpracownika na górnym pasku, aby śledzić jego widok. Twoje płótno przesuwa się i przybliża zgodnie z jego widokiem. Kliknij ponownie, aby przestać śledzić.
+
+## Jak to działa
+
+Uczestnicy łączą się bezpośrednio przez WebRTC — Twoje dane projektowe trafiają prosto z przeglądarki do przeglądarki, nigdy przez centralny serwer. Stan dokumentu wykorzystuje CRDT (bezkonfliktowy replikowany typ danych), więc równoczesne edycje łączą się automatycznie bez konfliktów.
+
+Pokój jest przechowywany lokalnie — jeśli odświeżysz stronę, dołączysz ponownie z tym samym stanem.
+
+## Wskazówki
+
+- Działa w przeglądarce i w aplikacji desktopowej
+- Identyfikatory pokojów są kryptograficznie losowe — tylko osoby z linkiem mogą dołączyć
+- Nieaktywne kursory są automatycznie usuwane po rozłączeniu uczestnika
diff --git a/packages/docs/pl/programmable/index.md b/packages/docs/pl/programmable/index.md
new file mode 100644
index 000000000..827f59ffc
--- /dev/null
+++ b/packages/docs/pl/programmable/index.md
@@ -0,0 +1,51 @@
+---
+layout: doc
+title: AI i automatyzacja
+description: Każda operacja w OpenPencil jest skryptowalna — czat AI, CLI, renderer JSX, serwer MCP, współpraca w czasie rzeczywistym.
+---
+
+# AI i automatyzacja
+
+OpenPencil traktuje pliki projektowe jako dane. Każda operacja dostępna w edytorze — tworzenie kształtów, ustawianie wypełnień, zarządzanie auto-layoutem, eksportowanie zasobów — jest również dostępna z terminala, z agentów AI i z kodu. Bez wtyczek do instalowania, bez kluczy API, bez listy oczekujących.
+
+Interfejs edytora i interfejsy automatyzacji korzystają z tego samego silnika. Jeśli możesz coś zrobić kliknięciem, możesz to zrobić skryptem.
+
+## Czat AI
+
+Wbudowany asystent ma dostęp do 87 narzędzi, które obejmują całą powierzchnię edytora. Opisz czego chcesz w języku naturalnym — „dodaj cień 16px do wszystkich przycisków", „utwórz komponent karty z wariantem ciemnego motywu", „wyeksportuj każdą ramkę na tej stronie w 2×".
+
+[Czat AI →](./ai-chat)
+
+## Współpraca
+
+Edycja wieloosobowa w czasie rzeczywistym przez peer-to-peer WebRTC. Bez serwera, bez konta. Udostępnij link do pokoju i edytujcie wspólnie z kursorami na żywo i trybem śledzenia. Stan dokumentu synchronizuje się przez CRDT, więc edycje łączą się automatycznie nawet przy niestabilnym połączeniu.
+
+[Współpraca →](./collaboration)
+
+## Renderer JSX
+
+Opisz UI jako JSX — tę samą składnię, którą LLM-y już znają z Reacta. Jedno wywołanie może stworzyć całe drzewo komponentów z ramkami, tekstem, auto-layoutem, wypełnieniami i obrysami. Zwięzłe, deklaratywne i porównywalne w diffach.
+
+W drugą stronę — wyeksportuj dowolne zaznaczenie z powrotem do JSX z klasami Tailwind — przydatne do przekazywania do rozwoju lub do zasilania projektami z powrotem do LLM-a.
+
+[Renderer JSX →](./jsx-renderer)
+
+## CLI
+
+Przeglądaj, eksportuj i analizuj pliki `.fig` bez otwierania edytora. Listuj strony, szukaj węzłów, wyodrębniaj tokeny projektowe, renderuj do PNG — wszystko z terminala z wyjściem JSON do odczytu maszynowego.
+
+CLI łączy się również z uruchomioną aplikacją desktopową przez RPC, więc możesz skryptować edytor podczas pracy z nim.
+
+[Przeglądanie plików](./cli/inspecting) · [Eksportowanie](./cli/exporting) · [Analiza projektów](./cli/analyzing) · [Skryptowanie](./cli/scripting)
+
+## Serwer MCP
+
+Połącz Claude Code, Cursor, Windsurf lub dowolnego klienta kompatybilnego z MCP z OpenPencil. Serwer udostępnia 90 narzędzi do odczytywania, tworzenia i modyfikowania projektów — te same narzędzia, z których korzysta wbudowany czat AI. Działa przez stdio lub HTTP z obsługą sesji.
+
+[Serwer MCP →](./mcp-server)
+
+## Dlaczego otwarte?
+
+Figma to zamknięta platforma. Ich serwer MCP jest tylko do odczytu. Dostęp przez CDP w przeglądarce został usunięty w wersji 126. Pliki projektowe żyją w zastrzeżonym formacie na cudzych serwerach. Rozwój wtyczek wymaga niestandardowego środowiska uruchomieniowego z ograniczonymi API.
+
+OpenPencil to alternatywa: open source, licencja MIT, każda operacja skryptowalna, dane przechowywane lokalnie. Twoje pliki projektowe są Twoje — przeglądaj je, przekształcaj, przesyłaj do CI, zasilaj nimi LLM. Bez potrzeby pozwolenia.
diff --git a/packages/docs/pl/programmable/jsx-renderer.md b/packages/docs/pl/programmable/jsx-renderer.md
new file mode 100644
index 000000000..3fc94c4fb
--- /dev/null
+++ b/packages/docs/pl/programmable/jsx-renderer.md
@@ -0,0 +1,116 @@
+---
+title: Renderer JSX
+description: Twórz projekty za pomocą JSX — składni, którą LLM-y już znają z milionów komponentów React.
+---
+
+# Renderer JSX
+
+OpenPencil używa JSX jako języka tworzenia projektów. LLM-y widziały miliony komponentów React — opisanie layoutu jako `<Frame><Text>` jest naturalne, bez potrzeby specjalnego trenowania. Każdy token ma znaczenie, gdy agent AI wykonuje dziesiątki operacji, a JSX jest najbardziej zwięzłą deklaratywną reprezentacją.
+
+JSX jest również porównywalny w diffach. Gdy AI modyfikuje projekt, zmiana jest diffem JSX — czytelnym, weryfikowalnym, kontrolowalnym wersyjnie.
+
+## Tworzenie projektów
+
+Narzędzie `render` (dostępne w czacie AI, MCP i CLI eval) przyjmuje JSX:
+
+```jsx
+<Frame name="Card" w={320} h="hug" flex="col" gap={16} p={24} bg="#FFF" rounded={16}>
+ <Text size={18} weight="bold">Card Title</Text>
+ <Text size={14} color="#666">Description text</Text>
+</Frame>
+```
+
+W serwerze MCP i czacie AI narzędzie `render` przyjmuje ciągi JSX bezpośrednio. W CLI użyj polecenia `export`, aby pójść w drugą stronę — [eksportowanie projektów jako JSX](./cli/exporting).
+
+## Elementy
+
+Wszystkie typy węzłów są dostępne jako elementy JSX:
+
+| Element | Tworzy | Aliasy |
+|---------|--------|--------|
+| `<Frame>` | Ramka (kontener, obsługuje auto-layout) | `<View>` |
+| `<Rectangle>` | Prostokąt | `<Rect>` |
+| `<Ellipse>` | Elipsa / koło | |
+| `<Text>` | Węzeł tekstowy (dzieci stają się treścią tekstu) | |
+| `<Line>` | Linia | |
+| `<Star>` | Gwiazda | |
+| `<Polygon>` | Wielokąt | |
+| `<Vector>` | Ścieżka wektorowa | |
+| `<Group>` | Grupa | |
+| `<Section>` | Sekcja | |
+
+## Właściwości stylów
+
+Zwięzłe skrócone właściwości inspirowane nazewnictwem Tailwind.
+
+### Layout
+
+| Właściwość | Opis |
+|------------|------|
+| `flex` | `"row"` lub `"col"` — włącza auto-layout |
+| `gap` | Odstęp między dziećmi |
+| `wrap` | Zawijanie dzieci do następnej linii |
+| `rowGap` | Odstęp na osi poprzecznej przy zawijaniu |
+| `justify` | `"start"`, `"end"`, `"center"`, `"between"` |
+| `items` | `"start"`, `"end"`, `"center"`, `"stretch"` |
+| `p`, `px`, `py`, `pt`, `pr`, `pb`, `pl` | Padding |
+
+### Rozmiar i pozycja
+
+| Właściwość | Opis |
+|------------|------|
+| `w`, `h` | Szerokość/wysokość — liczba, `"fill"` lub `"hug"` |
+| `minW`, `maxW`, `minH`, `maxH` | Ograniczenia rozmiaru |
+| `x`, `y` | Pozycja |
+
+### Wygląd
+
+| Właściwość | Opis |
+|------------|------|
+| `bg` | Wypełnienie tła (kolor hex) |
+| `fill` | Alias dla `bg` |
+| `stroke` | Kolor obrysu |
+| `strokeWidth` | Szerokość obrysu (domyślnie: 1) |
+| `rounded` | Zaokrąglenie narożników (lub `roundedTL`, `roundedTR`, `roundedBL`, `roundedBR`) |
+| `cornerSmoothing` | Gładkie narożniki w stylu iOS (0–1) |
+| `opacity` | 0–1 |
+| `shadow` | Cień (np. `"0 4 8 #00000040"`) |
+| `blur` | Promień rozmycia warstwy |
+| `rotate` | Obrót w stopniach |
+| `blendMode` | Tryb mieszania |
+| `overflow` | `"hidden"` lub `"visible"` |
+
+### Typografia
+
+| Właściwość | Opis |
+|------------|------|
+| `size` / `fontSize` | Rozmiar czcionki |
+| `font` / `fontFamily` | Rodzina czcionki |
+| `weight` / `fontWeight` | `"bold"`, `"medium"`, `"normal"` lub liczba |
+| `color` | Kolor tekstu |
+| `textAlign` | `"left"`, `"center"`, `"right"`, `"justified"` |
+
+## Eksport do JSX
+
+Konwertuj istniejące projekty z powrotem do JSX:
+
+```sh
+open-pencil export design.fig -f jsx # format OpenPencil
+open-pencil export design.fig -f jsx --style tailwind # klasy Tailwind
+```
+
+Pełen cykl działa: wyeksportuj projekt jako JSX, zmodyfikuj kod, wyrenderuj z powrotem.
+
+## Wizualne porównywanie
+
+Ponieważ projekty są reprezentowalne jako JSX, zmiany stają się diffami kodu:
+
+```diff
+ <Frame name="Card" w={320} flex="col" gap={16} p={24} bg="#FFF">
+- <Text size={18} weight="bold">Old Title</Text>
++ <Text size={24} weight="bold" color="#1D1B20">New Title</Text>
+ <Text size={14} color="#666">Description</Text>
+ </Frame>
+```
+
+Dzięki temu zmiany projektowe są weryfikowalne w pull requestach, śledzone w systemie kontroli wersji i audytowalne w CI.
diff --git a/packages/docs/pl/programmable/mcp-server.md b/packages/docs/pl/programmable/mcp-server.md
new file mode 100644
index 000000000..e296a6447
--- /dev/null
+++ b/packages/docs/pl/programmable/mcp-server.md
@@ -0,0 +1,251 @@
+# MCP Server
+
+OpenPencil includes an MCP (Model Context Protocol) server that lets AI coding tools — Claude Code, Cursor, Windsurf, etc. — read and modify `.fig` files headlessly.
+
+Two transports: **stdio** for MCP clients, **HTTP** for everything else.
+
+## Install
+
+```sh
+bun add -g @open-pencil/mcp
+```
+
+## Stdio (Claude Code, Cursor, etc.)
+
+Add to your MCP config (e.g. `~/.claude/settings.json` or `.cursor/mcp.json`):
+
+```json
+{
+ "mcpServers": {
+ "open-pencil": {
+ "command": "openpencil-mcp"
+ }
+ }
+}
+```
+
+Or run from source without installing:
+
+::: code-group
+```json [Bun]
+{
+ "mcpServers": {
+ "open-pencil": {
+ "command": "bun",
+ "args": ["/path/to/open-pencil/packages/mcp/src/index.ts"]
+ }
+ }
+}
+```
+```json [Node.js]
+{
+ "mcpServers": {
+ "open-pencil": {
+ "command": "npx",
+ "args": ["tsx", "/path/to/open-pencil/packages/mcp/src/index.ts"]
+ }
+ }
+}
+```
+:::
+
+## HTTP
+
+For browser extensions, scripts, CI, or any HTTP client:
+
+```sh
+openpencil-mcp-http
+```
+
+Or from source: `bun packages/mcp/src/http.ts` / `npx tsx packages/mcp/src/http.ts`
+
+Security defaults (HTTP transport):
+
+- Binds to `127.0.0.1` by default (`HOST` to override)
+- `eval` tool is disabled
+- File operations are limited to `OPENPENCIL_MCP_ROOT` (defaults to current working directory)
+- CORS is disabled by default; set `OPENPENCIL_MCP_CORS_ORIGIN` to allow one origin
+- Optional auth token: `OPENPENCIL_MCP_AUTH_TOKEN` (client sends `Authorization: Bearer <token>` or `x-mcp-token`)
+
+Server starts on port 3100 (override with `PORT` env var). Endpoints:
+
+- `GET /health` — server status
+- `POST /mcp` — MCP Streamable HTTP (SSE). Sessions via `mcp-session-id` header.
+
+## Workflow
+
+1. **Open** — `open_file` to load an existing `.fig`, or `new_document` for a blank canvas
+2. **Read** — `get_page_tree`, `find_nodes`, `get_node`, `list_pages`
+3. **Create** — `create_shape`, `render` (JSX)
+4. **Modify** — `set_fill`, `set_stroke`, `set_layout`, `update_node`, `set_effects`
+5. **Structure** — `reparent_node`, `group_nodes`, `clone_node`, `delete_node`
+6. **Save** — `save_file` to write back to `.fig`
+
+## AI Agent Skill
+
+Teach your AI coding agent to use OpenPencil tools:
+
+```sh
+npx skills add open-pencil/skills@open-pencil
+```
+
+Works with Claude Code, Cursor, Windsurf, Codex, and any agent that supports [skills](https://skills.sh). The skill covers the CLI, MCP tools, JSX rendering, eval, and the running app's automation bridge.
+
+## Tools (90)
+
+### Document
+
+| Tool | Description |
+|------|-------------|
+| `open_file` | Open a `.fig` file for editing |
+| `save_file` | Save the current document to a `.fig` file |
+| `new_document` | Create a new empty document |
+
+### Read
+
+| Tool | Description |
+|------|-------------|
+| `get_selection` | Get currently selected nodes |
+| `get_page_tree` | Get the full node tree of the current page |
+| `get_current_page` | Get the current page name and ID |
+| `get_node` | Get detailed properties of a node by ID |
+| `find_nodes` | Find nodes by name pattern and/or type |
+| `get_components` | List all components in the document |
+| `list_pages` | List all pages |
+| `list_variables` | List design variables |
+| `list_collections` | List variable collections |
+| `list_fonts` | List fonts used in the current page |
+| `page_bounds` | Get bounding box of all objects on the current page |
+| `node_bounds` | Get bounding box of a node |
+| `node_ancestors` | Get ancestor chain of a node |
+| `node_children` | Get direct children of a node |
+| `node_tree` | Get the subtree rooted at a node |
+| `node_bindings` | Get variable bindings on a node |
+
+### Create
+
+| Tool | Description |
+|------|-------------|
+| `create_shape` | Create a shape (`FRAME`, `RECTANGLE`, `ELLIPSE`, `TEXT`, `LINE`, `STAR`, `POLYGON`, `SECTION`) |
+| `create_vector` | Create a vector node from a path string |
+| `create_slice` | Create an export slice |
+| `create_page` | Create a new page |
+| `render` | Render JSX to design nodes — create entire component trees in one call |
+| `create_component` | Convert a frame/group into a component |
+| `create_instance` | Create an instance of a component |
+| `node_to_component` | Convert an existing node into a component in-place |
+
+### Modify
+
+| Tool | Description |
+|------|-------------|
+| `set_fill` | Set fill color (hex) |
+| `set_stroke` | Set stroke color, weight, alignment |
+| `set_effects` | Add shadow or blur effects |
+| `update_node` | Update position, size, opacity, corner radius, text, font |
+| `set_layout` | Set auto-layout (flexbox) — direction, spacing, padding, alignment |
+| `set_constraints` | Set resize constraints |
+| `set_rotation` | Set rotation angle in degrees |
+| `set_opacity` | Set opacity (0–1) |
+| `set_radius` | Set corner radius (uniform or per-corner) |
+| `set_minmax` | Set min/max width and height constraints |
+| `set_text` | Set text content of a `TEXT` node |
+| `set_font` | Set font family and weight |
+| `set_font_range` | Set font properties on a character range |
+| `set_text_resize` | Set text auto-resize mode (fixed/auto-width/auto-height) |
+| `set_visible` | Show or hide a node |
+| `set_blend` | Set blend mode |
+| `set_locked` | Lock or unlock a node |
+| `set_stroke_align` | Set stroke alignment (inside/center/outside) |
+| `set_text_properties` | Set text layout: alignment, auto-resize, text case, decoration, truncation |
+| `set_layout_child` | Configure auto-layout child: sizing, grow, alignment, absolute positioning |
+| `node_move` | Move a node to a new position |
+| `node_resize` | Resize a node |
+| `node_replace_with` | Replace a node with another node |
+| `arrange` | Align or distribute selected nodes |
+
+### Structure
+
+| Tool | Description |
+|------|-------------|
+| `delete_node` | Delete a node |
+| `clone_node` | Duplicate a node |
+| `rename_node` | Rename a node |
+| `reparent_node` | Move a node into a different parent |
+| `select_nodes` | Select nodes by ID |
+| `group_nodes` | Group nodes |
+| `ungroup_node` | Ungroup a group |
+| `flatten_nodes` | Flatten nodes into a single vector |
+| `boolean_union` | Boolean union of two or more nodes |
+| `boolean_subtract` | Boolean subtraction |
+| `boolean_intersect` | Boolean intersection |
+| `boolean_exclude` | Boolean exclusion |
+
+### Vector Path
+
+| Tool | Description |
+|------|-------------|
+| `path_get` | Get the path data of a vector node |
+| `path_set` | Set the path data of a vector node |
+| `path_scale` | Scale a vector path |
+| `path_flip` | Flip a vector path horizontally or vertically |
+| `path_move` | Translate a vector path |
+
+### Export
+
+| Tool | Description |
+|------|-------------|
+| `export_image` | Export nodes as PNG, JPG, or WEBP. Returns base64-encoded image data |
+| `export_svg` | Export nodes as SVG markup |
+
+### Viewport
+
+| Tool | Description |
+|------|-------------|
+| `viewport_get` | Get current viewport position and zoom level |
+| `viewport_set` | Set viewport position and zoom |
+| `viewport_zoom_to_fit` | Zoom viewport to fit specified nodes |
+
+### Variables
+
+| Tool | Description |
+|------|-------------|
+| `get_variable` | Get a variable by ID or name |
+| `find_variables` | Find variables by name pattern or type |
+| `create_variable` | Create a new variable in a collection |
+| `set_variable` | Set a variable value in a mode |
+| `delete_variable` | Delete a variable |
+| `bind_variable` | Bind a variable to a node property |
+| `get_collection` | Get a variable collection by ID or name |
+| `create_collection` | Create a new variable collection |
+| `delete_collection` | Delete a variable collection |
+
+### Analyze
+
+| Tool | Description |
+|------|-------------|
+| `analyze_colors` | Analyze color palette usage across the document |
+| `analyze_typography` | Analyze font/size/weight distribution |
+| `analyze_spacing` | Analyze gap and padding values |
+| `analyze_clusters` | Detect repeated patterns (potential components) |
+
+### Diff
+
+| Tool | Description |
+|------|-------------|
+| `diff_create` | Create a snapshot of the current document state |
+| `diff_show` | Show differences between the current state and a snapshot |
+
+### Navigation
+
+| Tool | Description |
+|------|-------------|
+| `switch_page` | Switch to a page by name or ID |
+
+### Escape Hatch
+
+| Tool | Description |
+|------|-------------|
+| `eval` | Execute JavaScript with full Figma Plugin API access |
+
+Note: `eval` is available over stdio, but disabled in HTTP mode for security.
diff --git a/packages/docs/pl/reference/cli.md b/packages/docs/pl/reference/cli.md
new file mode 100644
index 000000000..6f83df440
--- /dev/null
+++ b/packages/docs/pl/reference/cli.md
@@ -0,0 +1,184 @@
+---
+title: CLI Reference
+description: Complete reference for all open-pencil commands, options, and flags.
+---
+
+# CLI Reference
+
+All commands accept a `.fig` file as a positional argument. When omitted, the CLI connects to the running desktop app via RPC.
+
+## info
+
+Show document info — pages, node counts, fonts, file size.
+
+```sh
+open-pencil info [file] [--json]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--json` | Output as JSON |
+
+## tree
+
+Print the node hierarchy.
+
+```sh
+open-pencil tree [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--page` | Page name (default: first page) |
+| `--depth` | Max depth (default: unlimited) |
+| `--json` | Output as JSON |
+
+## find
+
+Search nodes by name or type.
+
+```sh
+open-pencil find [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--name` | Node name (partial match, case-insensitive) |
+| `--type` | Node type: `FRAME`, `TEXT`, `RECTANGLE`, `INSTANCE`, etc. |
+| `--page` | Page name (default: all pages) |
+| `--limit` | Max results (default: 100) |
+| `--json` | Output as JSON |
+
+## node
+
+Show detailed properties of a node.
+
+```sh
+open-pencil node [file] --id <id> [--json]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--id` | **Required.** Node ID (e.g. `1:23`) |
+| `--json` | Output as JSON |
+
+## pages
+
+List all pages in the document.
+
+```sh
+open-pencil pages [file] [--json]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--json` | Output as JSON |
+
+## variables
+
+List design variables and collections.
+
+```sh
+open-pencil variables [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--collection` | Filter by collection name |
+| `--type` | Filter by type: `COLOR`, `FLOAT`, `STRING`, `BOOLEAN` |
+| `--json` | Output as JSON |
+
+## export
+
+Export to PNG, JPG, WEBP, SVG, or JSX.
+
+```sh
+open-pencil export [file] [options]
+```
+
+| Option | Alias | Description |
+|--------|-------|-------------|
+| `--format` | `-f` | `png` (default), `jpg`, `webp`, `svg`, `jsx` |
+| `--output` | `-o` | Output file path (default: `<name>.<format>`) |
+| `--scale` | `-s` | Export scale (default: 1) |
+| `--quality` | `-q` | Quality 0–100, JPG/WEBP only (default: 90) |
+| `--page` | | Page name (default: first page) |
+| `--node` | | Node ID to export (default: all top-level nodes) |
+| `--style` | | JSX style: `openpencil` (default), `tailwind` |
+| `--thumbnail` | | Export page thumbnail instead of full render |
+| `--width` | | Thumbnail width (default: 1920) |
+| `--height` | | Thumbnail height (default: 1080) |
+
+## eval
+
+Execute JavaScript with the Figma Plugin API.
+
+```sh
+open-pencil eval [file] [options]
+```
+
+| Option | Alias | Description |
+|--------|-------|-------------|
+| `--code` | `-c` | JavaScript code to execute |
+| `--stdin` | | Read code from stdin |
+| `--write` | `-w` | Write changes back to the input file |
+| `--output` | `-o` | Write to a different file |
+| `--json` | | Output as JSON |
+| `--quiet` | `-q` | Suppress output |
+
+## analyze colors
+
+Analyze color palette usage across the document.
+
+```sh
+open-pencil analyze colors [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--limit` | Max colors to show (default: 30) |
+| `--threshold` | Distance threshold for clustering similar colors, 0–50 (default: 15) |
+| `--similar` | Show similar color clusters |
+| `--json` | Output as JSON |
+
+## analyze typography
+
+Analyze font family, size, and weight distribution.
+
+```sh
+open-pencil analyze typography [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--group-by` | Group by: `family`, `size`, `weight` (default: show all styles) |
+| `--limit` | Max styles to show (default: 30) |
+| `--json` | Output as JSON |
+
+## analyze spacing
+
+Analyze gap and padding values across auto-layout frames.
+
+```sh
+open-pencil analyze spacing [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--grid` | Base grid size to check against (default: 8) |
+| `--json` | Output as JSON |
+
+## analyze clusters
+
+Find repeated node patterns — potential components.
+
+```sh
+open-pencil analyze clusters [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--limit` | Max clusters to show (default: 20) |
+| `--min-size` | Min node size in px (default: 30) |
+| `--min-count` | Min instances to form a cluster (default: 2) |
+| `--json` | Output as JSON |
diff --git a/packages/docs/ru/programmable/ai-chat.md b/packages/docs/ru/programmable/ai-chat.md
new file mode 100644
index 000000000..026481385
--- /dev/null
+++ b/packages/docs/ru/programmable/ai-chat.md
@@ -0,0 +1,47 @@
+---
+title: ИИ-чат
+description: Встроенный ИИ-ассистент с 87 инструментами для создания и модификации дизайна.
+---
+
+# ИИ-чат
+
+Нажмите <kbd>⌘</kbd><kbd>J</kbd> (<kbd>Ctrl</kbd> + <kbd>J</kbd>), чтобы открыть ИИ-ассистент. Опишите, что вам нужно — он создаёт фигуры, настраивает стили, управляет лейаутом, работает с компонентами и анализирует ваш дизайн.
+
+## Настройка
+
+1. Откройте панель ИИ-чата (<kbd>⌘</kbd><kbd>J</kbd>)
+2. Нажмите значок настроек
+3. Введите ваш API-ключ OpenRouter
+4. Выберите модель (Claude, GPT-4, Gemini и др.)
+
+Без бэкенда, без подписки — ваш ключ обращается напрямую к OpenRouter.
+
+## Возможности
+
+Ассистент имеет 87 инструментов в следующих категориях:
+
+- **Создание** — фреймы, фигуры, текст, компоненты, страницы. Рендер JSX для сложных макетов.
+- **Стилизация** — заливки, обводки, эффекты, прозрачность, скругление углов, режимы наложения.
+- **Лейаут** — автолейаут, выравнивание, отступы, размеры.
+- **Компоненты** — создание компонентов, экземпляров, наборов компонентов. Управление переопределениями.
+- **Переменные** — создание и редактирование переменных, коллекций, режимов. Привязка к заливкам.
+- **Запросы** — поиск узлов, чтение свойств, список страниц, шрифтов, выделение.
+- **Анализ** — цветовая палитра, аудит типографики, проверка консистентности отступов, обнаружение кластеров.
+- **Экспорт** — PNG, SVG, JSX с классами Tailwind.
+- **Вектор** — булевы операции, работа с контурами.
+
+## Примеры запросов
+
+- «Создай карточку с заголовком, описанием и синей кнопкой»
+- «Сделай одинаковое скругление углов для всех кнопок на этой странице»
+- «Какие шрифты используются в этом файле?»
+- «Измени фон выделенного фрейма на градиент от синего к фиолетовому»
+- «Экспортируй выделенный фрейм как SVG»
+- «Найди все текстовые узлы с размером шрифта меньше 12»
+
+## Советы
+
+- Выделите узлы перед запросом — ассистент знает, что выделено.
+- Указывайте конкретные цвета, размеры и позиции для точных результатов.
+- Ассистент может модифицировать несколько узлов в одном сообщении.
+- Используйте «Отменить» в редакторе, если результат вам не подходит.
diff --git a/packages/docs/ru/programmable/cli/analyzing.md b/packages/docs/ru/programmable/cli/analyzing.md
new file mode 100644
index 000000000..7659055ff
--- /dev/null
+++ b/packages/docs/ru/programmable/cli/analyzing.md
@@ -0,0 +1,65 @@
+---
+title: Анализ дизайна
+description: Аудит цветов, типографики, отступов и повторяющихся паттернов в .fig-файлах.
+---
+
+# Анализ дизайна
+
+Команды `analyze` проводят аудит всей дизайн-системы из терминала — находят несоответствия, извлекают реальную палитру, обнаруживают компоненты, которые стоит выделить.
+
+## Цвета
+
+```sh
+open-pencil analyze colors design.fig
+```
+
+Находит каждый цвет в файле, подсчитывает использование и показывает визуальную гистограмму:
+
+```
+#1d1b20 ██████████████████████████████ 17155×
+#49454f ██████████████████████████████ 9814×
+#ffffff ██████████████████████████████ 8620×
+#6750a4 ██████████████████████████████ 3967×
+```
+
+## Типографика
+
+```sh
+open-pencil analyze typography design.fig
+```
+
+Выводит список всех комбинаций шрифтов, размеров и начертаний с количеством использований. Помогает обнаружить единичные стили текста, которые следует унифицировать.
+
+## Отступы
+
+```sh
+open-pencil analyze spacing design.fig
+```
+
+Анализирует значения gap и padding во фреймах с автолейаутом. Помогает выявить несоответствия в шкале отступов — например, случайный `13px` среди стандартных значений `8/16/24`.
+
+## Кластеры
+
+```sh
+open-pencil analyze clusters design.fig
+```
+
+Находит повторяющиеся паттерны узлов, которые можно выделить в компоненты:
+
+```
+3771× frame "container" (100% match)
+ size: 40×40, structure: Frame > [Frame]
+
+2982× instance "Checkboxes" (100% match)
+ size: 48×48, structure: Instance > [Frame]
+```
+
+## JSON-вывод
+
+Все команды анализа поддерживают `--json` для машиночитаемого вывода:
+
+```sh
+open-pencil analyze colors design.fig --json
+```
+
+Передавайте в `jq`, используйте в CI-проверках или в скриптах, контролирующих бюджет дизайн-токенов.
diff --git a/packages/docs/ru/programmable/cli/exporting.md b/packages/docs/ru/programmable/cli/exporting.md
new file mode 100644
index 000000000..14d2bdd04
--- /dev/null
+++ b/packages/docs/ru/programmable/cli/exporting.md
@@ -0,0 +1,59 @@
+---
+title: Экспорт
+description: Рендер .fig-файлов в PNG, JPG, WEBP, SVG или JSX с классами Tailwind.
+---
+
+# Экспорт
+
+Экспортируйте дизайн из терминала — растровые изображения, вектор или JSX-код.
+
+## Экспорт изображений
+
+```sh
+open-pencil export design.fig # PNG (по умолчанию)
+open-pencil export design.fig -f jpg -s 2 -q 90 # JPG в 2×, качество 90
+open-pencil export design.fig -f webp -s 3 # WEBP в 3×
+open-pencil export design.fig -f svg # SVG-вектор
+```
+
+Параметры:
+
+- `-f` — формат: `png`, `jpg`, `webp`, `svg`, `jsx`
+- `-s` — масштаб: `1`–`4`
+- `-q` — качество: `0`–`100` (только JPG/WEBP)
+- `-o` — путь для сохранения
+- `--page` — имя страницы
+- `--node` — ID конкретного узла
+
+## Экспорт в JSX
+
+Экспорт в JSX с утилитарными классами Tailwind:
+
+```sh
+open-pencil export design.fig -f jsx --style tailwind
+```
+
+Результат:
+
+```html
+<div className="flex flex-col gap-4 p-6 bg-white rounded-xl">
+ <p className="text-2xl font-bold text-[#1D1B20]">Card Title</p>
+ <p className="text-sm text-[#49454F]">Description text</p>
+</div>
+```
+
+Также поддерживается `--style openpencil` для нативного JSX-формата (см. [JSX-рендерер](../jsx-renderer)).
+
+## Миниатюры
+
+```sh
+open-pencil export design.fig --thumbnail --width 1920 --height 1080
+```
+
+## Режим работы с приложением
+
+Опустите файл для экспорта из запущенного приложения:
+
+```sh
+open-pencil export -f png # снимок текущего холста
+```
diff --git a/packages/docs/ru/programmable/cli/inspecting.md b/packages/docs/ru/programmable/cli/inspecting.md
new file mode 100644
index 000000000..28de791eb
--- /dev/null
+++ b/packages/docs/ru/programmable/cli/inspecting.md
@@ -0,0 +1,98 @@
+---
+title: Просмотр файлов
+description: Просматривайте деревья узлов, ищите по имени или типу и изучайте свойства из терминала.
+---
+
+# Просмотр файлов
+
+CLI позволяет исследовать файлы `.fig` без открытия редактора. Каждая команда также работает с запущенным приложением — просто опустите аргумент файла.
+
+::: tip Установка
+```sh
+bun add -g @open-pencil/cli
+# или
+brew install open-pencil/tap/open-pencil
+```
+:::
+
+## Информация о документе
+
+Краткий обзор — количество страниц, общее число узлов, используемые шрифты, размер файла:
+
+```sh
+open-pencil info design.fig
+```
+
+## Дерево узлов
+
+Вывод полной иерархии узлов:
+
+```sh
+open-pencil tree design.fig
+```
+
+```
+[0] [page] "Getting started" (0:46566)
+ [0] [section] "" (0:46567)
+ [0] [frame] "Body" (0:46568)
+ [0] [frame] "Introduction" (0:46569)
+ [0] [frame] "Introduction Card" (0:46570)
+ [0] [frame] "Guidance" (0:46571)
+```
+
+## Поиск узлов
+
+Поиск по типу:
+
+```sh
+open-pencil find design.fig --type TEXT
+```
+
+Поиск по имени:
+
+```sh
+open-pencil find design.fig --name "Button"
+```
+
+Оба флага можно комбинировать для более точных результатов.
+
+## Свойства узла
+
+Просмотр всех свойств конкретного узла по его ID:
+
+```sh
+open-pencil node design.fig --id 1:23
+```
+
+## Страницы
+
+Список всех страниц в документе:
+
+```sh
+open-pencil pages design.fig
+```
+
+## Переменные
+
+Список дизайн-переменных и их коллекций:
+
+```sh
+open-pencil variables design.fig
+```
+
+## Режим работы с приложением
+
+Когда настольное приложение запущено, опустите аргумент файла — CLI подключится по RPC и будет работать с активным холстом:
+
+```sh
+open-pencil tree # просмотр текущего документа
+open-pencil eval -c "..." # запрос к редактору
+```
+
+## JSON-вывод
+
+Все команды поддерживают `--json` для машиночитаемого вывода — передавайте в `jq`, используйте в CI-скриптах или обрабатывайте другими инструментами:
+
+```sh
+open-pencil tree design.fig --json | jq '.[] | .name'
+```
diff --git a/packages/docs/ru/programmable/cli/scripting.md b/packages/docs/ru/programmable/cli/scripting.md
new file mode 100644
index 000000000..b6f001201
--- /dev/null
+++ b/packages/docs/ru/programmable/cli/scripting.md
@@ -0,0 +1,70 @@
+---
+title: Скрипты
+description: Выполняйте JavaScript с Figma Plugin API — запрашивайте узлы, массово изменяйте дизайн, создавайте фреймы.
+---
+
+# Скрипты
+
+`open-pencil eval` предоставляет полный Figma Plugin API в терминале. Читайте узлы, изменяйте свойства, создавайте фигуры — и сохраняйте изменения обратно в файл.
+
+## Базовое использование
+
+```sh
+open-pencil eval design.fig -c "figma.currentPage.children.length"
+```
+
+Флаг `-c` принимает JavaScript. Глобальный объект `figma` работает как Figma Plugin API.
+
+## Запрос узлов
+
+```sh
+open-pencil eval design.fig -c "
+ figma.currentPage.findAll(n => n.type === 'FRAME' && n.name.includes('Button'))
+ .map(b => ({ id: b.id, name: b.name, w: b.width, h: b.height }))
+"
+```
+
+## Изменение и сохранение
+
+```sh
+open-pencil eval design.fig -c "
+ figma.currentPage.children.forEach(n => n.opacity = 0.5)
+" -w
+```
+
+`-w` записывает изменения обратно во входной файл. Используйте `-o output.fig`, чтобы записать в другой файл.
+
+## Чтение из stdin
+
+Для длинных скриптов:
+
+```sh
+cat transform.js | open-pencil eval design.fig --stdin -w
+```
+
+## Режим работы с приложением
+
+Опустите файл для выполнения команд в запущенном настольном приложении:
+
+```sh
+open-pencil eval -c "figma.currentPage.name"
+```
+
+## Доступный API
+
+Объект `figma` поддерживает:
+
+- `figma.currentPage` — активная страница
+- `figma.root` — корень документа
+- `figma.createFrame()`, `figma.createRectangle()`, `figma.createEllipse()`, `figma.createText()` и др.
+- `.findAll()`, `.findOne()` — поиск по потомкам
+- `.appendChild()`, `.insertChild()` — манипуляции с деревом
+- Все сеттеры свойств: `.fills`, `.strokes`, `.effects`, `.opacity`, `.cornerRadius`, `.layoutMode`, `.itemSpacing` и др.
+
+Это тот же API, который используют плагины Figma, поэтому существующие знания и фрагменты кода применимы напрямую.
+
+## JSON-вывод
+
+```sh
+open-pencil eval design.fig -c "..." --json
+```
diff --git a/packages/docs/ru/programmable/collaboration.md b/packages/docs/ru/programmable/collaboration.md
new file mode 100644
index 000000000..bb558c0a7
--- /dev/null
+++ b/packages/docs/ru/programmable/collaboration.md
@@ -0,0 +1,38 @@
+---
+title: Совместная работа
+description: Совместное редактирование в реальном времени через P2P WebRTC — без сервера, без аккаунта.
+---
+
+# Совместная работа
+
+Редактируйте дизайн вместе в реальном времени. Участники соединяются напрямую — никакой сервер не передаёт ваши данные, аккаунт не требуется.
+
+## Создание комнаты
+
+1. Нажмите кнопку «Поделиться» в правом верхнем углу
+2. Скопируйте сгенерированную ссылку (`app.openpencil.dev/share/<room-id>`)
+3. Отправьте её коллегам
+
+Присоединиться может любой, у кого есть ссылка. Комната остаётся активной, пока хотя бы один участник держит страницу открытой.
+
+## Что синхронизируется
+
+- **Изменения документа** — каждая правка (фигуры, текст, свойства, лейаут) синхронизируется мгновенно
+- **Курсоры** — видно, куда указывает каждый участник, с именем и цветом
+- **Выделения** — выделенные объекты видны всем
+
+## Режим следования
+
+Нажмите на аватар коллеги в верхней панели, чтобы следовать за его областью просмотра. Ваш холст панорамируется и масштабируется, повторяя его вид. Нажмите снова, чтобы прекратить следование.
+
+## Как это работает
+
+Участники соединяются напрямую через WebRTC — дизайн-данные передаются напрямую из браузера в браузер, минуя центральный сервер. Состояние документа использует CRDT (бесконфликтный реплицируемый тип данных), поэтому одновременные правки объединяются автоматически без конфликтов.
+
+Комната сохраняется локально — если вы обновите страницу, вы вернётесь с тем же состоянием.
+
+## Советы
+
+- Работает в браузере и в настольном приложении
+- Идентификаторы комнат генерируются криптографически — присоединиться могут только те, у кого есть ссылка
+- Неактивные курсоры автоматически удаляются при отключении участника
diff --git a/packages/docs/ru/programmable/index.md b/packages/docs/ru/programmable/index.md
new file mode 100644
index 000000000..a27fdd4c6
--- /dev/null
+++ b/packages/docs/ru/programmable/index.md
@@ -0,0 +1,51 @@
+---
+layout: doc
+title: ИИ и автоматизация
+description: Каждая операция в OpenPencil доступна из скриптов — ИИ-чат, CLI, JSX-рендерер, MCP-сервер, совместная работа в реальном времени.
+---
+
+# ИИ и автоматизация
+
+OpenPencil работает с дизайн-файлами как с данными. Каждая операция, доступная в редакторе — создание фигур, настройка заливок, управление автолейаутом, экспорт ассетов — также доступна из терминала, ИИ-агентов и кода. Без плагинов, без API-ключей, без листов ожидания.
+
+Интерфейс редактора и инструменты автоматизации используют один и тот же движок. Если что-то можно сделать кликом — это можно сделать скриптом.
+
+## ИИ-чат
+
+Встроенный ассистент имеет доступ к 87 инструментам, покрывающим все возможности редактора. Опишите, что вам нужно, на естественном языке — «добавь тень 16px ко всем кнопкам», «создай компонент карточки с вариантом для тёмной темы», «экспортируй каждый фрейм на этой странице в 2×».
+
+[ИИ-чат →](./ai-chat)
+
+## Совместная работа
+
+Совместное редактирование в реальном времени через peer-to-peer WebRTC. Без сервера, без аккаунта. Поделитесь ссылкой на комнату и редактируйте вместе с курсорами в реальном времени и режимом следования. Состояние документа синхронизируется через CRDT, поэтому правки объединяются автоматически даже при нестабильном соединении.
+
+[Совместная работа →](./collaboration)
+
+## JSX-рендерер
+
+Описывайте интерфейс как JSX — тот же синтаксис, который LLM уже знают из React. Один вызов может создать целое дерево компонентов с фреймами, текстом, автолейаутом, заливками и обводками. Компактно, декларативно и поддаётся сравнению.
+
+В обратном направлении — экспортируйте любое выделение обратно в JSX с классами Tailwind, что удобно для передачи в разработку или для повторной загрузки дизайна в LLM.
+
+[JSX-рендерер →](./jsx-renderer)
+
+## CLI
+
+Просматривайте, экспортируйте и анализируйте файлы `.fig` без открытия редактора. Список страниц, поиск узлов, извлечение дизайн-токенов, рендер в PNG — всё из терминала с машиночитаемым JSON-выводом.
+
+CLI также подключается к запущенному настольному приложению по RPC, позволяя управлять редактором скриптами прямо во время работы.
+
+[Просмотр файлов](./cli/inspecting) · [Экспорт](./cli/exporting) · [Анализ дизайна](./cli/analyzing) · [Скрипты](./cli/scripting)
+
+## MCP-сервер
+
+Подключите Claude Code, Cursor, Windsurf или любой MCP-совместимый клиент к OpenPencil. Сервер предоставляет 90 инструментов для чтения, создания и изменения дизайна — те же инструменты, которые использует встроенный ИИ-чат. Работает через stdio или HTTP с поддержкой сессий.
+
+[MCP-сервер →](./mcp-server)
+
+## Почему открытый?
+
+Figma — закрытая платформа. Их MCP-сервер работает только на чтение. Доступ через CDP был заблокирован в версии 126. Дизайн-файлы хранятся в проприетарном формате на чужих серверах. Разработка плагинов требует специального рантайма с ограниченными API.
+
+OpenPencil — альтернатива: открытый исходный код, лицензия MIT, каждая операция доступна из скриптов, данные хранятся локально. Ваши дизайн-файлы — ваши: просматривайте, трансформируйте, отправляйте в CI, загружайте в LLM. Без чьего-либо разрешения.
diff --git a/packages/docs/ru/programmable/jsx-renderer.md b/packages/docs/ru/programmable/jsx-renderer.md
new file mode 100644
index 000000000..8ace2f729
--- /dev/null
+++ b/packages/docs/ru/programmable/jsx-renderer.md
@@ -0,0 +1,116 @@
+---
+title: JSX-рендерер
+description: Создавайте дизайн с помощью JSX — синтаксиса, который LLM уже знают из миллионов React-компонентов.
+---
+
+# JSX-рендерер
+
+OpenPencil использует JSX как язык создания дизайна. LLM видели миллионы React-компонентов — описание макета через `<Frame><Text>` естественно и не требует специального обучения. Каждый токен важен, когда ИИ-агент выполняет десятки операций, а JSX — это самое компактное декларативное представление.
+
+JSX также поддаётся сравнению. Когда ИИ изменяет дизайн, изменение представлено как JSX-дифф — читаемый, проверяемый, пригодный для контроля версий.
+
+## Создание дизайна
+
+Инструмент `render` (доступен в ИИ-чате, MCP и CLI eval) принимает JSX:
+
+```jsx
+<Frame name="Card" w={320} h="hug" flex="col" gap={16} p={24} bg="#FFF" rounded={16}>
+ <Text size={18} weight="bold">Card Title</Text>
+ <Text size={14} color="#666">Description text</Text>
+</Frame>
+```
+
+В MCP-сервере и ИИ-чате инструмент `render` принимает JSX-строки напрямую. В CLI используйте команду `export` для обратного направления — [экспорт дизайна в JSX](./cli/exporting).
+
+## Элементы
+
+Все типы узлов доступны как JSX-элементы:
+
+| Элемент | Создаёт | Псевдонимы |
+|---------|---------|------------|
+| `<Frame>` | Фрейм (контейнер, поддерживает автолейаут) | `<View>` |
+| `<Rectangle>` | Прямоугольник | `<Rect>` |
+| `<Ellipse>` | Эллипс / круг | |
+| `<Text>` | Текстовый узел (дочерние элементы становятся текстовым содержимым) | |
+| `<Line>` | Линия | |
+| `<Star>` | Звезда | |
+| `<Polygon>` | Многоугольник | |
+| `<Vector>` | Векторный контур | |
+| `<Group>` | Группа | |
+| `<Section>` | Секция | |
+
+## Свойства стиля
+
+Компактные сокращённые свойства, вдохновлённые именованием Tailwind.
+
+### Лейаут
+
+| Свойство | Описание |
+|----------|----------|
+| `flex` | `"row"` или `"col"` — включает автолейаут |
+| `gap` | Расстояние между дочерними элементами |
+| `wrap` | Перенос дочерних элементов на следующую строку |
+| `rowGap` | Межстрочный интервал при переносе |
+| `justify` | `"start"`, `"end"`, `"center"`, `"between"` |
+| `items` | `"start"`, `"end"`, `"center"`, `"stretch"` |
+| `p`, `px`, `py`, `pt`, `pr`, `pb`, `pl` | Отступы |
+
+### Размер и позиция
+
+| Свойство | Описание |
+|----------|----------|
+| `w`, `h` | Ширина/высота — число, `"fill"` или `"hug"` |
+| `minW`, `maxW`, `minH`, `maxH` | Ограничения размера |
+| `x`, `y` | Позиция |
+
+### Внешний вид
+
+| Свойство | Описание |
+|----------|----------|
+| `bg` | Заливка фона (HEX-цвет) |
+| `fill` | Псевдоним для `bg` |
+| `stroke` | Цвет обводки |
+| `strokeWidth` | Толщина обводки (по умолчанию: 1) |
+| `rounded` | Скругление углов (или `roundedTL`, `roundedTR`, `roundedBL`, `roundedBR`) |
+| `cornerSmoothing` | Плавное скругление в стиле iOS (0–1) |
+| `opacity` | 0–1 |
+| `shadow` | Тень (напр. `"0 4 8 #00000040"`) |
+| `blur` | Радиус размытия слоя |
+| `rotate` | Поворот в градусах |
+| `blendMode` | Режим наложения |
+| `overflow` | `"hidden"` или `"visible"` |
+
+### Типографика
+
+| Свойство | Описание |
+|----------|----------|
+| `size` / `fontSize` | Размер шрифта |
+| `font` / `fontFamily` | Семейство шрифта |
+| `weight` / `fontWeight` | `"bold"`, `"medium"`, `"normal"` или число |
+| `color` | Цвет текста |
+| `textAlign` | `"left"`, `"center"`, `"right"`, `"justified"` |
+
+## Экспорт в JSX
+
+Конвертируйте существующий дизайн обратно в JSX:
+
+```sh
+open-pencil export design.fig -f jsx # формат OpenPencil
+open-pencil export design.fig -f jsx --style tailwind # классы Tailwind
+```
+
+Круговой цикл работает: экспортируйте дизайн как JSX, измените код, отрендерьте обратно.
+
+## Визуальное сравнение
+
+Поскольку дизайн можно представить как JSX, изменения становятся диффами кода:
+
+```diff
+ <Frame name="Card" w={320} flex="col" gap={16} p={24} bg="#FFF">
+- <Text size={18} weight="bold">Old Title</Text>
++ <Text size={24} weight="bold" color="#1D1B20">New Title</Text>
+ <Text size={14} color="#666">Description</Text>
+ </Frame>
+```
+
+Это делает изменения дизайна доступными для ревью в пулл-реквестах, отслеживаемыми в системе контроля версий и проверяемыми в CI.
diff --git a/packages/docs/ru/programmable/mcp-server.md b/packages/docs/ru/programmable/mcp-server.md
new file mode 100644
index 000000000..e296a6447
--- /dev/null
+++ b/packages/docs/ru/programmable/mcp-server.md
@@ -0,0 +1,251 @@
+# MCP Server
+
+OpenPencil includes an MCP (Model Context Protocol) server that lets AI coding tools — Claude Code, Cursor, Windsurf, etc. — read and modify `.fig` files headlessly.
+
+Two transports: **stdio** for MCP clients, **HTTP** for everything else.
+
+## Install
+
+```sh
+bun add -g @open-pencil/mcp
+```
+
+## Stdio (Claude Code, Cursor, etc.)
+
+Add to your MCP config (e.g. `~/.claude/settings.json` or `.cursor/mcp.json`):
+
+```json
+{
+ "mcpServers": {
+ "open-pencil": {
+ "command": "openpencil-mcp"
+ }
+ }
+}
+```
+
+Or run from source without installing:
+
+::: code-group
+```json [Bun]
+{
+ "mcpServers": {
+ "open-pencil": {
+ "command": "bun",
+ "args": ["/path/to/open-pencil/packages/mcp/src/index.ts"]
+ }
+ }
+}
+```
+```json [Node.js]
+{
+ "mcpServers": {
+ "open-pencil": {
+ "command": "npx",
+ "args": ["tsx", "/path/to/open-pencil/packages/mcp/src/index.ts"]
+ }
+ }
+}
+```
+:::
+
+## HTTP
+
+For browser extensions, scripts, CI, or any HTTP client:
+
+```sh
+openpencil-mcp-http
+```
+
+Or from source: `bun packages/mcp/src/http.ts` / `npx tsx packages/mcp/src/http.ts`
+
+Security defaults (HTTP transport):
+
+- Binds to `127.0.0.1` by default (`HOST` to override)
+- `eval` tool is disabled
+- File operations are limited to `OPENPENCIL_MCP_ROOT` (defaults to current working directory)
+- CORS is disabled by default; set `OPENPENCIL_MCP_CORS_ORIGIN` to allow one origin
+- Optional auth token: `OPENPENCIL_MCP_AUTH_TOKEN` (client sends `Authorization: Bearer <token>` or `x-mcp-token`)
+
+Server starts on port 3100 (override with `PORT` env var). Endpoints:
+
+- `GET /health` — server status
+- `POST /mcp` — MCP Streamable HTTP (SSE). Sessions via `mcp-session-id` header.
+
+## Workflow
+
+1. **Open** — `open_file` to load an existing `.fig`, or `new_document` for a blank canvas
+2. **Read** — `get_page_tree`, `find_nodes`, `get_node`, `list_pages`
+3. **Create** — `create_shape`, `render` (JSX)
+4. **Modify** — `set_fill`, `set_stroke`, `set_layout`, `update_node`, `set_effects`
+5. **Structure** — `reparent_node`, `group_nodes`, `clone_node`, `delete_node`
+6. **Save** — `save_file` to write back to `.fig`
+
+## AI Agent Skill
+
+Teach your AI coding agent to use OpenPencil tools:
+
+```sh
+npx skills add open-pencil/skills@open-pencil
+```
+
+Works with Claude Code, Cursor, Windsurf, Codex, and any agent that supports [skills](https://skills.sh). The skill covers the CLI, MCP tools, JSX rendering, eval, and the running app's automation bridge.
+
+## Tools (90)
+
+### Document
+
+| Tool | Description |
+|------|-------------|
+| `open_file` | Open a `.fig` file for editing |
+| `save_file` | Save the current document to a `.fig` file |
+| `new_document` | Create a new empty document |
+
+### Read
+
+| Tool | Description |
+|------|-------------|
+| `get_selection` | Get currently selected nodes |
+| `get_page_tree` | Get the full node tree of the current page |
+| `get_current_page` | Get the current page name and ID |
+| `get_node` | Get detailed properties of a node by ID |
+| `find_nodes` | Find nodes by name pattern and/or type |
+| `get_components` | List all components in the document |
+| `list_pages` | List all pages |
+| `list_variables` | List design variables |
+| `list_collections` | List variable collections |
+| `list_fonts` | List fonts used in the current page |
+| `page_bounds` | Get bounding box of all objects on the current page |
+| `node_bounds` | Get bounding box of a node |
+| `node_ancestors` | Get ancestor chain of a node |
+| `node_children` | Get direct children of a node |
+| `node_tree` | Get the subtree rooted at a node |
+| `node_bindings` | Get variable bindings on a node |
+
+### Create
+
+| Tool | Description |
+|------|-------------|
+| `create_shape` | Create a shape (`FRAME`, `RECTANGLE`, `ELLIPSE`, `TEXT`, `LINE`, `STAR`, `POLYGON`, `SECTION`) |
+| `create_vector` | Create a vector node from a path string |
+| `create_slice` | Create an export slice |
+| `create_page` | Create a new page |
+| `render` | Render JSX to design nodes — create entire component trees in one call |
+| `create_component` | Convert a frame/group into a component |
+| `create_instance` | Create an instance of a component |
+| `node_to_component` | Convert an existing node into a component in-place |
+
+### Modify
+
+| Tool | Description |
+|------|-------------|
+| `set_fill` | Set fill color (hex) |
+| `set_stroke` | Set stroke color, weight, alignment |
+| `set_effects` | Add shadow or blur effects |
+| `update_node` | Update position, size, opacity, corner radius, text, font |
+| `set_layout` | Set auto-layout (flexbox) — direction, spacing, padding, alignment |
+| `set_constraints` | Set resize constraints |
+| `set_rotation` | Set rotation angle in degrees |
+| `set_opacity` | Set opacity (0–1) |
+| `set_radius` | Set corner radius (uniform or per-corner) |
+| `set_minmax` | Set min/max width and height constraints |
+| `set_text` | Set text content of a `TEXT` node |
+| `set_font` | Set font family and weight |
+| `set_font_range` | Set font properties on a character range |
+| `set_text_resize` | Set text auto-resize mode (fixed/auto-width/auto-height) |
+| `set_visible` | Show or hide a node |
+| `set_blend` | Set blend mode |
+| `set_locked` | Lock or unlock a node |
+| `set_stroke_align` | Set stroke alignment (inside/center/outside) |
+| `set_text_properties` | Set text layout: alignment, auto-resize, text case, decoration, truncation |
+| `set_layout_child` | Configure auto-layout child: sizing, grow, alignment, absolute positioning |
+| `node_move` | Move a node to a new position |
+| `node_resize` | Resize a node |
+| `node_replace_with` | Replace a node with another node |
+| `arrange` | Align or distribute selected nodes |
+
+### Structure
+
+| Tool | Description |
+|------|-------------|
+| `delete_node` | Delete a node |
+| `clone_node` | Duplicate a node |
+| `rename_node` | Rename a node |
+| `reparent_node` | Move a node into a different parent |
+| `select_nodes` | Select nodes by ID |
+| `group_nodes` | Group nodes |
+| `ungroup_node` | Ungroup a group |
+| `flatten_nodes` | Flatten nodes into a single vector |
+| `boolean_union` | Boolean union of two or more nodes |
+| `boolean_subtract` | Boolean subtraction |
+| `boolean_intersect` | Boolean intersection |
+| `boolean_exclude` | Boolean exclusion |
+
+### Vector Path
+
+| Tool | Description |
+|------|-------------|
+| `path_get` | Get the path data of a vector node |
+| `path_set` | Set the path data of a vector node |
+| `path_scale` | Scale a vector path |
+| `path_flip` | Flip a vector path horizontally or vertically |
+| `path_move` | Translate a vector path |
+
+### Export
+
+| Tool | Description |
+|------|-------------|
+| `export_image` | Export nodes as PNG, JPG, or WEBP. Returns base64-encoded image data |
+| `export_svg` | Export nodes as SVG markup |
+
+### Viewport
+
+| Tool | Description |
+|------|-------------|
+| `viewport_get` | Get current viewport position and zoom level |
+| `viewport_set` | Set viewport position and zoom |
+| `viewport_zoom_to_fit` | Zoom viewport to fit specified nodes |
+
+### Variables
+
+| Tool | Description |
+|------|-------------|
+| `get_variable` | Get a variable by ID or name |
+| `find_variables` | Find variables by name pattern or type |
+| `create_variable` | Create a new variable in a collection |
+| `set_variable` | Set a variable value in a mode |
+| `delete_variable` | Delete a variable |
+| `bind_variable` | Bind a variable to a node property |
+| `get_collection` | Get a variable collection by ID or name |
+| `create_collection` | Create a new variable collection |
+| `delete_collection` | Delete a variable collection |
+
+### Analyze
+
+| Tool | Description |
+|------|-------------|
+| `analyze_colors` | Analyze color palette usage across the document |
+| `analyze_typography` | Analyze font/size/weight distribution |
+| `analyze_spacing` | Analyze gap and padding values |
+| `analyze_clusters` | Detect repeated patterns (potential components) |
+
+### Diff
+
+| Tool | Description |
+|------|-------------|
+| `diff_create` | Create a snapshot of the current document state |
+| `diff_show` | Show differences between the current state and a snapshot |
+
+### Navigation
+
+| Tool | Description |
+|------|-------------|
+| `switch_page` | Switch to a page by name or ID |
+
+### Escape Hatch
+
+| Tool | Description |
+|------|-------------|
+| `eval` | Execute JavaScript with full Figma Plugin API access |
+
+Note: `eval` is available over stdio, but disabled in HTTP mode for security.
diff --git a/packages/docs/ru/reference/cli.md b/packages/docs/ru/reference/cli.md
new file mode 100644
index 000000000..6f83df440
--- /dev/null
+++ b/packages/docs/ru/reference/cli.md
@@ -0,0 +1,184 @@
+---
+title: CLI Reference
+description: Complete reference for all open-pencil commands, options, and flags.
+---
+
+# CLI Reference
+
+All commands accept a `.fig` file as a positional argument. When omitted, the CLI connects to the running desktop app via RPC.
+
+## info
+
+Show document info — pages, node counts, fonts, file size.
+
+```sh
+open-pencil info [file] [--json]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--json` | Output as JSON |
+
+## tree
+
+Print the node hierarchy.
+
+```sh
+open-pencil tree [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--page` | Page name (default: first page) |
+| `--depth` | Max depth (default: unlimited) |
+| `--json` | Output as JSON |
+
+## find
+
+Search nodes by name or type.
+
+```sh
+open-pencil find [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--name` | Node name (partial match, case-insensitive) |
+| `--type` | Node type: `FRAME`, `TEXT`, `RECTANGLE`, `INSTANCE`, etc. |
+| `--page` | Page name (default: all pages) |
+| `--limit` | Max results (default: 100) |
+| `--json` | Output as JSON |
+
+## node
+
+Show detailed properties of a node.
+
+```sh
+open-pencil node [file] --id <id> [--json]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--id` | **Required.** Node ID (e.g. `1:23`) |
+| `--json` | Output as JSON |
+
+## pages
+
+List all pages in the document.
+
+```sh
+open-pencil pages [file] [--json]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--json` | Output as JSON |
+
+## variables
+
+List design variables and collections.
+
+```sh
+open-pencil variables [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--collection` | Filter by collection name |
+| `--type` | Filter by type: `COLOR`, `FLOAT`, `STRING`, `BOOLEAN` |
+| `--json` | Output as JSON |
+
+## export
+
+Export to PNG, JPG, WEBP, SVG, or JSX.
+
+```sh
+open-pencil export [file] [options]
+```
+
+| Option | Alias | Description |
+|--------|-------|-------------|
+| `--format` | `-f` | `png` (default), `jpg`, `webp`, `svg`, `jsx` |
+| `--output` | `-o` | Output file path (default: `<name>.<format>`) |
+| `--scale` | `-s` | Export scale (default: 1) |
+| `--quality` | `-q` | Quality 0–100, JPG/WEBP only (default: 90) |
+| `--page` | | Page name (default: first page) |
+| `--node` | | Node ID to export (default: all top-level nodes) |
+| `--style` | | JSX style: `openpencil` (default), `tailwind` |
+| `--thumbnail` | | Export page thumbnail instead of full render |
+| `--width` | | Thumbnail width (default: 1920) |
+| `--height` | | Thumbnail height (default: 1080) |
+
+## eval
+
+Execute JavaScript with the Figma Plugin API.
+
+```sh
+open-pencil eval [file] [options]
+```
+
+| Option | Alias | Description |
+|--------|-------|-------------|
+| `--code` | `-c` | JavaScript code to execute |
+| `--stdin` | | Read code from stdin |
+| `--write` | `-w` | Write changes back to the input file |
+| `--output` | `-o` | Write to a different file |
+| `--json` | | Output as JSON |
+| `--quiet` | `-q` | Suppress output |
+
+## analyze colors
+
+Analyze color palette usage across the document.
+
+```sh
+open-pencil analyze colors [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--limit` | Max colors to show (default: 30) |
+| `--threshold` | Distance threshold for clustering similar colors, 0–50 (default: 15) |
+| `--similar` | Show similar color clusters |
+| `--json` | Output as JSON |
+
+## analyze typography
+
+Analyze font family, size, and weight distribution.
+
+```sh
+open-pencil analyze typography [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--group-by` | Group by: `family`, `size`, `weight` (default: show all styles) |
+| `--limit` | Max styles to show (default: 30) |
+| `--json` | Output as JSON |
+
+## analyze spacing
+
+Analyze gap and padding values across auto-layout frames.
+
+```sh
+open-pencil analyze spacing [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--grid` | Base grid size to check against (default: 8) |
+| `--json` | Output as JSON |
+
+## analyze clusters
+
+Find repeated node patterns — potential components.
+
+```sh
+open-pencil analyze clusters [file] [options]
+```
+
+| Option | Description |
+|--------|-------------|
+| `--limit` | Max clusters to show (default: 20) |
+| `--min-size` | Min node size in px (default: 30) |
+| `--min-count` | Min instances to form a cluster (default: 2) |
+| `--json` | Output as JSON |