theqtcompanyrnd avatar

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-code

Installs 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:

  1. design-tokens.json — the merged token file from the token-extraction skill
  2. QML design system singletons — Primitives.qml, Theme.qml, Spacing.qml, FontInterface.qml in a design-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

More from theqtcompanyrnd/agent-skills

All 11
1parcadei avatardebug-hooksparcadei/continuous-claude-v3Systematic hook debugging workflow. Use when hooks aren't firing, producing wrong output, or behaving unexpectedly.501skills.sh installs
22ykwang avatarhtml-visual2ykwang/agent-skillsGenerate an interactive single-file HTML visualization — mockup, wireframe, ERD, flowchart, chart, slides, architecture diagram, dashboard, timeline, mindmap, k500skills.sh installs
3secondsky avatarreact-native-skillssecondsky/claude-skillsReact Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing a490skills.sh installs
4aj-geddes avatarangular-module-designaj-geddes/useful-ai-promptsDesign Angular modules using feature modules, lazy loading, and dependency injection. Use when organizing large Angular applications with proper separation of c469skills.sh installs
5davila7 avatarreact-useeffectdavila7/claude-code-templatesReact useEffect best practices from official docs. Use when writing/reviewing useEffect, useState for derived values, data fetching, or state synchronization. T454skills.sh installs
6aj-geddes avatargit-hooks-setupaj-geddes/useful-ai-promptsImplement Git hooks using Husky, pre-commit, and custom scripts. Enforce code quality, linting, and testing before commits and pushes.450skills.sh installs