
Qt Figma Component Generation
If you're building a Qt app from a Figma design system, this bridges the gap between design tokens and actual QML controls. It assumes you've already extracted tokens (via the companion skill) and have your design system singletons in place. Then it uses Figma MCP to read component definitions one by one and writes production QML files that map variants, states, and sizing to Qt Quick Controls 2 patterns. You pick between inline (everything in one file) or style singleton (split logic and styling) before it generates anything. The skill bundles reference implementations for buttons, text fields, checkboxes, and more, so the output follows idiomatic Qt 6 structure instead of generic component soup. It's process heavy but handles the tedious state mapping work.
- skills.sh installs
- 506
- GitHub stars
- 534
- last updated
- Jun 10, 2026
Install
$ npx -y skills add theqtcompanyrnd/agent-skills --skill qt-figma-component-generation --agent claude-codeInstalls into .claude/skills of the current project.
Files
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.
Step 1 — Component Discovery
Use get_metadata to fetch the file structure and identify which pages and frames contain components:
Tool: get_metadata
Input: { "fileKey": "<file key>" }
Sponsors
Details
- Repository
- github.com/theqtcompanyrnd/agent-skills
- Categories
- Frontend Development, AI & Agent Building, Design & UI/UX
- First seen
- Jun 11, 2026