agent-figma
Installation
SKILL.md
agent-figma
Read-only Figma CLI. NDJSON on stdout (records, then @-prefixed meta lines);
--format json|yaml wraps the same output in one object (data plus the
@ keys). Errors are one JSON object on stderr with a non-zero exit:
{"error","fixable_by":"agent|human|retry","hint"?,"retry_after_seconds"?}.
agent → fix the input and re-run; human → a person must act (token,
seat, plan, access); retry → wait retry_after_seconds, then re-run.
Non-fatal {"notice","hint"} lines on stderr are not failures.
<ref> is any figma.com link (/design/, /file/, /proto/, /board/,
/branch/ …) or a bare file key. The link's node-id becomes --node.
Node ids take 1:2 or 1-2, and instance chains like I2:11;1:14. Quote
links: & in a URL breaks the shell.