Chuyển đến nội dung
Skillpedia
Giao diện (UI/UX)101k · #869

dashboard

Skill này làm gì

Tạo một trang web duy nhất đóng vai trò bảng điều khiển. Trang hiển thị thông tin quan trọng như số liệu và biểu đồ ở một nơi, kèm thanh bên để điều hướng.

Khi nào nên dùng

  • ✓Khi bạn cần bảng điều khiển để xem dữ liệu quan trọng.
  • ✓Để tạo màn hình quản trị hoặc điều khiển.
  • ✓Khi yêu cầu có các từ “dashboard”, “admin” hoặc “control panel”.

Liên kết skill

https://github.com/nexu-io/open-design/blob/main/design-templates/dashboard/SKILL.md

Sao 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

Hãy dùng skill này để giúp tôi: https://github.com/nexu-io/open-design/blob/main/design-templates/dashboard/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo bảng điều khiển doanh số với các KPI doanh thu và người dùng, biểu đồ đường doanh số hằng ngày và bảng đơn hàng gần đây.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

AI sắp xếp trang với thanh bên cho menu, thanh trên cùng cho tiêu đề và tìm kiếm, và khu vực chính hiển thị các thẻ có con số quan trọng và biểu đồ.

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.

Dashboard Skill

Produce a single-screen admin / analytics dashboard.

Workflow

  1. Read the active DESIGN.md (injected above). Colors, typography, spacing, component styling all come from it. Do not invent new tokens.
  2. Classify what the dashboard monitors (sales, traffic, usage, incidents, ops, etc.) from the brief. Generate specific, plausible metric names and values — no "Metric A / Metric B" placeholders.
  3. Lay out the required regions:
    • Left sidebar (220–260px): brand mark at top, 6–8 nav links with icons, active state uses the DS accent.
    • Top bar: page title on the left, search input + user avatar / status on the right.
    • Main:
      • Row 1: 3–4 KPI cards (label + big number + delta vs. prior period).
      • Row 2: one primary chart (full width or 2/3) — render as an inline SVG line / bar / area chart drawn from real-looking numbers.
      • Row 3: one secondary chart or table (recent events, top items, etc.).
  4. Write one self-contained HTML document:
    • <!doctype html> through </html>, CSS in one inline <style> block.
    • CSS Grid for the overall layout; Flexbox inside cards.
    • Semantic HTML: <aside>, <header>, <main>, <section>.
    • Tag each logical region with data-od-id="slug" for comment mode.
  5. Charts: inline SVG only, no JS libraries. A line chart is ~10 lines of <polyline> with a subtle area fill. A bar chart is N <rect>s with DS-accent fill. Label axes lightly (muted text, smaller scale).
  6. Self-check:
    • Every color comes from DESIGN.md tokens.
    • Accent used at most twice (sidebar active + one chart highlight).
    • Sidebar + top bar are sticky; main scrolls independently.
    • Density matches the DS mood — airy DSes get more padding, dense DSes (trading, crypto) tighten rows.

Output contract

Emit between <artifact> tags:

<artifact identifier="dashboard-slug" type="text/html" title="Dashboard Title">
<!doctype html>
<html>...</html>
</artifact>

One sentence before the artifact, nothing after.

Câu hỏi thường gặp

KPI là gì?

KPI là viết tắt của “Key Performance Indicators”, tức chỉ số hiệu suất chính. Đó là những con số quan trọng cho thấy một việc đang hoạt động tốt đến đâu, như doanh số hoặc lượng truy cập.

“Inline SVG” nghĩa là gì?

Nghĩa là các biểu đồ được vẽ trực tiếp trong mã HTML, không cần tệp bên ngoài hay thư viện lập trình phức tạp.

Tôi có thể đổi màu sắc và giao diện không?

Màu sắc và phong cách chung do một tệp thiết kế riêng quyết định. AI dùng các định nghĩa đó và không tự tạo kiểu mới.

Chi tiết

Mô tả gốc của tác giả

Admin / analytics dashboard in a single HTML file. Fixed left sidebar, top bar with user/search, main grid of KPI cards and one or two charts. Use when the brief asks for a "dashboard", "admin", "analytics", or "control panel" screen.

repo: nexu-io/open-design

Độ phổ biến

Sao GitHub
101k
Vị trí xếp hạng
#869
Giấy phép
Apache-2.0
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự