Communitygithub.com

Figma MCP によるランディングページ写真レタッチ

Figma MCP サーバーを使用して、Figma からデザインコンテキスト、スクリーンショット、変数、アセットを取得し、Figma ノードをプロダクションコードに変換します。Figma URL、ノード ID、デザイン to コードの実装、または Figma MCP のセットアップとトラブルシューティングを含むタスクで起動します。

Figma MCP によるランディングページ写真レタッチ とは?

このスキルは、Figma MCP サーバーを活用し、Figma のデザインデータをプロダクションコード(React + Tailwind)に変換するための、ステップバイステップのワークフローを提供します。まず `get_design_context` でノードの構造化データを取得し、必要に応じて `get_metadata` でノードマップを参照、`get_screenshot` で視覚的な確認を行います。その後、Figma のアセットエンドポイントから画像や SVG を直接取得し、プロジェクト固有のカラートークン、コンポーネント、タイポグラフィに変換しながら実装します。本スキルは主に Claude Code や Cursor などの Figma MCP に対応した AI エージェント向けで、Figma のリンクベースのプロンプト方式を採用しており、リンクからノード ID を抽出して正確な実装を支援します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/tmnhutwork/Landingpage-Photo-Retouch/tree/HEAD/.agents/skills/figma

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Figma MCP

Figma 駆動の実装には Figma MCP サーバーを使用します。セットアップとデバッグの詳細(環境変数、設定、確認)については、references/figma-mcp-config.md を参照してください。

Figma MCP 統合ルール

これらのルールは、Figma の入力をこのプロジェクトのコードに変換する方法を定義し、Figma 駆動のすべての変更に対して従う必要があります。

必須フロー(省略不可)

  1. 最初に get_design_context を実行し、対象のノードの構造化表現を取得します。
  2. レスポンスが大きすぎたり切り詰められたりした場合は、get_metadata を実行して高レベルのノードマップを取得し、その後、必要なノードのみを get_design_context で再取得します。
  3. 実装するノードバリアントの視覚的参照として、get_screenshot を実行します。
  4. get_design_context と get_screenshot の両方を取得した後にのみ、必要なアセットをダウンロードし、実装を開始します。
  5. 出力(通常は React + Tailwind)を、このプロジェクトの規約、スタイル、フレームワークに変換します。可能な限り、プロジェクトのカラートークン、コンポーネント、タイポグラフィを再利用します。
  6. 完了とマークする前に、Figma に対して 1:1 の見た目と振る舞いを検証します。

実装ルール

  • Figma MCP の出力(React + Tailwind)は、最終的なコードスタイルではなく、デザインと振る舞いの表現として扱います。
  • Tailwind のユーティリティクラスは、該当する場合はプロジェクトのユーティリティ/デザインシステムトークンに置き換えます。
  • 機能を重複させる代わりに、既存のコンポーネント(例:ボタン、入力フィールド、タイポグラフィ、アイコンラッパー)を再利用します。
  • プロジェクトのカラーシステム、タイポグラフィスケール、スペーシングトークンを一貫して使用します。
  • リポジトリで既に採用されている既存のルーティング、状態管理、データフェッチパターンを尊重します。
  • Figma デザインとの 1:1 の視覚的パリティを目指します。競合が発生した場合は、デザインシステムトークンを優先し、スペーシングやサイズを最小限に調整してビジュアルに合わせます。
  • 最終的な UI を Figma のスクリーンショットと照らし合わせて、見た目と振る舞いの両方を検証します。

アセットの取り扱い

  • Figma MCP サーバーは、画像アセットと SVG アセットを提供する assets エンドポイントを提供します。
  • 重要: Figma MCP サーバーが画像または SVG のソースとして localhost を返した場合は、その画像または SVG ソースを直接使用します。
  • 重要: 新しいアイコンパッケージをインポート/追加しないでください。すべてのアセットは Figma ペイロードに含まれている必要があります。
  • 重要: localhost ソースが提供されている場合は、プレースホルダーを使用したり作成したりしないでください。

リンクベースのプロンプト

  • サーバーはリンクベースです。Figma のフレーム/レイヤーリンクをコピーし、実装のヘルプを依頼するときにその URL を MCP クライアントに渡します。
  • クライアントは URL を閲覧できませんが、リンクからノード ID を抽出します。リンクが常に目的のノード/バリアントを指していることを確認してください。

参考文献

  • references/figma-mcp-config.md — セットアップ、検証、トラブルシューティング、およびリンクベースの使用に関する注意事項。
  • references/figma-tools-and-prompts.md — フレームワーク/コンポーネントの選択とメタデータ取得のためのツールカタログとプロンプトパターン。

Individual skills in this repo

This repo contains 15 individual skills — each has its own dedicated page.

tmnhutwork/Landingpage-Photo-Retouch

Run a WCAG 2.1 AA accessibility audit on a design or page. Trigger with "audit accessibility", "check a11y", "is this accessible?", or when reviewing a design for color contrast, keyboard navigation, touch target size, or screen reader behavior before handoff.

tmnhutwork/Landingpage-Photo-Retouch

Get structured design feedback on usability, hierarchy, and consistency. Trigger with "review this design", "critique this mockup", "what do you think of this screen?", or when sharing a Figma link or screenshot for feedback at any stage from exploration to final polish.

tmnhutwork/Landingpage-Photo-Retouch

Generate developer handoff specs from a design. Use when a design is ready for engineering and needs a spec sheet covering layout, design tokens, component props, interaction states, responsive breakpoints, edge cases, and animation details.

tmnhutwork/Landingpage-Photo-Retouch

Audit, document, or extend your design system. Use when checking for naming inconsistencies or hardcoded values across components, writing documentation for a component's variants, states, and accessibility notes, or designing a new pattern that fits the existing system.

tmnhutwork/Landingpage-Photo-Retouch

Synthesize user research into themes, insights, and recommendations. Use when you have interview transcripts, survey results, usability test notes, support tickets, or NPS responses that need to be distilled into patterns, user segments, and prioritized next steps.

tmnhutwork/Landingpage-Photo-Retouch

Plan, conduct, and synthesize user research. Trigger with "user research plan", "interview guide", "usability test", "survey design", "research questions", or when the user needs help with any aspect of understanding their users through research.

tmnhutwork/Landingpage-Photo-Retouch

Write or review UX copy — microcopy, error messages, empty states, CTAs. Trigger with "write copy for", "what should this button say?", "review this error message", or when naming a CTA, wording a confirmation dialog, filling an empty state, or writing onboarding text.

tmnhutwork/Landingpage-Photo-Retouch

Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter/X, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills.

tmnhutwork/Landingpage-Photo-Retouch

Brand voice, visual identity, messaging frameworks, asset management, brand consistency. Activate for branded content, tone of voice, marketing assets, brand compliance, style guides.

tmnhutwork/Landingpage-Photo-Retouch

Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG, Gemini 3.1 Pro), social photos (HTML→screenshot, multi-platform). Actions: design logo, create CIP, generate mockups, build slides, design banner, generate icon, create social photos, social media images, brand identity, design system. Platforms: Facebook, Twitter, LinkedIn, YouTube, Instagram, Pinterest, TikTok, Threads, Google Ads.

tmnhutwork/Landingpage-Photo-Retouch

Audit, document, or extend your design system. Use when checking for naming inconsistencies or hardcoded values across components, writing documentation for a component's variants, states, and accessibility notes, or designing a new pattern that fits the existing system.

tmnhutwork/Landingpage-Photo-Retouch

Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions "implement design", "generate code", "implement component", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via `use_figma`, use `figma-use`.

tmnhutwork/Landingpage-Photo-Retouch

Create strategic HTML presentations with Chart.js, design tokens, responsive layouts, copywriting formulas, and contextual slide strategies.

tmnhutwork/Landingpage-Photo-Retouch

Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.

tmnhutwork/Landingpage-Photo-Retouch

UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation. Searchable local data: 79 searchable styles (50 active), 192 product palettes and reasoning profiles, 74 font pairings, 119 UX guidelines, 105 icons, 17 GSAP presets, 25 chart types, and 22 stacks.

関連スキル