Skip to content
Skillv1.0.0

figma-pilot

REQUIRED reading before using figma_execute. Contains API syntax, parameter formats, and examples. READ rules/*.md files for correct usage.

by youware-labs(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from youware-labs/figma-pilot (skills/SKILL.md). Install upstream with npx skills add youware-labs/figma-pilot --skill skills. Copyright stays with the author.

When to use

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.

Code Execution Mode

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.

Available Tools

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

Quick Example

// 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`);

Benefits

  • 90%+ fewer tokens - 3 tools instead of 15+
  • Batch operations - Modify many elements in one call
  • Data filtering - Filter results before returning to context
  • Complex workflows - Loops, conditionals, error handling

API Reference

Read individual rule files for detailed API documentation:

Getting Started

Core APIs

Creating Elements

Modifying Elements

Styling

Text

Components

  • rules/components.md - figma.listComponents(), figma.instantiate(), figma.toComponent(), figma.createVariants()

Accessibility

Design Tokens

  • rules/tokens.md - figma.createToken(), figma.bindToken(), figma.syncTokens()

Export

Common Patterns

Reference

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/youware-labs-figma-pilot-skills/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

youware-labs-figma-pilot-skills.ocm.jsonjson
{
  "ocm": "1",
  "id": "youware-labs-figma-pilot-skills",
  "kind": "skill",
  "name": "figma-pilot",
  "description": "REQUIRED reading before using figma_execute. Contains API syntax, parameter formats, and examples. READ rules/*.md files for correct usage.",
  "publisher": "youware-labs",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "figma",
      "mcp",
      "design",
      "ai",
      "components",
      "accessibility",
      "tokens",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "REQUIRED reading before using figma_execute. Contains API syntax, parameter formats, and examples. READ rules/*.md files for correct usage."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/youware-labs/figma-pilot",
      "path": "skills/SKILL.md",
      "ref": "0aa745d1621f8dd88bf7b324a11acb541f422de9",
      "url": "https://github.com/youware-labs/figma-pilot/blob/0aa745d1621f8dd88bf7b324a11acb541f422de9/skills/SKILL.md",
      "key": "youware-labs/figma-pilot/skills/SKILL.md"
    }
  },
  "instructions": "## When to use\n\n**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.\n\nUse this skill whenever you are working with figma-pilot MCP tools to create or modify Figma designs.\n\n## Code Execution Mode\n\nfigma-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.\n\n### Available Tools\n\n| Tool | Description |\n|------|-------------|\n| `f",
  "cost": {
    "context_tokens": 913
  }
}

Fetch it by URL: GET /api/v1/registry/youware-labs-figma-pilot-skills/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.