Responsive specs & accessibility generator

AI-DRIVEN

DOCUMENTATION

DESIGN SYSTEMS

sobre_

MY ROLE

LÍDER DE DESIGN

TIMELINE

2 MONTHS

SKILLS/TOOLS

FIGMA MAKE, DESIGN-ORIENTED PROMPT, PROTOTYPING, DESIGN SYSTEMS, DOCUMENTATION

TYPE

INTERNAL TOOL USED ON REGULAR BASIS

01 _ contexto
A week lost to the same problem in every sprint

Redesigning the POS system required documenting the responsive behavior and accessibility requirements of every component before the development handoff.

Manually calculating viewport units, checking color contrast, and formatting specifications for developers was a repetitive task that resurfaced every sprint for each new or updated component.

On large projects, this step alone consumed nearly a full week of the design team's time. A week spent on documentation while the sprint waited.

~1 week

Documentation time per major delivery (before the tool)

Every sprint

How often the problem reoccurred

Internal use

Internal use

A tool built by the team, for the team experiencing the problem.

02 _ the problem
Manual, repetitive, and prone to human error.

The documentation workflow involved:

  1. Opening the frame in Figma manually

  2. Recording every width, height, padding, spacing, and icon size

  3. Manually converting values into viewport units (vw/vh) and rem

  4. Checking the contrast ratio for every foreground/background color pair using external tools

  5. Formatting all of this into documentation that developers could easily understand

Even native Figma plugins were tested, but none solved the problem end to end. When a developer needed to verify a specific component value, updating the documentation, validating the information, and confirming the correct value could take up to an hour.

The entire process was repetitive, making it inherently prone to mistakes. A single incorrect calculation at the beginning of a sprint could easily turn into rework by the end of it.

How might we eliminate manual documentation time without sacrificing accuracy and do it directly within Figma, without disrupting the team's existing workflow?
03 _ proccess
The solution was the API.
The challenge was the prompt.

The idea emerged after realizing that all the necessary information already existed in Figma. The real problem was extracting, calculating, and formatting that data.

The approach was to build an automation layer with Figma Make that connected directly to the Figma API, extracting layout data from a selected frame and automatically applying viewport calculations and color contrast validation.

It's worth noting that this project began well before MCPs (Model Context Protocol servers) became widely available in today's leading AI agents. A fast, practical solution was needed, and Figma already provided the connectors required to build it.

The biggest challenge, however, was writing design-oriented prompts that could guide the tool to understand not only the component values but also the design logic behind them. The goal wasn't simply to generate documentation, it was to make the tool document and reason like a designer.

01

Diagnosis

Mapped the manual documentation workflow to identify where time was being lost and where errors occurred most frequently.

02

Exploration

Evaluated native Figma plugins, but ruled them out because they did not cover the full scope of the problem.

03

Prototyping

Built the first version using Figma Make and the Figma API to extract layout data and automate viewport calculations.

04

Refinement

Iterated on design-oriented prompts to produce documentation that was accurate, structured, and easy for developers to consume.

05

Adoption

Integrated the tool into the team's recurring workflow, where it became part of every sprint delivery.

04 _ solução
Select the frame. Run the tool. Documentation ready.

The generator acts as a translation layer between design and development, automating repetitive work so designers can spend more time on what truly matters: creating.

Reads directly from Figma

Connected to the Figma API, the tool automatically extracts width, height, padding, spacing, and icon sizes from the selected frame, eliminating the need for designers to copy values manually.

Checks color contrast automatically

Retrieves the applied color tokens and evaluates contrast ratios between foreground and background elements, flagging whether they meet accessibility standards.

Calculates vw, vh, and rem

Automatically converts absolute dimensions into viewport (vw/vh) and rem units, ensuring layouts scale correctly across different screen sizes and zoom levels.

Generates developer-ready documentation

Outputs formatted documentation as text, a prompt, or a Figma frame, ready to paste into documentation, share with engineers, or use in AI-powered FigJam workflows.

Reads directly from Figma

Connected to the Figma API, the tool automatically extracts width, height, padding, spacing, and icon sizes from the selected frame, eliminating the need for designers to copy values manually.

Calculates vw, vh, and rem

Automatically converts absolute dimensions into viewport (vw/vh) and rem units, ensuring layouts scale correctly across different screen sizes and zoom levels.

Checks color contrast automatically

Retrieves the applied color tokens and evaluates contrast ratios between foreground and background elements, flagging whether they meet accessibility standards.

Generates developer-ready documentation

Outputs formatted documentation as text, a prompt, or a Figma frame, ready to paste into documentation, share with engineers, or use in AI-powered FigJam workflows.

Tool in action: extraction, calculation, and documentation output in under 5 minutes.

05 _ result
From one week to two days. From one hour to five minutes.

The tool was integrated into the team’s recurring workflow and has been actively used in every sprint since then.

The impact was felt not only in delivery speed, but also in the team’s overall capacity. Instead of getting stuck in documentation work, the design team was able to deliver both projects and their supporting documentation within the same sprint cycle.

BEFORE

Complete documentation per major delivery: ~1 week

Single component verification: ~1 hour

Process: manual, linear, and dependent on continuous attention

Risk: human error in repetitive calculations

Sprint impact: recurring delivery delays

AFTER

Complete documentation per major delivery: 2 days

Complete documentation per major delivery: 2 days

Complete documentation per major delivery: 2 days

Single component verification: less than 5 minutes

Single component verification: less than 5 minutes

Single component verification: less than 5 minutes

Process: automated, repeatable, and auditable

Process: automated, repeatable, and auditable

Process: automated, repeatable, and auditable

Risk: eliminated for viewport calculations and contrast validation

Risk: eliminated for viewport calculations and contrast validation

Risk: eliminated for viewport calculations and contrast validation

Sprint impact: deliveries completed within the sprint cycle

Sprint impact: deliveries completed within the sprint cycle

Sprint impact: deliveries completed within the sprint cycle

5× faster

complete documentation per major delivery (1 week → 2 days)

12× faster

for single-component verification (1 hour → 5 minutes)

0 external plugins

0 external plugins

Everything runs within the Figma ecosystem.