figma-annotations
/figma-annotations
Odczytuje i dodaje do węzłów Figma adnotacje ze specyfikacją: wymiary, czcionki, animacje, dostępność i notatki dla programistów.
- Autor
- southleft ↗
- Repozytorium
- figma-console-mcp-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 16.08.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 2
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 16.08.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 2 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/get-annotations.js, scripts/set-annotations.js
Co robi i kiedy
Odczytuje i dodaje do węzłów Figma adnotacje ze specyfikacją: wymiary, czcionki, animacje, dostępność i notatki dla programistów.
Wyzwalacze z opisu
Oryginalny opis (EN)
Read and write designer annotations on Figma nodes — node-level design specs that pin properties (fills, width, fontSize, etc.) and carry plain or markdown notes. Use when the user wants to document or inspect interaction specs, animation timings, easing, accessibility requirements, or implementation notes attached directly to a node. Triggers: 'add an annotation', 'annotate this node/component', 'read the annotations on…', 'what specs are pinned to this element', 'list annotation categories', 'document the focus behavior on this button in Figma'. Annotations are distinct from comments (they p
Jak działa
- Skill boundaries
- Workflow
- Notes
Podgląd SKILL.md
--- name: figma-annotations description: "Read and write designer annotations on Figma nodes — node-level design specs that pin properties (fills, width, fontSize, etc.) and carry plain or markdown notes. Use when the user wants to document or inspect interaction specs, animation timings, easing, accessibility requirements, or implementation notes attached directly to a node. Triggers: 'add an annotation', 'annotate this node/component', 'read the annotations on…', 'what specs are pinned to this element', 'list annotation categories', 'document the focus behavior on this button in Figma'. Annotations are distinct from comments (they pin to design properties) and from the description field. Requires the Figma Desktop app (Plugin API)." disable-model-invocation: false --- # figma-annotations — read & write node annotations Annotations are designer-authored specs attached to a node. Each can carry a **note** (plain `label` or rich `labelMarkdown`), a set of **pinned properties** (`fills`, `width`, `fontSize`, …) that link the note to specific design attributes, and an optional **category** (interactions, accessibility, dev notes, …). They live on the node, survive edits, and are undoable (`Cmd+Z`). They are the right place for animation timings, easing curves, interaction behavior, and a11y requirements that don't belong in the component description. ## Skill boundaries - **`use_figma` rules** — load the official **`figma-use`** skill first; it is the full Figma Plugin API reference. Essentials these scripts rely on: plain JS with top-level `await` + `return` (no IIFE, no `figma.closePlugin()`; `console.log` is not returned), inputs inlined as `const` at the top of each script, colors in 0–1 range, load fonts before any text op, `await figma.getNodeByIdAsync(...)`, and **atomic errors** (a failed script applies nothing — read the error, fix, retry). - **Valid property types + shapes** → [references/annotation-properties.md](references/annotation-properties.md). - **Comments** (file-level discussion threads, not node specs) → use the `figma-comments` skill instead. ## Workflow 1. **Get the node ID.** Use the current selection or a node ID the user gives you. Annotations only apply to nodes whose type supports them (frames, components, instances, shapes, text — not pages). 2. **List categories first when writing categorized annotations.** Run the categories snippet so you can pass a real `categoryId` (category names are per-file and not guessable). See the script. 3. **Read** with [`scripts/get-annotations.js`](scripts/get-annotations.js) — set `INCLUDE_CHILDREN` to walk a component tree for full-component documentation. 4. **Write** with [`scripts/set-annotations.js`](scripts/set-annotations.js). Choose `MODE`: `'replace'` (default — overwrites all annotations on the node) or `'append'` (keeps existing). Pass `ANNOTATIONS = []` with `'replace'` to clear all annotations. 5. **Validate.** Re-run the read script and confirm the annotation count and labels match what you set. ## Notes - **Note any text op needs a font load.** Annotations themselves don't render text you author, but if a workflow also writes text nodes, `await figma.loadFontAsync(...)` first (see conventions). - Figma auto-populates BOTH `label` and `labelMarkdown` on read, but **rejects writing both** — when appending, prefer `labelMarkdown` if present, else `label`. The append script already does this. - `properties` only pins *which* attributes the note is about; it does not set their values. Use the exact strings from [references/annotation-properties.md](references/annotation-properties.md). - These tools require the **Figma Desktop** app (the Plugin API isn't available in the browser).
Pliki w paczce (4)
- SKILL.md 4 KB
- references/annotation-properties.md 2 KB
- scripts/get-annotations.js 2 KB
- scripts/set-annotations.js 2 KB
Wersje
W bazie nie ma innych skilli o nazwie figma-annotations.
Migawka bazy z 13.11.2026 · wersja paczki 58fdba8ed4e4 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90annotations-figma
Czyta i zapisuje adnotacje projektanta na węzłach Figma: specyfikacje przypinające właściwości (wypełnienia, szerokość, rozmiar czcionki) i notatki, np. czasy animacji, easing i wymagania dostępności. - 90annotation-conversion
Zamienia ręczne znaczniki adnotacji w natywne adnotacje dev-mode w Figmie przez figma-mcp-rust. - 90design-annotations
Dodaje i przepisuje notatki deweloperskie przy ekranach w Figmie, używając komponentu notatki z systemu projektowego. - 90fix
Stosuje uwagi i adnotacje wysłane z wtyczki Figma, gdy użytkownik prosi o sprawdzenie skrzynki albo poprawki z notatek. - 100figma-comments
Czyta, dodaje, odpowiada i usuwa komentarze w pliku Figma przez REST API, także przypięte do węzła i w wątkach. - 90figma-handoff
Pobiera projekt z Figmy przez konektor i przygotowuje przekazanie dla programistów: tokeny, specyfikacje, redlines, listę zasobów i notatki o komponentach.