HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/.codex/.tmp/plugins/plugins/figma/commands/connect-figma-components.md
# /connect-figma-components

Create or update parserless Figma Code Connect template files for components.

## Arguments

- `figma_url`: Figma URL with `node-id` (required unless using `figma-desktop` selection)
- `component_path`: optional local component path if already known

## Workflow

1. Fetch metadata and identify component nodes.
2. Check existing Code Connect templates or mappings.
3. For unmapped components, inspect the codebase for candidate implementations.
4. Present matches and create `.figma.js` templates after confirmation when needed.
5. Summarize created/skipped/unresolved components.

## Escalation

Delegate to `figma-code-connect-agent` when mapping many components in one pass.