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。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 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
- Verifies environment — Checks Figma MCP connection and write access via
whoami - Loads component data — Reads Rayden component specs, anatomy, and tokens from the
@raydenui/aiMCP server or installed package - Loads craft rules — Reads supporting files: resolved token values, craft rules, anti-patterns, and screen layout patterns
- Identifies task type — Determines if building a single component, composing a screen, auditing, or adding variants
- Applies style mode — Adjusts spacing, shadow, typography, and visual weight based on conservative/balanced/expressive mode
- Builds with helpers — Generates Figma Plugin API code using mandatory helper functions (hexToRgb, loadFonts, applyShadow, applyBorder) with auto layout on every frame
- 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
balancedmode (default) for most use cases;conservativefor dense admin UIs,expressivefor marketing pages - Let the skill take screenshots between build stages — this is how it validates output quality
- Install
@raydenui/aias 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
热度
- GitHub 星标
- 48k
- 排名
- #5570
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。