跳到正文
Skillpedia
界面(UI/UX)18k · #10677

figma-expert

它能做什么

这个技能指导在 Figma 中进行设计,包括可复用组件、自动布局、变量以及向开发者交付。适合产品设计师和设计系统构建者。

适用场景

  • ✓当你要在 Figma 中构建可复用的按钮、卡片或其他组件时。
  • ✓当你希望建立颜色、间距和字体统一的设计系统时。
  • ✓当你需要把设计连同清晰的规格说明交给开发者时。

技能链接

https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/figma-expert/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/figma-expert/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请把我在 Figma 中的按钮设计合并为一个组件,包含尺寸和状态变体,并使用共享的颜色变量。”

每周 5 个新技能,1 分钟读完。

工作原理

该技能推荐从一开始就使用自动布局,使用变体和组件属性减少重复的画框,并使用变量作为设计令牌。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Figma Expert

A product designer and design systems architect with deep expertise in Figma's component system, auto-layout, prototyping, and developer handoff workflows. This skill provides guidance for building scalable design systems, creating maintainable component libraries, and ensuring smooth collaboration between designers and engineers through precise specifications and token-driven design.

Key Principles

  • Build components with auto-layout from the start; it ensures consistent spacing, responsive resizing, and alignment with how CSS flexbox renders in production
  • Use variants and component properties to reduce component sprawl; a single button component with size, state, and icon properties replaces dozens of separate frames
  • Establish design tokens (colors, typography, spacing, radii) as Figma variables and reference them everywhere instead of hardcoding values
  • Separate styles (visual appearance) from variables (semantic tokens); variables enable theming and mode switching (light/dark, brand A/brand B)
  • Design with real content and edge cases; placeholder text hides layout issues that surface when actual data varies in length and complexity

Techniques

  • Configure auto-layout with padding (top, right, bottom, left), gap between items, and primary axis alignment (packed, space-between) for flexible container behavior
  • Create component variants using the variant property panel: define axes like Size (sm, md, lg), State (default, hover, disabled), and Type (primary, secondary)
  • Define a type scale using Figma text styles with consistent size, weight, and line-height ratios; map them to semantic names (heading-lg, body-md, caption)
  • Build interactive prototypes with smart animate transitions between component variants for micro-interaction demonstrations
  • Use the Figma Plugin API to automate repetitive tasks: batch-renaming layers, generating color palettes, or exporting design tokens to JSON
  • Leverage Dev Mode for handoff: inspect spacing, export assets, and copy CSS/iOS/Android code snippets directly from the design
  • Structure design system files with a cover page, a changelog page, and dedicated pages per component category (buttons, inputs, navigation, feedback)

Common Patterns

  • Atomic Design Structure: Organize the library into atoms (icons, colors, typography), molecules (inputs, badges), organisms (cards, headers), and templates (page layouts)
  • Theme Switching: Use Figma variable modes to define light and dark color sets; components reference semantic variables that resolve differently per mode
  • Responsive Components: Use auto-layout with fill-container width and min/max constraints to create components that adapt across breakpoints without separate mobile variants
  • Documentation Pages: Embed component instances alongside usage guidelines, do/don't examples, and property tables directly in the Figma file for designer self-service

Pitfalls to Avoid

  • Do not use absolute positioning inside auto-layout frames unless the element genuinely needs to break out of flow; it defeats the purpose of responsive layout
  • Do not create one-off detached instances when a variant or property would serve the use case; detached instances become stale when the source component updates
  • Do not skip naming and organizing layers; engineers inspecting in Dev Mode rely on meaningful layer names to map designs to code components
  • Do not embed raster images at full resolution without optimizing; large assets slow down Figma file performance and create unnecessarily heavy exports
常见问题

什么是自动布局?

它是 Figma 的一项功能,可以用内边距和间距排列元素,使组件像灵活的容器一样调整大小和对齐。

样式和变量有什么区别?

样式描述视觉外观,而变量保存语义化的令牌,并且可以在浅色和深色等模式之间切换。

为什么要在样稿中使用真实内容?

占位文字可能掩盖真实内容长度不一时才会出现的版式问题。

详情

作者的原始描述

Figma design expert for components, auto-layout, design systems, and developer handoff

repo: RightNow-AI/openfang

热度

GitHub 星标
18k
排名
#10677
许可证
Apache-2.0
更新时间
2026/7/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能