A CLI tool that uses AI to generate design rules and documentation from your Figma files. It analyzes your Figma designs and automatically extracts design tokens, components, and layout information into a structured format.
After generating your .designrules file, you can use it with AI-powered IDEs to automatically generate code and configurations:
In essence, fig4ai transforms your Figma file into a structured AI context, making your design system programmatically accessible to AI tools.
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.