Select a component in Figma and use these prompts to have Cursor generate detailed documentation for it.
Copy
Ask AI
From the selected Figma component, generate a complete specification document in Markdown. Include:- An overview of the component's purpose.- A table of all its properties, variants, and their possible values.- A list of all design tokens used.- Accessibility notes, including required ARIA roles and keyboard navigation.
Copy
Ask AI
Based on the selected component, create a "Dos and Don'ts" guide for its usage. Provide visual examples or descriptions for each point to ensure clarity.
Copy
Ask AI
For the selected component, describe all its interactive states (hover, focus, active, disabled) and any animations or transitions involved.
Use these prompts to document broader aspects of your design system, not just individual components.
Copy
Ask AI
Analyze all the color styles in this Figma file and generate a documentation page for our color system. Group the colors by function (e.g., primary, secondary, accent, feedback) and provide swatches and token names for each.
Copy
Ask AI
Generate a Markdown document that outlines the typography scale used in this Figma file. For each text style, include the font family, size, weight, line height, and its intended use (e.g., H1, body, caption).
Copy
Ask AI
Based on the layouts in this Figma file, create a guide for our spacing system. Identify the common spacing values and create a visual reference for how they are used in grids and between components.
Use these prompts to keep your documentation up-to-date as your designs evolve.
Copy
Ask AI
I've made updates to the selected component. Compare it to the previous version and generate a changelog entry that summarizes the changes.
Copy
Ask AI
I've updated the selected component in Figma. Please find the corresponding documentation file in this project and update it to reflect the new properties and variants.