一键导入
figma-pilot
REQUIRED reading before using figma_execute. Contains API syntax, parameter formats, and examples. READ rules/*.md files for correct usage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
REQUIRED reading before using figma_execute. Contains API syntax, parameter formats, and examples. READ rules/*.md files for correct usage.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | figma-pilot |
| description | REQUIRED reading before using figma_execute. Contains API syntax, parameter formats, and examples. READ rules/*.md files for correct usage. |
| metadata | {"tags":"figma, mcp, design, ai, components, accessibility, tokens"} |
ALWAYS read this skill BEFORE calling figma_execute! This skill contains the correct API syntax, parameter formats, and examples that you MUST follow. Failure to read this will result in syntax errors.
Use this skill whenever you are working with figma-pilot MCP tools to create or modify Figma designs.
figma-pilot uses a code execution mode for maximum efficiency. Instead of 15+ individual tools, you use figma_execute to run JavaScript code with access to all Figma APIs.
| Tool | Description |
|---|---|
figma_status | Check connection to Figma plugin (call first) |
figma_execute | Execute JavaScript with all Figma APIs |
figma_get_api_docs | Get detailed API documentation |
// figma_execute
// Create a card and modify selection
await figma.create({
type: 'card',
name: 'Welcome Card',
children: [
{ type: 'text', content: 'Hello!', fontSize: 24 }
]
});
const { nodes } = await figma.query({ target: 'selection' });
for (const node of nodes) {
await figma.modify({ target: node.id, fill: '#0066FF' });
}
console.log(`Modified ${nodes.length} elements`);
Read individual rule files for detailed API documentation:
figma.status() - Check connectionfigma.query() - Query elements by ID, name, or selectionfigma.create() - Create elements (frames, text, shapes, semantic types)figma.modify(), figma.delete(), figma.append()figma.listComponents(), figma.instantiate(), figma.toComponent(), figma.createVariants()figma.accessibility() - WCAG compliance checking and auto-fixingfigma.createToken(), figma.bindToken(), figma.syncTokens()figma.export() - Export as PNG, SVG, PDF, JPG