rayden-code
Fungsinya
Kode ini membuat bagian dari website atau aplikasi menggunakan komponen siap pakai dari library Rayden UI. Kode ini memastikan hasilnya mengikuti aturan desain dan menggunakan elemen yang tepat.
Kapan dipakai
- βSaat membuat halaman atau fitur baru dengan Rayden UI.
- βUntuk merakit layout dengan cepat, seperti dashboard, halaman login, atau halaman pengaturan.
- βSaat Anda membutuhkan kode React yang benar-benar mengikuti design system tertentu.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/rayden-code/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βBuatkan halaman dashboard dengan kartu KPI, tabel pesanan terbaru, dan feed aktivitas.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
AI menganalisis permintaan Anda, membaca panduan lengkap tentang komponen dan aturan desain, merencanakan bagaimana elemen-elemen saling terhubung, lalu menghasilkan kode React dan Tailwind CSS. Setelah itu, AI memeriksa apakah kodenya sudah benar dan sesuai dengan panduan desain.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
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.
β¦
Pertanyaan umum
Apa itu komponen Rayden UI?
Komponen Rayden UI adalah blok bangunan siap pakai untuk membuat antarmuka pengguna, seperti tombol, formulir, dan kartu, yang mengikuti gaya visual yang konsisten.
Apa itu 'design tokens'?
Design tokens adalah nilai dasar yang ditentukan untuk warna, jarak, dan font (misalnya 'warna utama' atau 'jarak sedang') yang menjaga konsistensi tampilan di seluruh proyek.
Mengapa saya perlu mengimpor `@raydenui/ui/styles.css`?
File ini berisi aturan gaya dan design tokens agar komponen tampil dengan benar dan mengikuti tampilan yang sudah ditentukan.
Detail
Deskripsi asli dari pembuat
Generate React code with Rayden UI components using correct props, tokens, and premium layout patterns
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #5569
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
angular-developer
280kMembantu agent Anda membuat kode Angular dan memberi saran struktur proyek. Berguna saat memulai proyek baru, membuat komponen, atau meningkatkan performa.
frontend-a11y
280kMembantu agent Anda membuat antarmuka web dapat diakses semua orang. Memastikan website dan aplikasi berfungsi baik dengan screen reader dan navigasi keyboard.
frontend-patterns
280kMembuat agent Anda menerapkan pola modern dalam frontend. Mengoptimalkan performa, mengelola state, dan mengikuti praktik terbaik React dan Next.js.