Chuyển đến nội dung
Skillpedia
Website và giao diện (frontend)11k · #11680

build-dashboard

Skill này làm gì

Skill này cho AI một điểm khởi đầu sẵn có để xây dựng màn hình bảng điều khiển trong holaOS. Skill dành cho người muốn màn hình ứng dụng gọn gàng mà không phải thiết kế từng phần từ đầu.

Khi nào nên dùng

  • ✓Khi bạn yêu cầu bảng điều khiển, chế độ xem danh sách, bảng kanban hoặc lịch trong một ứng dụng holaOS.
  • ✓Khi một ứng dụng đã thiết lập dữ liệu và giờ cần một màn hình trực quan.
  • ✓Khi bạn muốn một khung làm việc trông sạch sẽ và ngăn nắp.

Liên kết skill

https://github.com/holaboss-ai/holaOS/blob/main/runtime/harnesses/src/embedded-skills/build-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/holaboss-ai/holaOS/blob/main/runtime/harnesses/src/embedded-skills/build-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 cho danh sách khách mời podcast của tôi, với chế độ xem bảng theo giai đoạn và lịch cho các buổi ghi âm.”

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

Cách hoạt động

AI sao chép một bố cục khởi đầu đã được kiểm chứng rồi điền dữ liệu và nhãn của bạn. Skill dùng các thiết lập kiểu dáng chung để màn hình khớp với phần còn lại của không gian làm việc.

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.

build-dashboard

The agent before you reliably produces ugly dashboards because it starts from a blank page and reaches for default shapes (single-column full-width cards, KPI strips that don't fit, sidebars that don't earn their space). This skill exists to bypass that default. The visual decisions are already made — your job is to fill in the data and copy.

When to use

  • The user asked for a dashboard, workspace pane, list view, kanban, calendar, or "let me see my X"
  • The app's app.ts already declares resource(...) rows via the SDK (set up via the app-builder-sdk skill first)
  • The app dir needs a src/client/ directory

Skip this skill when:

  • Integration-only module (Slack/Discord/Stripe-style MCP-only) — those use only app-builder-sdk
  • Marketing landing page → use frontend-design
  • One-off static HTML report → not this product class

The two non-negotiables

  1. Copy the bundled reference. Don't invent. reference/messaging-dashboard/src/client/ is the canonical starting point. Three files below are verbatim across every dashboard; the rest gets customized per shape.
  2. Two style imports, not one. @holaboss/ui/styles.css only bakes in utilities used inside the library. Every Tailwind class your src/client/ writes needs your own app-side compile pass. The register-time lint workspace_app_missing_tailwind_compile rejects apps missing this.

The shape catalog — pick one

Look at the user's data, NOT at "what dashboards usually have". Most apps are shape 1.

# Shape Pick when the data is… Template
1 Queue / feed scheduled items, drafts, an action queue, an activity log, anything time-ordered reference/messaging-dashboard/ (full, ready to copy)
2 Dense table flat records (CRM contacts, log rows, ticket list) that the user scans like a spreadsheet Replace shape-1's messages-table.tsx with the <Table> primitive (see snippet below)
3 Kanban rows that move between named statuses; user drags between columns Replace shape-1's main column with horizontal status columns (see snippet below)
4 Detail / form a single resource the user edits or watches in depth Replace shape-1's main column with <Field> form (see snippet below)
5 Calendar week rows with start_time + duration that pin to a day-grid Replace shape-1's main column with @holaboss/ui's Calendar primitive

Shapes 2–5 still keep shape 1's header, app.css, connection pill, status badge, and tokens. Only the main content area changes.

ASCII for shape 1 (the most common, read this even if you're using another shape):

                ┌────────────────────────────────────────────┐
                │  Outgoing ●            ● Connected · @jot  │  ← header
                │  5 queued · agent will send on schedule    │
                │                                            │
                │  NEEDS ATTENTION                           │
                │  ┌──────────────────────────────────┐     │  ← attention strip
                │  │ #ops · Failed · 3h ago           │     │    (warning-bordered,
                │  │  Composio retry exhausted…       │     │     always-visible Retry)
                │  │                  [Retry] [Edit]  │     │
                │  └──────────────────────────────────┘     │
                │                                            │
                │  TODAY ───────────────────────────── 02   │  ← day divider
                │  NOW · 08:42 ─────────────────────────    │  ← "now" cursor on rail
                │  09:00 ● #general · ● Scheduled            │  ← next-up marker
                │        Heads-up: pricing page goes live…  │
                │  17:00 · #growth · ● Draft                 │
                │        Weekly recap — KPI strip…           │
                │                                            │
                │  TOMORROW ────────────────────────── 02   │
                │  …                                         │
                └────────────────────────────────────────────┘
                       (max-w-3xl centered on bg-background)

Foundation — paste verbatim into every dashboard

These five files do NOT vary per shape. Copy them exactly.

src/client/app.css (13 lines)

/* App-local Tailwind compile entry.
 *
 * `@holaboss/ui/styles.css` only bakes in utilities used INSIDE the library.
 * Every Tailwind class your `src/c
Câu hỏi thường gặp

Skill có dùng được cho trang tiếp thị không?

Không. Skill dành cho bảng điều khiển ứng dụng. Trang đích tiếp thị phù hợp hơn với một skill thiết kế giao diện khác.

Ứng dụng có cần tồn tại trước không?

Có. Dữ liệu của ứng dụng nên được thiết lập sẵn, thường bằng skill xây dựng ứng dụng, trước khi skill này tạo màn hình.

Mọi bảng điều khiển có trông giống nhau không?

Bố cục bắt đầu từ cùng một nền, nhưng nội dung, nhãn và các phần được tùy chỉnh cho từng ứng dụng.

Chi tiết

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

Build the visual layer of a holaOS dashboard app — TanStack Start + @holaboss/ui + workspace tokens. Use when an app has SDK primitives wired (via app-builder-sdk) AND needs a `src/client/` UI surface. NOT for marketing pages, NOT for snapshot HTML reports.

repo: holaboss-ai/holaOS

Độ phổ biến

Sao GitHub
11k
Vị trí xếp hạng
#11680
Giấy phép
—
Cập nhật
28/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ự