rayden-code
Skill này làm gì
Công cụ này tạo các phần của website hoặc ứng dụng bằng các thành phần có sẵn trong thư viện Rayden UI. Nó đảm bảo code tuân theo các quy tắc thiết kế và dùng đúng các thành phần.
Khi nào nên dùng
- ✓Khi tạo trang hoặc tính năng mới với Rayden UI.
- ✓Để nhanh chóng lắp ghép bố cục như bảng điều khiển, trang đăng nhập hoặc trang cài đặt.
- ✓Khi bạn cần code React tuân theo chính xác một hệ thống thiết kế cụ thể.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/rayden-code/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một trang bảng điều khiển với các thẻ KPI, bảng đơn hàng gần đây và nguồn hoạt động.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ phân tích yêu cầu của bạn, tham khảo hướng dẫn đầy đủ về thành phần và quy tắc thiết kế, lên kế hoạch cách các phần ghép với nhau, rồi tạo code React và Tailwind CSS. Sau đó, nó kiểm tra code có đúng và tuân theo hướng dẫn thiết kế không.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Rayden Code Skill
Overview
Generate production-quality React + Tailwind CSS code using the Rayden UI component library (34 components). The skill loads a complete API reference with every component, every prop, design tokens, layout patterns, and an explicit anti-pattern ban list — preventing hallucinated components and generic AI output. Built on the Rayna UI design system.
When to Use This Skill
- You're building a new page or feature using Rayden UI components
- You want to scaffold a dashboard, landing page, auth screen, settings page, or data table
- You need to generate React code that follows a specific design system precisely
- You want to prototype UI quickly with correct component usage and premium aesthetics
- You're vibe coding and want design-system-compliant output
How It Works
- Parses the request — Identifies page type, required components, and data model
- Loads RAYDEN_RULES.md — Complete reference: 34 components with full props, design philosophy, token classes, layout patterns, anti-patterns, and accessibility rules
- Plans the layout — Decides page structure, component selection, spacing, color, and elevation strategy
- Generates code — Writes React + Tailwind CSS using only documented components and token classes
- Self-validates — Runs a 16-point checklist covering correctness (valid components/props, token usage, nesting) and design quality (whitespace, hierarchy, restraint, responsiveness)
Examples
Vibe code a SaaS dashboard
/rayden-code a dashboard with KPI cards, a recent orders table, and an activity feed
Use case: You're building an internal analytics tool and need a full dashboard page with MetricsCard grid, sortable Table, and ActivityFeed sidebar — all with correct Rayden imports and token classes.
Scaffold a login page
/rayden-code login page with email and password
Use case: You need a centered auth form with Input components, a primary Button, and proper visual hierarchy — following Rayden's "Auth / Focused Form" pattern.
Build an admin settings page
/rayden-code settings page with profile section, notification toggles, and danger zone
Use case: You're adding a settings area to your app and need form sections with Toggle components, a destructive action zone, and a single-column constrained layout.
Create a pricing page
/rayden-code pricing page with 3 tiers and a feature comparison table
Use case: You need a marketing pricing section with Card components for each tier, Badge for the recommended plan, and a Table for feature comparison.
Build an e-commerce product grid
/rayden-code product catalog with filters, search, and a card grid
Use case: You're building a storefront and need a responsive product grid with Chip filters, Input search, Pagination, and Cards with images — all using Rayden's layout and spacing rules.
Best Practices
- Describe what you want in plain language — the skill maps your request to the right components
- Install
@raydenui/uiin your project first (npm install @raydenui/ui) - Import
@raydenui/ui/styles.cssin your app entry point for design tokens to work - Review generated code for business logic — the skill handles UI, not data fetching
- Use alongside
/rayden-useif you also want the same design built in Figma
Security & Safety Notes
- This skill only reads its bundled rules file and writes code to your project
- No external network requests
- No secrets or credentials involved
- Generated code uses standard React patterns with no eval or dynamic code execution
Common Pitfalls
| Problem | Solution |
|---|---|
| Components not rendering correctly | Ensure @raydenui/ui/styles.css is imported in your app entry |
| "Component doesn't exist" error | The skill only uses documented components — check if you're asking for something Rayden doesn't have |
| Colors look wrong | Use token classes (bg-primary-500) not hex values. Ensure the Rayden CSS is loaded |
| Layout not responsive | The skill generates responsive code by default — check that your viewport meta tag is set |
Related Skills
rayden-use— Build Rayden UI components and screens in Figma via MCP (included in the same package)
Limitations
- Use this skill only when the task clearly matches the scope described above.
…
Câu hỏi thường gặp
Rayden UI components là gì?
Đó là các khối xây dựng có sẵn để tạo giao diện người dùng, như nút, biểu mẫu và thẻ, tuân theo một phong cách hình ảnh nhất quán.
“Design tokens” là gì?
Đó là các giá trị cơ bản được định nghĩa cho màu sắc, khoảng cách và phông chữ (như “màu chính” hoặc “khoảng cách trung bình”), đảm bảo sự nhất quán về hình ảnh trong dự án.
Tại sao tôi cần import `@raydenui/ui/styles.css`?
File này chứa các quy tắc kiểu dáng và design tokens để các thành phần hiển thị đúng và tuân theo giao diện đã định.
Chi tiết
Mô tả gốc của tác giả
Generate React code with Rayden UI components using correct props, tokens, and premium layout patterns
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #5569
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
angular-developer
280kGiúp agent của bạn viết code Angular và tư vấn cấu trúc dự án, hữu ích khi bắt đầu dự án mới hoặc cải thiện hiệu suất.
frontend-a11y
280kGiúp agent của bạn làm cho giao diện web dễ tiếp cận với mọi người. Đảm bảo website và ứng dụng hoạt động tốt với trình đọc màn hình và điều hướng bằng bàn phím.
frontend-patterns
280kGiúp agent của bạn áp dụng các mẫu hiện đại trong phát triển frontend. Tối ưu hiệu năng, quản lý trạng thái và tuân theo thực hành tốt nhất với React và Next.js.