Ditching Manual Mapping: AST & MCP for High-Fidelity Figma-to-Code

WithBands · reddit · 2026-08-10

The author shares their team's Figma-to-frontend code pipeline, moving away from Figma Code Connect's manual mapping in favor of AST (Abstract Syntax Tree) auto-extraction for component library features.

Workflow Design

Results & Questions

In a small A/B test (20 runs), this approach outperformed using Figma MCP alone for system consistency. The author asks the community if AST auto-extraction can fully replace manual mapping and how to optimize screenshot diffs for font-rendering noise.

Original post →

More from coding & agent

coding & agent channel →