Communitygithub.com

Figma MCP 落地页图片修图

使用 Figma MCP 服务器获取设计上下文、截图、变量和资源,并将 Figma 节点转换为生产代码。适用于涉及 Figma URL、节点 ID、设计到代码实现或 Figma MCP 设置与故障排除的任务。

Figma MCP 落地页图片修图 是什么?

此技能整合了 Figma MCP 服务器,用于高效地将 Figma 设计转换为功能代码。它强制要求按流程操作:首先使用 `get_design_context` 获取节点结构化表示,必要时用 `get_metadata` 获取高级节点映射,再使用 `get_screenshot` 进行视觉参考,然后下载资源并实现。输出通常为 React + Tailwind 格式,但需要适配项目约定(如颜色令牌、组件、排版),并追求与 Figma 设计 1:1 的视觉一致。该技能支持 Figma MCP 的资产端点,可将本地资源直接用于图像和 SVG,避免添加额外的图标包。它适用于需要 Figma 驱动的实现任务,包括落地页照片修饰、组件开发或完整页面构建。

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

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Figma MCP

使用 Figma MCP 服务器进行 Figma 驱动的实现。有关设置和调试细节(环境变量、配置、验证),请参阅 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 的视觉一致性。当发生冲突时,优先使用设计系统令牌,并最小限度地调整间距或大小以匹配视觉效果。
  • 对照 Figma 截图验证最终 UI 的外观和行为。

资源处理

  • Figma MCP 服务器提供一个资源端点,可以提供图像和 SVG 资源。
  • 重要提示:如果 Figma MCP 服务器返回本地主机来源的图像或 SVG,请直接使用该图像或 SVG 来源。
  • 重要提示:不要导入/添加新的图标包,所有资源应在 Figma 有效负载中。
  • 重要提示:如果提供了本地主机来源,不要使用或创建占位符。

基于链接的提示

  • 该服务器基于链接:复制 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.

相关技能