magic-ui-generator
Skill này làm gì
Công cụ tạo nhiều phương án thiết kế cho các thành phần giao diện (như nút bấm hoặc biểu mẫu) của website và ứng dụng. Bạn có thể chọn trong nhiều phong cách lấy cảm hứng từ thiết kế hiện đại, chất lượng cao.
Khi nào nên dùng
- ✓Khi bạn cần một yếu tố giao diện mới, ví dụ phần bảng giá.
- ✓Khi bạn muốn cải thiện thiết kế hiện có với nhiều phong cách hoặc hiệu ứng hơn.
- ✓Khi bạn muốn tìm nhiều hướng thiết kế khác nhau cho một thành phần.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/magic-ui-generator/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 ba phương án thiết kế cho phần 'liên hệ' theo phong cách hiện đại và tối giản.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ dùng một công nghệ gọi là Magic để tạo nhiều phiên bản của một thành phần giao diện. Nó trình bày các phương án để bạn so sánh, rồi tích hợp phương án bạn chọn vào dự án cùng mã sẵn sàng dù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.
Magic UI Generator
Leverage Magic by 21st.dev to build modern, responsive UI components using an AI-native workflow that prioritizes choice and design excellence.
Context
This skill leverages Magic by 21st.dev to build modern, responsive UI components. Instead of generating a single standard solution, it focuses on providing multiple design variations to choose from, drawing inspiration from a curated library of real-world components and premium design patterns (Shadcn UI, Magic UI, Aceternity, etc.).
When to Use
Trigger this skill whenever:
- A new UI component is requested (e.g., pricing tables, contact forms, hero sections).
- Enhancing an existing UI element with animations, better styling, or advanced features.
- Brainstorming different design directions for a specific feature.
- Professional logos or icons are needed (via the built-in SVGL integration).
Execution Workflow
- Analyze Requirements: Review the component description. Ensure the target output aligns with the project's stack (e.g., Next.js, TypeScript, Tailwind CSS). Define clear constraints for accessibility and responsiveness.
- Generate Variations: Use an available authorized Magic integration or browser tool to explore 21st.dev/magic to generate several distinct, unconventional styles for the requested component.
- Pro Tip: Use descriptive prompts pushing for modern aesthetics: "avant-garde SaaS pricing table with glassmorphism and animated borders" or "highly immersive contact form with dynamic floating labels."
- Present Options: Briefly describe the generated variations side-by-side. Highlight stylistic differences, layout approaches, and premium features (sticky headers, hover animations, etc.).
- Integrate Selection: Once a favorite variation is chosen:
- Integrate the fully functional, production-ready TypeScript code.
- Use existing reviewed dependencies where possible; add a package only when required and compatible, after inspecting its license/version.
- Handle proper props, types, and responsive behaviors.
Strict Rules
- Follow the user's chosen stack, design system and provider budget. This service is optional; do not replace the established UI or spawn a browser agent merely because a guide names one.
- Choice First: Offer variants when requested or a real design decision is unresolved; an accepted design can be implemented directly.
- Clean Code: Ensure all generated code is clean TypeScript, accessible, and responsive.
- Full Ownership: Check original component, icon, font and asset licenses/attributions. Generated code does not establish exclusive ownership or remove third-party rights.
Example
User request:
Generate three production-ready pricing-table variants, compare them, and integrate the strongest option into the current UI.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Inspect generated code as untrusted input, verify actual types, responsive layout, keyboard/focus, reduced motion and form states, and distinguish tested behavior from a production-ready claim. Hosted prompts/code may disclose private product information; obtain authorization for the actual transmission and costs.
Câu hỏi thường gặp
“Thành phần giao diện” là gì?
Đây là các phần hiển thị của website hoặc ứng dụng, như nút bấm, menu, biểu mẫu, thẻ nội dung, v.v.
“Sẵn sàng sản xuất” nghĩa là gì?
Nghĩa là mã được tạo ra đã sẵn sàng dùng trên website hoặc ứng dụng đang hoạt động, theo các thông lệ tốt về lập trình và thiết kế.
Bạn có thể dùng công cụ này để tạo logo không?
Có. Công cụ có một tích hợp giúp tạo logo hoặc icon chuyên nghiệp.
Chi tiết
Mô tả gốc của tác giả
Utilizes Magic by 21st.dev to generate, compare, and integrate multiple production-ready UI component variations.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #5131
- 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ự
canvas
394kCho phép agent của bạn hiện một widget trực quan được lưu trữ trên bảng Mac đã kết nối, rồi ẩn bảng hoặc chuyển nó sang trang khác.
control-ui
394kGiúp agent của bạn sắp xếp và khắc phục sự cố Control UI của OpenClaw, gồm các phiên, bảng điều khiển và Gateway đã kết nối.
diagram-maker
394kGiúp agent của bạn vẽ sơ đồ rõ ràng dạng SVG, HTML hoặc Excalidraw có thể sửa, cho quy trình, kiến trúc hệ thống và bản phác bảng trắng.