qt-figma-component-generation
Installation
SKILL.md
Figma Component Generation Skill
This skill reads component definitions from a Figma file via MCP and generates production-ready QML control files that consume the design-system singletons produced by the token-extraction skill.
Prerequisites
Before generating any components, confirm all of the following exist in the project:
design-tokens.json— the merged token file from the token-extraction skill- QML design system singletons —
Primitives.qml,Theme.qml,Spacing.qml,FontInterface.qmlin adesign-system/folder
If either is missing, stop and run the token-extraction skill first (qt-figma-token-extraction).
Verify Figma MCP is connected — confirm that get_metadata and get_design_context are available in the tool list. If not, tell the user:
"The Figma MCP connector isn't connected yet. Connect it via your MCP configuration, then come back and we can start."
Do not proceed until the connection is confirmed.