I created a Claude Code slash command that automates the entire design-to-code consistency check.
You point it at a Figma file and a codebase, and it audits six categories of inconsistencies (missing components, spacing, typography, colors, borders, and token usage), generates a visual HTML report with Figma screenshots and code snippets side by side, then writes annotations directly into the code files and posts comments on the relevant nodes in Figma.