Skip to content

Quick Start

Start with schema discovery, validate before writing, run the batch, then audit and export.

Terminal window
ahd-figma schema text.create --json
ahd-figma schema layout.pricing_grid --json
Terminal window
ahd-figma validate docs/examples/live-acceptance-full-parity.json
Terminal window
ahd-figma batch docs/examples/live-acceptance-full-parity.json

Batch payloads may be a plain array or an object with an operations array.

Terminal window
ahd-figma command document.accessibility_audit \
'{"file":"docs/examples/live-acceptance-full-parity.json"}'

The audit checks contrast, line height, target size, non-text contrast, semantic names, color-only communication, and focus ambiguity.

Terminal window
ahd-figma command export.image '{"nodeId":"FRAME_ID","scale":2}'

For very large frames, use scale: 1 to avoid oversized exports.