跳到正文
Skillpedia
界面(UI/UX)48k · #5570

rayden-use

它能做什么

这个工具可以帮你在 Figma 设计软件中创建和整理视觉组件(比如按钮、文本输入框),也可以搭建完整的页面。它会确保所有内容都遵循既定的设计规范,比如颜色和尺寸都正确。

适用场景

  • ✓从零开始创建一个新的视觉组件时。
  • ✓使用现有组件拼装一个完整页面时。
  • ✓检查现有设计是否符合规范时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/rayden-use/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“在这个 Figma 文件 [file link] 中,用默认样式创建一个“保存”按钮和一个“用户名”文本输入框。”

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

工作原理

工具会先检查你的 Figma 连接,然后加载组件规格和设计规范。接着,它会在 Figma 中生成视觉元素,并自动应用正确的颜色、间距和尺寸。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Rayden UI Design Skill

Overview

Build and maintain Rayden UI components and screens directly in Figma using the Figma MCP. The skill enforces the Rayna UI design system — resolved design tokens, craft rules, anti-pattern detection, and visual validation — so every output is mechanically correct and visually premium. Supports three style modes (conservative, balanced, expressive) and includes a dedicated subagent for full-page screen composition.

When to Use This Skill

  • You need to build a new Rayden UI component with all its variants in Figma
  • You're composing a full screen (dashboard, landing page, auth form, settings, data table) from Rayden patterns
  • You want to audit an existing Figma file for design system compliance
  • You need to add new variants to an existing Figma component
  • You're syncing React component updates back to Figma

How It Works

  1. Verifies environment — Checks Figma MCP connection and write access via whoami
  2. Loads component data — Reads Rayden component specs, anatomy, and tokens from the @raydenui/ai MCP server or installed package
  3. Loads craft rules — Reads supporting files: resolved token values, craft rules, anti-patterns, and screen layout patterns
  4. Identifies task type — Determines if building a single component, composing a screen, auditing, or adding variants
  5. Applies style mode — Adjusts spacing, shadow, typography, and visual weight based on conservative/balanced/expressive mode
  6. Builds with helpers — Generates Figma Plugin API code using mandatory helper functions (hexToRgb, loadFonts, applyShadow, applyBorder) with auto layout on every frame
  7. Visual validation — Takes screenshots after each build stage and validates against 8 acceptance criteria (alignment, spacing, color accuracy, hierarchy, radius, shadow, primary action count)

Examples

Build a component with all variants

/rayden-use Button https://figma.com/file/abc123

Use case: You're starting a new design system file and need the Button component with all variants (primary, secondary, grey, destructive) in solid and outlined appearances across SM and LG sizes.

Design a SaaS dashboard

/rayden-use dashboard-screen balanced https://figma.com/file/abc123

Use case: You're designing an analytics dashboard and need a sidebar layout with KPI cards, a data table, and an activity feed — all using consistent Rayden tokens and spacing.

Build a marketing landing page

/rayden-compose landing expressive https://figma.com/file/abc123

Use case: You need a high-impact landing page with bolder typography, stronger shadows, and asymmetric layouts that avoid the generic "AI-generated" look.

Audit an existing design for compliance

/rayden-use audit https://figma.com/file/abc123

Use case: You have an existing Figma file and want to check that all colors match Rayden tokens, spacing is on the 4px grid, and radius is concentric.

Add variants to an existing component

/rayden-use add-variants Input https://figma.com/file/abc123

Use case: The Input component exists in your Figma file but is missing error and success states — the skill reads the existing structure and extends it.

Best Practices

  • Always provide a Figma file URL as the last argument
  • Use balanced mode (default) for most use cases; conservative for dense admin UIs, expressive for marketing pages
  • Let the skill take screenshots between build stages — this is how it validates output quality
  • Install @raydenui/ai as an MCP server for the richest component data access
  • Review the generated output in Figma after completion — the skill validates mechanically but human judgment on aesthetics is still valuable

Security & Safety Notes

  • This skill only reads local supporting files and calls the Figma MCP — no external network requests beyond Figma's API
  • Requires Figma Dev or Full seat with write access to the target file
  • Does not modify files outside of the target Figma document
  • All design tokens are bundled in the skill's supporting files — no secrets or credentials involved

Common Pitfalls

Problem Solution
"Font not found" error The skill falls back to Roboto if Inter is unavailable — ensure Inter is loaded in your Figma file for best results
Components don't combine as variants All components must share the same parent frame before calling combineAsVariants

…

常见问题

什么是“设计令牌”(design tokens)?

它们是设计的基本构件,比如所有视觉元素都应使用的精确颜色、字号和间距。

什么是“Figma MCP”?

它是一套系统,允许像这个工具这样的外部工具与 Figma 文件进行交互并修改其中的内容。

我可以使用不同的风格吗?

可以,你可以在三种风格模式之间选择:保守(更克制)、平衡(默认)和表现力(更醒目)。

详情

作者的原始描述

Build and maintain Rayden UI components and screens in Figma via Figma MCP with full design token enforcement

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#5570
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能