| ▲ | Show HN: Figma-use – CLI to control Figma for AI agents(github.com) | |||||||||||||||||||||||||
| 45 points by dannote 12 hours ago | 20 comments | ||||||||||||||||||||||||||
I'm Dan, and I built a CLI that lets AI agents design in Figma. What it does: 100 commands to create shapes, text, frames, components, modify styles, export assets. JSX importing that's ~100x faster than any plugin API import. Works with any LLM coding assistant. Why I built it: The official Figma MCP server can only read files. I wanted AI to actually design — create buttons, build layouts, generate entire component systems. Existing solutions were either read-only or required verbose JSON schemas that burn through tokens. Demo (45 sec): https://youtu.be/9eSYVZRle7o Tech stack: Bun + Citty for CLI, Elysia WebSocket proxy, Figma plugin. The render command connects to Figma's internal multiplayer protocol via Chrome DevTools for extra performance when dealing with large groups of objects. Try it: bun install -g @dannote/figma-use Looking for feedback on CLI ergonomics, missing commands, and whether the JSX syntax feels natural. | ||||||||||||||||||||||||||
| ▲ | Asciilotle 24 minutes ago | parent | next [-] | |||||||||||||||||||||||||
Nice use case! I built something along similar lines.. an ASCII wireframe generator to jump straight from idea to code with zero friction: https://bareminimum.design/. Also handy for quick UI critiques. Curious what you think. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | pglevy 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
I'm curious to understand more about your use case. I've been working on getting fellow designers out of Figma since it's easier to express intent in code now using LLMs. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | VladVladikoff 4 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
Can it make a SVG of a pelican riding a bicycle? | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | falloutx 4 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
I like how MCP is not shoved into our face anymore after people realised more mcp servers eat into context and agents can easily use CLI tools. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | james_marks an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||
Nice work! How does it do applying styles from an existing codebase? We have style guides, strong base css, etc. If that was represented when it built in Figma, that could be interesting. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | eddywebs 4 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
I can attest that ai agent executing cli binaries is better than use of an mcp, just because of the limitations of mcp, also figma mcp requires a pro license. Does the figma cli require a pro license as well ? | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | preommr 2 hours ago | parent | prev [-] | |||||||||||||||||||||||||
Any thoughts on why Citty, or if there's any other cli tools you might recommend? | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||