qt-figma-token-extraction

Extract Figma design tokens and generate QML singleton files for Qt 6 projects.

351|38|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/TheQtCompanyRnD/agent-skills --skill qt-figma-token-extraction
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qt-figma-token-extraction
Source: https://github.com/TheQtCompanyRnD/agent-skills/tree/main/skills/qt-figma-token-extraction
Command: npx skills add https://github.com/TheQtCompanyRnD/agent-skills --skill qt-figma-token-extraction

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires figma-mcp, rest-api, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the process of extracting design tokens and text styles from a Figma design system and generates production-ready QML singleton files for a Qt 6 project, reducing manual design system integration efforts.

Core Features & Use Cases

  • Figma Token Extraction: Reads color variables, spacing, typography, radii, and shadows from a Figma file using MCP or REST API.
  • QML Singleton Generation: Maps Figma tokens to QML property types and generates four QML singleton files for a Qt 6 project.
  • Use Case: Use this Skill to easily integrate design tokens from a Figma design system into your Qt project, ensuring consistency across your application.

Quick Start

Run the 'qt-figma-token-extraction' skill to extract tokens from the Figma file and generate the QML singletons for your Qt 6 project.

Frequently Asked Questions about qt-figma-token-extraction

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract design tokens from Figma and use them in Qt 6?

To extract design tokens from Figma and use them in Qt 6, this Skill reads color variables, spacing, typography, radii, and shadows from your Figma file and generates production-ready QML singleton files.

What is the best way to generate QML singletons from a Figma design system?

The best way to generate QML singletons from a Figma design system is using an automated extraction process that maps Figma tokens directly to QML property types, ensuring application consistency without manual integration efforts.

Do I need a Figma MCP or REST API to extract tokens for QML?

Yes, you need either a Figma MCP or REST API to extract tokens for QML. The Skill utilizes one of these connection methods to access your Figma file and read the required design variables and text styles.

Can I use this to map Figma typography and spacing to QML property types?

Yes, you can use this to map Figma typography and spacing to QML property types. It automatically translates extracted design tokens and text styles into four QML singleton files for your Qt 6 project.

What Figma data is required to generate QML singletons for a Qt project?

Generating QML singletons for a Qt project requires access to a Figma file containing defined design tokens and text styles, alongside a connected Qt 6 project to receive the four generated singleton files.

Does extracting Figma design tokens into QML require a connected Qt 6 project?

Yes, extracting Figma design tokens into QML requires a connected Qt 6 project. The Skill outputs four QML singleton files that must be integrated into an active Qt 6 environment to function correctly.