Figma to Spec
sdd_figma_to_specPrepares a structured payload to extract design context from a Figma file, enabling AI clients to generate specifications using Figma MCP calls.
Instructions
Prepares a structured payload for extracting design context from a Figma file. The AI client should use the returned routing_instructions to call Figma MCP's get_design_context tool with the provided file key and node ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| figma_file_key | Yes | Figma file key extracted from the Figma URL. | |
| figma_node_id | No | Specific Figma node ID to extract. If omitted, extracts entire file. | |
| project_name | Yes | Kebab-case project name for the generated spec. | |
| spec_dir | No | Spec directory path (relative to workspace root) | .specs |
| force | No | Overwrite existing files if true |