compress_figma_json
Converts raw Figma JSON AST into compact YAML or Markdown specs with Tailwind classes and token metrics, reducing context size for AI agents.
Instructions
Compress raw Figma JSON AST into compact agent-ready YAML or Markdown specification with Tailwind classes and token metrics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format: 'yaml' for structured spec, 'markdown' for full prompt instructions | yaml |
| rawJson | Yes | Raw Figma JSON AST string from Figma REST API or plugin |