build-figma
できること
このスキルは、プロジェクトの既存のコンポーネントとスタイルを使って、Figmaのデザインから画面を作ることをアシスタントに許可します。Figmaのデザインを実装するデザイナーや開発者向けです。
使う場面
- ✓特定のフレームを指すFigmaのリンクを貼り、それを実装してほしいとき。
- ✓Figmaのデザインを、プロジェクト独自のコンポーネントで作りたいとき。
- ✓元のデザインに対して、見た目を視覚的に確認したいとき。
スキルのリンク
https://github.com/cursor/plugins/blob/main/dyl-stack/skills/build-figma/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このFigmaのフレームを私たちのWebアプリで既存のコンポーネントを使って実装して、元のデザインにどれくらい近いかを教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
アシスタントは、接続されたFigmaのツールを通じてFigmaのノードを読み、デザインをプロジェクトのコンポーネントとスタイルに対応させ、インターフェースを構築し、元のデザインに対して視覚的な確認を行います。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Build Figma
Orchestrator for Figma → production UI. It does not replace the skills below. Read each when that phase starts; do not restate them here.
Requires figma (plugin and connected MCP) and cursor-team-kit. Check first with ../dyl-mode/references/requirements.md. Missing → stop and tell the user to run /add-plugin <name>.
Failure modes that shaped the gates: references/failure-lessons.md.
Delegate to (do not copy)
| Phase | Read |
|---|---|
| Figma MCP mechanics | figma-design-to-code from the Figma plugin, before every get_design_context |
| Design-system inventory | references/design-system-discovery.md, then any repo-local design-system skill or rule it finds |
| Visual claim / verdict shape | verify-this from cursor-team-kit + references/visual-judge.md |
| Drive live UI | control-ui from cursor-team-kit, or the repo's own control skill for that surface |
Gates
Build-figma progress:
- [ ] 0. Parse fileKey + nodeId (refuse file-only URLs)
- [ ] 1. Intake done before any product UI edit (see below)
- [ ] 2. Mapped to the repo's primitives/tokens only
- [ ] 3. Styling in the surface's own styling system
- [ ] 4. Visual judge VERIFIED per visual-judge.md (verify-this claim shape)
Gate 1 blocks coding. "Functional first, polish visuals later" is the main failure mode.
Workflow (thin)
0. Parse URL
figma.com/design/:fileKey/...?node-id=1-2 → fileKey, nodeId (1-2 → 1:2). Branch URLs use branchKey as fileKey. No node-id → stop.
1. Intake (blocking)
Follow figma-design-to-code. Call get_design_context and get_screenshot. If the response is sparse or too large, split to implementable child nodes. Download brand assets from MCP URLs; never redraw logos.
Run design-system discovery. Then write /tmp/build-figma/<slug>/intake.md:
- Target surface, code path, and how you will drive it live.
- Node tree.
- Metric table. Figma px → token, or pinned value when no token matches.
- Node → primitive map. Each Figma node to an existing component. Mark any node with no match as new, with why.
2. Implement
Use the surface's styling system and the mapped components. When Figma px disagree with a primitive's default size, pin the Figma metric in that styling system. Do not bend the primitive's defaults globally. Hard bans below.
3. Visual judge (blocking)
Specialize verify-this with references/visual-judge.md. Treat the Figma shot as baseline and the live capture as treatment. Match theme polarity first, then apply the rubric and write the verdict. After NOT VERIFIED, fix the failed rows, recapture, and apply the rubric again. Repeat until VERIFIED or INCONCLUSIVE. Stop and report the blocker after INCONCLUSIVE; do not claim Gate 4 complete.
4. Report
Intake path, map highlights, verdict + evidence paths, remaining gaps.
Hard bans
- Paste Figma MCP Tailwind/React as product code.
- Invent brand assets when Figma or the repo has them.
- "Close enough" primitive for a distinct Figma structure.
- Trust text/button/dialog size tokens without checking Figma px.
- Claim visual done without the judge.
- Edit product UI before
intake.mdexists.
よくある質問
特定のフレームへのリンクが必要ですか?
はい。ノードIDを含むFigmaのリンクが必要で、ファイル全体へのリンクは受け付けません。
どのツールを設定しておく必要がありますか?
接続されたツールを持つFigmaのプラグインと、チームのキットのプラグインが利用可能である必要があります。
FigmaのTailwindのコードを貼り付けますか?
いいえ。Figmaが生成したTailwindのコードは貼り付けず、プロジェクト独自の基本部品を使うようスキルは指示します。
詳細
作者による元の説明
Use for \"/build-figma\", a figma.com/design URL with node-id, or \"implement this Figma\" into a web, desktop, or shared UI. Orchestrates Figma MCP intake, maps nodes to the repo's own design system, then a verify-this visual judge. Do not paste Figma Tailwind.
repo: cursor/plugins
人気
- GitHubのスター
- 15k
- ランキング
- #10948
- ライセンス
- —
- 更新日
- 2026/10/31
コメント
- …
このリポジトリの他のスキル
advisor
15k重要な判断の前や、エラーで行き詰まったときなど、要所でより強力な第二のモデルに相談させます。機能をオンにしている場合のみ動きます。
check-agent-compatibility
15kAIコーディングエージェントがリポジトリを起動し、検証し、文書化できるかを包括的に確認し、主な問題とともに1つの互換性スコアを返します。
cli-for-agents
15kAIエージェントがプロンプトなしで実行でき、わかりやすいヘルプ文と例を備えるように、コマンドラインツールを設計または確認する方法をエージェントに教えます。
continual-learning
15k過去のチャットを確認する作業を専用のメモリ更新エージェントに任せることで、AGENTS.mdのメモを最新に保ちます。
似ているスキル
canvas
394k接続されたMacのパネルにホスト型のビジュアルウィジェットを表示し、そのパネルを隠したり別のページに移動したりするようエージェントを支援します。
control-ui
394kセッション、ダッシュボード、接続されたGatewayを含め、OpenClaw Control UIを整理し、問題を解決するようエージェントを支援します。
diagram-maker
394kプロセス、システムのアーキテクチャ、ホワイトボードのスケッチのために、SVG、HTML、または編集可能なExcalidrawとして、分かりやすい図を作るようエージェントを支援します。