create-figjam-content
Installation
SKILL.md
create-figjam-content — author & read FigJam boards
Build FigJam boards one element at a time and read them back. Covers stickies (single + batch),
connectors, shapes-with-text, sections, tables, code blocks, auto-arrange, plus get board contents
and get connections. This gives you fine-grained control when the native one-shot
generate_diagram is too coarse (e.g. you want specific colors, positions, magnets, or to extend an
existing board).
Skill boundaries
use_figmarules — load the officialfigma-useskill first; it is the full Figma Plugin API reference. Essentials these scripts rely on: plain JS with top-levelawait+return(no IIFE, nofigma.closePlugin();console.logis not returned), inputs inlined asconstat 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).- One complete snippet per operation → references/figjam-snippets.md.
- Whole-diagram generation in one call → use the native
generate_diagramtool instead.