figma-use-figjam

작성자: figma

이 스킬은 에이전트가 FigJam 컨텍스트에서 Figma의 use_figma MCP 도구를 사용할 수 있도록 도와줍니다. use_figma의 기본 컨텍스트를 제공하는 figma-use와 함께 사용할 수 있습니다.

npx skills add https://github.com/figma/dev-mode-mcp-server-guide --skill figma-use-figjam

use_figma — Figma Plugin API Skill for FigJam

This skill contains FigJam-specific context for the use_figma MCP tool. The figma-use skill provides foundational context for plugin API execution via MCP as well as the full Figma plugin API for more advanced use-cases that are not described here.

Always include figma-use-figjam in the comma-separated skillNames parameter when calling use_figma for FigJam operations. If this skill was loaded via an MCP resource, you MUST prefix the name with resource: (e.g. resource:figma-use-figjam). This is a logging parameter used to track skill usage — it does not affect execution.

FigJam URL is figma.com/board/.... Do NOT call figma.createPage() in FigJam — it throws TypeError: figma.createPage no such property 'createPage' on the figma global object. createPage() is a Design-file API only (figma.com/design/...). FigJam files have a single implicit page; organize content with sections instead (see create-section).

Inspecting FigJam Files

get_figjam is the inspection tool for FigJam files. It returns the full node tree as XML, including IDs of pages, sections, stickies, connectors, and other nodes you need to reference in subsequent use_figma calls.

  • Use get_figjam upfront before writing any use_figma code that needs to reference existing nodes (page IDs, section IDs, etc.). Don't try to discover IDs by running an inspection script — console.log output from use_figma is not returned to the agent (see figma-use Critical Rule #4). Only the return value comes back.
  • get_metadata does NOT work on FigJam files — it is design-mode only and will fail immediately with "unsupported for FigJam files".
  • get_screenshot requires a valid nodeId — passing an empty nodeId returns "invalid nodeId" error. Get IDs from get_figjam first.
  • If you forgot to return an ID from a previous use_figma call and need it now, call get_figjam rather than re-running an inspection script.

Loading Reference Docs Efficiently

Load only the references your task needs — but when you do need to load multiple, issue all reads in a single parallel tool-call batch, not sequentially across turns. For a typical board-creation task, that means a single message containing reads for plan-board-content plus the 3-4 specific node-type references you'll use.

Deferred Tools — Batch-Load Schemas

The Figma MCP tools (use_figma, get_figjam, get_screenshot, get_metadata, create_new_file, whoami) often appear as deferred tools that require ToolSearch to load their schemas before they can be called. Load all schemas in a single ToolSearch call using the select: syntax instead of one call per tool:

ToolSearch query="select:use_figma,get_figjam,get_screenshot,get_metadata,create_new_file"

Six sequential ToolSearch calls is six round trips before any work happens. One batched call is one round trip.

Text Mutations — Canonical Recipe

Every FigJam text mutation (sticky/shape/label/table cell/connector text, standalone text nodes) follows the same recipe as Design files: load font → await → mutate → return affected IDs. Skipping the load throws Cannot write to node with unloaded font "<family> <style>". See figma-use → gotchas.md → Canonical text-edit recipe. FigJam-specific note: sublayer defaults vary (sticky → Inter Medium, shape → Inter Medium, connector → invalid until set), so always load from node.text.fontName rather than hardcoding { family: 'Inter', style: 'Regular' }.

Adding Images to a FigJam Board

upload_assets is the ONLY supported way to add images to a FigJam file. Do NOT use figma.createImage() or figma.createImageAsync() from inside use_figma — they are unsupported as image-upload entry points in FigJam. Call upload_assets with the FigJam fileKey; the tool returns single-use upload URLs that you POST raw image bytes to, and the image is committed and placed automatically. Pass nodeId (with count: 1) to attach the upload to an existing FigJam node as a fill; omit nodeId to drop the image onto the board as a new layer.

For the full request/response shape, see figma-use → api-reference.md → Images.

Reference Docs

  • plan-board-content - Read this for any board content request — board template, retro, brainstorm, ice breaker, meeting board, scaffold
    • Covers planning of generated board content, including sequential outline, sections, intents, and hierarchical text
    • Delegates to other references for specific API details
  • create-section — Create and configure FigJam sections (sizing, naming, colors, content visibility, organizing nodes, column layouts)
  • create-sticky — Create and configure FigJam sticky notes (colors, sizing, text, author visibility, batch creation)
  • create-connector — Create and configure FigJam connectors (endpoints, arrows, line types, labels, colors, diagram wiring)
  • create-text — Create and configure FigJam text nodes (font loading, preset fonts and colors, sizing, lists, mind map operations)
  • position-figjam-nodes — Position, size, and reparent nodes on the canvas (including within sections)
  • create-shape-with-text — Create and configure FigJam shapes with embedded text (shape types, color presets, sizing to fit text, diagram layouts)
  • create-code-block — Create and configure FigJam code block nodes (languages, syntax highlighting, positioning, embedding in sections)
  • create-table — Create and configure FigJam tables (rows, columns, cell text, color presets, resizing)
  • edit-text — Edit existing text nodes (font loading, styled ranges, find/replace, FigJam Charcoal default color)
  • create-label — Create and configure FigJam label nodes (small numbered/lettered circle callout markers, sequences, positioning)
  • batch-modify — Patterns for modifying many existing nodes at once (bulk style changes, repositioning, property updates)
  • figjam-colors — Canonical FigJam color palettes for every node type (sticky, section, connector, shape, label) plus the hex/255 notation rule and the h() helper

figma의 다른 스킬

figma-code-connect
figma
Figma 컴포넌트를 코드 스니펫에 매핑하는 Figma Code Connect 템플릿 파일을 생성하고 유지 관리합니다. 사용자가 Code Connect, Figma 컴포넌트를 언급할 때 사용합니다.
official
figma-create-design-system-rules
figma
사용자의 코드베이스에 맞춤형 디자인 시스템 규칙을 생성합니다. 사용자가 "디자인 시스템 규칙 생성", "내 프로젝트 규칙 생성", "설정..."이라고 말할 때 사용하세요.
official
figma-create-new-file
figma
새로운 빈 Figma 파일을 생성합니다. 사용자가 새 Figma 디자인이나 FigJam 파일을 만들고자 할 때, 또는 use_figma를 호출하기 전에 새 파일이 필요할 때 사용합니다.
official
figma-generate-design
figma
이 스킬은 애플리케이션 페이지, 뷰 또는 여러 섹션 레이아웃을 Figma로 변환하는 작업이 있을 때 figma-use와 함께 사용하세요. 트리거: 'write to…
official
figma-generate-diagram
figma
MANDATORY prerequisite — load this skill BEFORE every `generate_diagram` tool call. Routes to type-specific guidance (generic flowchart, architecture…
official
figma-generate-library
figma
코드베이스로부터 Figma에서 전문가 수준의 디자인 시스템을 구축하거나 업데이트합니다. 사용자가 변수/토큰을 생성하거나, 컴포넌트 라이브러리를 구축하거나, 설정하려는 경우 사용하세요.
official
figma-implement-design
figma
Figma 디자인을 1:1 시각적 정확도로 프로덕션 준비가 된 애플리케이션 코드로 변환합니다. Figma 파일에서 UI 코드를 구현할 때, 사용자가 언급할 때 사용하세요.
official
figma-use
figma
**MANDATORY prerequisite** — you MUST invoke this skill BEFORE every `use_figma` tool call. NEVER call `use_figma` directly without loading this skill first.…
official