跳到正文
Skillpedia
界面(UI/UX)14k · #11373

figma-designer

它能做什么

这个技能为设计师在 Figma 中的工作设定了规则,包括令牌、颜色和组件。适用于通过 Figma 制作页面、样机和设计系统的设计师。

适用场景

  • ✓当你在 Figma 中创建或编辑页面、落地页或样机时。
  • ✓当你用令牌和可复用组件构建设计系统时。
  • ✓当你检查 Figma 文件是否符合团队规则时。

技能链接

https://github.com/elayadesign/ai-design-skills/blob/main/skills/figma-designer/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请帮我在 Figma 中设计一个落地页,使用团队的颜色令牌和文本样式。”

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

工作原理

智能体会先检查文件中现有的变量、样式和组件,然后设置缺少的基础内容。它会用自动布局构建页面,并将其绑定到令牌参考。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Figma Designer

These are the designer's own rules for working in Figma. They sit on top of the official Figma skills and don't replace them.

  • Load figma-use before any use_figma call. It holds the Plugin API rules (color ranges, font loading, layout sizing). This skill only adds design rules.
  • For full screens and pages, also load figma-generate-design. For component libraries and tokens, also load figma-generate-library.
  • Exact token names and values are in Token reference at the end of this file. Read it before you create or bind any variable or text style.

Workflow

  1. Check the file first. List local variable collections and text styles, and search the file's libraries (search_design_system) for variables, styles and components. Reuse what exists before creating anything.

  2. Set up foundations if missing. Create everything below before you build any screen:

    • the spacing and radius variables
    • the two color layers (Core Colors, then Color System with Light and Dark modes)
    • the text styles

    Light and dark are variable modes, never two sets of hardcoded colors.

    • Show the tokens on the canvas. Place a Foundations frame on the Foundations page, the same way components sit in their own frame. Inside it, add one auto layout section for each collection:
      • Core Colors: one row per palette, one swatch per shade
      • Color System: one row per group, with the Light and Dark modes side by side using explicit variable modes on two columns
      • spacing: a bar per token, sized to its value
      • radius: a square per token, with that radius
      • Text styles: one sample line per style
    • Bind the samples so they update with the tokens. Every swatch fill is bound to its variable. Every spacing bar and radius sample is bound to its variable. Every text sample uses its style. When the user edits a token, the frame updates by itself.
    • Labels: each sample is labeled with its token name and, for Color System, its alias (Surface/Primary → Grayscale/870). Text can't bind to a color value, so hex labels don't update by themselves. Re-sync the labels whenever you create, rename or change tokens.
  3. Build section by section. Do the hero first, then one section per step. Never build a whole page in one pass. Screenshot after each section and fix it before moving on.

  4. Use auto layout everywhere. Every frame with children uses auto layout. Padding and gap are bound to spacing variables, never typed numbers.

  5. Bind, don't type.

    • Bind every fill, stroke, radius, padding and gap to a variable.
    • Every text layer uses a text style.
    • Bind designs to Color System tokens only, never to Core Colors directly.
  6. Self check before finishing. Run the checklist at the end of this file, fix every failure, then report what was built and what was skipped.

Typography

  • Fonts: any font is allowed. Use the one the user or brand names; check it with figma.listAvailableFontsAsync() before loading.
  • One typeface per file unless the user asks for a pair. Geist Mono is allowed beside the main font only for code, data or numbers.
  • No italic styles. No weights above bold.
  • Sizes come from the Tailwind type scale only: 12, 14, 16, 18, 20, 24, 30, 36, 48, 60, 72, 96, 128. If a size falls between steps, snap to the step below and take its line height.
  • Text styles. Create the named styles in Token reference → Text styles (Heading 1 to 6, Title 1 to 5, Body 1 to 6, Button-lg/md/sm/Xsm, Caption 1 to 5). Use the names exactly, including capitalization.
    • Group them in folders by type, so the panel reads Heading / Heading 1, Body / Body 4, Button / Button-md.
    • Every text layer uses one of these styles. Never set a loose size or weight; changing the weight on a styled layer detaches the style.
  • Which group to use:
    • Heading: page and section headings, largest to smallest. Heading 1 is the hero.
    • Title: card titles, list item titles, labels that lead a block, nav items.
    • Body: running text. Within each size, 1 is the strongest weight and the last is regular.
    • Button: text inside buttons only. Main buttons use Button-md; small header buttons use Button-sm.
    • Caption: metadata, helper text, badges, timestamps, fine print.
  • New styles. If a project needs one, add the next number in its group (for example Body 7), built from a s
常见问题

它会取代官方的 Figma 技能吗?

不会。它是在官方 Figma 技能之上增加设计规则,智能体会先加载官方技能。

它支持浅色和深色模式吗?

支持。浅色和深色通过变量模式处理,而不是单独的硬编码颜色。

令牌名称列在哪里?

列在令牌参考部分,智能体在创建变量前会先阅读它。

详情

作者的原始描述

Design inside Figma the way this designer does: real variables, text styles, auto layout and components, on a fixed visual system (Tailwind type and radius scale, spacing tokens, two-layer color tokens, button and state rules). Use this skill whenever you create, edit or review anything in a Figma file through the Figma MCP: screens, landing pages, components, mockups, design systems, tokens, or any UI. Use it even when the user doesn't name the skill and only says things like 'design a page in Figma', 'make a button component', 'mock this up' or shares a figma.com link. Load it before writing

repo: elayadesign/ai-design-skills

热度

GitHub 星标
14k
排名
#11373
许可证
MIT
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能