Triggers on 'let's start', 'begin', 'preflight', 'start the session', or when a Figma file URL is first shared. Verifies MCP connection, reads CLAUDE.md, audits connected libraries, and loads a Token Map of all Styles and Variables โ required before any design work.
Installs just this skill. Get the whole plugin for auto-invocation.
โก How it fires
How this skill gets triggered: by you, by Claude, or both.
Fires itselfClaude auto-loads it when your prompt matches the work.
You can call itInvoke it directly when you want it.
Slash command/figma-preflight
๐๏ธ Context preview
The summary Claude sees to decide when to auto-load this skill.
Triggers on 'let's start', 'begin', 'preflight', 'start the session', or when a Figma file URL is first shared. Verifies MCP connection, reads CLAUDE.md, audits connected libraries, and loads a Token Map of all Styles and Variables โ required before any design work.
---name: figma-preflight
description: "Triggers on 'let's start', 'begin', 'preflight', 'start the session', or when a Figma file URL is first shared. Verifies MCP connection, reads CLAUDE.md, audits connected libraries, and loads a Token Map of all Styles and Variables โ required before any design work."
disable-model-invocation: false
---# Figma Preflight
Run at the start of every design session. Do NOT start design work until all steps pass.
**Prerequisite:** Load `figma-use` skill before any `use_figma` call.
---## Step A โ Connection + Config (parallel)
Run these two in parallel:
1. **MCP Connection:** Call `mcp__figma__whoami`. Must return user email and plan. Fail โ stop, re-authenticate.
2. **CLAUDE.md:** Read CLAUDE.md. Extract Figma file URL (required โ stop if missing), font families, session goal. If fonts field is a placeholder, auto-populate after Step C using STRING variables starting with "Family".
---## Step B โ File + Libraries (parallel)
Parse `fileKey` from the Figma URL, then run in parallel:
1. **File Access:** Call `get_metadata` with extracted nodeId and fileKey. Must return file name and pages.
2. **Libraries:** Call `get_libraries` with fileKey. Store subscribed libraries as **Library Registry** (name, libraryKey, description). These enable `search_design_system` to find library styles and components during design work.