Figma to Spec
sdd_figma_to_specExtract design context from Figma and generate a requirements specification. Provides routing instructions for AI client to call Figma MCP's design context tool.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"figma_file_key": "<figma_file_key>",
"project_name": "<project_name>"
},
"name": "sdd_figma_to_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Overwrite existing files if true | |
| spec_dir | No | Spec directory path (relative to workspace root) | .specs |
| project_name | Yes | Kebab-case project name for the generated spec. | |
| figma_node_id | No | Specific Figma node ID to extract. If omitted, extracts entire file. | |
| figma_file_key | Yes | Figma file key extracted from the Figma URL. |