nuxt-ui
Skill này làm gì
Skill này hướng dẫn xây giao diện web với thư viện Nuxt UI, được xây trên Vue và Tailwind CSS. Nó dành cho nhà phát triển muốn các thành phần dễ tiếp cận và có chủ đề cho bảng điều khiển, biểu mẫu, tài liệu hoặc màn hình chat.
Khi nào nên dùng
- ✓Khi bạn đang xây giao diện Nuxt hoặc Vue và muốn các thành phần dễ tiếp cận có sẵn.
- ✓Khi bạn cần tùy chỉnh chủ đề để khớp với thương hiệu.
- ✓Khi bạn đang ghép bố cục cho bảng điều khiển, trang tài liệu hoặc giao diện chat.
Liên kết skill
https://github.com/nuxt/ui/blob/v4/skills/nuxt-ui/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
“Bạn có thể xây trang cài đặt trong ứng dụng Nuxt của tôi bằng các thành phần Nuxt UI, với chủ đề tối khớp thương hiệu của chúng tôi không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent chọn thành phần phù hợp cho từng phần của trang, đặt các token chủ đề cho thương hiệu, rồi ghép bố cục. Để biết chính xác thuộc tính (props) và sự kiện, nó dùng máy chủ tài liệu Nuxt UI.
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.
Nuxt UI
Vue component library built on Reka UI + Tailwind CSS + Tailwind Variants. Works with Nuxt, Vue (Vite), Laravel (Vite + Inertia), and AdonisJS (Vite + Inertia).
MCP Server
For component API details (props, slots, events, full documentation, examples), use the Nuxt UI MCP server. If not already configured, add it:
Cursor — .cursor/mcp.json:
{ "mcpServers": { "nuxt-ui": { "type": "http", "url": "https://ui.nuxt.com/mcp" } } }
Claude Code:
claude mcp add --transport http nuxt-ui https://ui.nuxt.com/mcp
Key MCP tools:
search-components— find components by name, category, or intent (no params = list all)search-composables— find composables by name or description (no params = list all)search-icons— search Iconify icons (defaults tolucide), returnsi-{prefix}-{name}namesget-component— full component documentation with usage examplesget-component-metadata— props, slots, events (lightweight, no docs content)get-example— real-world code examples
When you need to know what a component accepts or how its API works, use the MCP. This skill teaches you when to use which component and how to build well.
Core rules (always apply)
- Always wrap the app in
UApp— required for toasts, tooltips, and programmatic overlays. Accepts alocaleprop for i18n. - Always use semantic colors —
text-default,bg-elevated,border-muted, etc. Never use raw Tailwind palette colors liketext-gray-500. - Read generated theme files for slot names — Nuxt:
.nuxt/ui/<component>.ts, Vue:node_modules/.nuxt-ui/ui/<component>.ts. These show every slot, variant, and default class for any component. - Override priority (highest wins):
uiprop /classprop → global config → theme defaults. - Icons use
i-{collection}-{name}format —lucideis the default collection. Use the MCPsearch-iconstool to find icons, or browse at icones.js.org.
How to use this skill
Based on the task, load the relevant reference files before writing any code. Don't load everything — only what's needed.
Reference files
Guidelines — design decisions and conventions:
- design-system — semantic colors, theming, brand customization, variants, the
uiprop - component-selection — decision matrices: when to use Modal vs Slideover, Select vs SelectMenu, Toast vs Alert, etc.
- conventions — coding patterns, slot naming, items arrays, composables, keyboard shortcuts
- forms — form validation, field layout, error handling, Standard Schema
Layouts — full page structure patterns:
- landing — landing pages, blog, changelog, pricing
- dashboard — admin UI with sidebar and panels
- docs — documentation sites with navigation and TOC
- chat — AI chat with Vercel AI SDK
- editor — rich text editor with toolbars
Recipes — complete patterns for common tasks:
- data-tables — tables with filters, pagination, sorting, selection
- auth — login, signup, forgot password forms
- overlays — modals, slideovers, drawers, command palette
- navigation — headers, sidebars, breadcrumbs, tabs
Quick reference:
- components — categorized component index for finding the right component name
Routing table
| Task | Load these references |
|---|---|
| Build a landing page | design-system, conventions, landing |
| Build a dashboard / admin UI | conventions, component-selection, dashboard |
| Add a settings page | conventions, forms |
| Create a login / signup form | conventions, forms, auth |
| Display data in a table | conventions, component-selection, data-tables |
| Customize theme / brand colors | design-system |
| Add a chat interface | conventions, chat |
| Add a modal, slideover, or drawer | conventions, component-selection, overlays |
| Build site navigation | conventions, |
Câu hỏi thường gặp
Skill có chạy ngoài Nuxt không?
Có. Skill nói thư viện cũng hoạt động với Vue cùng Vite, Laravel và AdonisJS.
Tôi tra cứu thuộc tính của thành phần ở đâu?
Skill khuyên dùng máy chủ Nuxt UI MCP để xem chi tiết chính xác của thành phần.
Skill nhắm đến phiên bản nào?
Skill được viết cho @nuxt/ui phiên bản 4.
Chi tiết
Mô tả gốc của tác giả
Build UIs with @nuxt/ui v4 — 125+ accessible Vue components with Tailwind CSS theming. Use when creating interfaces, customizing themes to match a brand, building forms, or composing layouts like dashboards, docs sites, and chat interfaces.
repo: nuxt/ui
Độ phổ biến
- Sao GitHub
- 7.0k
- Vị trí xếp hạng
- #13692
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luậ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.