app-builder-sdk
Skill này làm gì
Skill này hướng dẫn AI xây dựng một ứng dụng mới trong không gian làm việc holaOS. Skill dành cho người muốn một công cụ tùy chỉnh, từ kết nối dịch vụ đơn giản đến bảng điều khiển đầy đủ.
Khi nào nên dùng
- ✓Khi bạn muốn một ứng dụng holaOS mới kết nối với dịch vụ bên ngoài như Slack hoặc Notion.
- ✓Khi bạn muốn một ứng dụng bảng điều khiển như trình lên kế hoạch nội dung, CRM hoặc công cụ theo dõi đơn giản.
- ✓Khi bạn yêu cầu một ứng dụng vibe-coded nên xuất hiện như một khung làm việc trong không gian làm việc.
Liên kết skill
https://github.com/holaboss-ai/holaOS/blob/main/runtime/harnesses/src/embedded-skills/app-builder-sdk/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
“Xây dựng cho tôi một ứng dụng lên kế hoạch nội dung nhỏ trong không gian làm việc, nơi tôi có thể thêm ý tưởng bài đăng và xem chúng trên một bảng.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI thiết lập các phần cốt lõi của ứng dụng bằng một SDK nhỏ, phần này xử lý dữ liệu và quyền truy cập công cụ cho agent. Ứng dụng bảng điều khiển còn được tạo một màn hình trực quan từ các thành phần giao diện có sẵn.
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.
App Builder (SDK)
Use this skill whenever the user wants a new holaOS app. Two shapes both ship through the same SDK; pick the one the request needs:
- Integration-only module — Slack, Discord, Notion, Stripe, Linear, anything whose value is "talk to one external service via MCP tools, agent drives, no per-app dashboard". The SDK's default web stub is fine; no
src/client/directory. - Dashboard app — vibe-coded content planners, CRMs, kanban-style trackers, podcast-guest managers, anything where the user expects a workspace pane they can look at and click around in. Has a real shadcn UI authored under
src/client/(TanStack Start). The MCP tools are still there — they're how the agent drives the same data the dashboard surfaces.
The SDK core (5 primitives below) is identical for both shapes. The dashboard shape adds a src/client/ directory; that's the only structural delta.
All supplemental files named in this skill are bundled beside this SKILL.md. Treat those paths as skill-local references that are safe to use in packaged runtimes; do not guess at repo-root paths.
Tooling discipline for this skill
- In the normal build turn, use surfaced workspace file tools for file work:
read/search/find/listfor inspection,editfor targeted changes, andwritefor new files or full rewrites. - Do not use
bashheredocs for ordinary app file creation or mutation in the build turn. That includespackage.json,app.ts,server.ts,app.runtime.yaml,workspace.yaml, and non-src/client/assets such asgame.html. - Use
bashonly for shell-native work such asbun install, starting or probing processes, checking logs, or other commands the surfaced file/runtime tools cannot express directly. - The only heredoc exception in this skill is the auto-queued polish pass rule below, and it applies only to
apps/<app_id>/src/client/*.tsxand.cssfiles in that separate polish turn.
When NOT to use this skill
- The user already has a working module app and wants to extend it → modify it in place; don't rewrite as SDK. (The legacy app-builder skill that used to live alongside this one has been removed; all new app work goes through this SDK.)
The 5 primitives
Every SDK app composes exactly these:
app.connection() // declares "this app needs an integration binding"
app.resource(name, {...}) // declares a row type (status machine, schema, emit rules)
app.action(resource, name, { fromStates, toState, run, [reversible], [steps], [schema] })
app.sync(name, { schedule, attachTo, fetch, upsert, normalize })
app.start() // validate config; no scheduling — automations layer does that
Mental model:
resource= a row in the app's SQLite (e.g.message,event,issue,pin)action= state transition + upstream API call (e.g.send_message: draft → sent)sync= periodic upstream read that upserts records keyed by external id- HOW (steps / states / reversal) lives in the SDK. WHEN (scheduling, retry) lives in Holaboss automations — the SDK never schedules.
Full type contract: sdk-package/src/types.ts. Public exports: sdk-package/src/index.ts.
provider.id MUST be the Composio toolkit slug
There is ONE provider identifier; the same value flows through every layer of the connect + proxy chain:
app.runtime.yaml'sintegration.destinationpending_integrations[].provider_id(runtime emits this to drive the chat Connect card)- Hono
/api/composio/connect'sbody.provider(Hono uses it verbatim as Composio'stoolkit_slug) integration_connections.provider_id(DB row created at OAuth finalize)integration_bindings.integration_key(DB row created when the user clicks Bind)createRuntimeBrokerTransport({ provider })at runtime (broker keys the binding lookup on it)
provider.id in ProviderRegistry IS this value. It MUST be the canonical Composio toolkit slug — the exact string in Composio's catalog at https://platform.composio.dev — not a "user-friendly" alias. Common ones that bite:
- Discord bot:
discordbot(NOTdiscord— that slug, if it exists, grants onlyidentifyscope and cannot post messages →POST /channels/.../messagesreturns 401, which the SDK maps tonot_connected) - Google Calendar:
googlecalendar(NOTgcalorgoogle) - Google Sheets:
googlesheets - Google Drive:
googledrive - Slack / GitHub / Gmail / Notion / Stripe / Linear /
Câu hỏi thường gặp
Tôi có cần viết mã để dùng không?
Bạn mô tả ứng dụng mình muốn và AI viết mã. Skill hướng dẫn cấu trúc để kết quả chạy đúng trong không gian làm việc.
Hai loại ứng dụng khác nhau thế nào?
Ứng dụng tích hợp chỉ kết nối với một dịch vụ bên ngoài, còn ứng dụng bảng điều khiển có thêm màn hình để bạn thao tác.
Agent có dùng được dữ liệu của ứng dụng không?
Có. Các công cụ mà bảng điều khiển dùng cũng là cách agent làm việc với dữ liệu của ứng dụng.
Chi tiết
Mô tả gốc của tác giả
Build a new holaOS app using @holaboss/app-builder-sdk (5 backend primitives + optional shadcn dashboard UI). The canonical path for vibe-coded apps — integration modules AND dashboard apps both live here.
repo: holaboss-ai/holaOS
Độ phổ biến
- Sao GitHub
- 11k
- Vị trí xếp hạng
- #11677
- Giấy phép
- —
- Cập nhật
- 28/10/2026
Bình luận
- …
Thêm skill từ kho mã này
audience-analyst
11kGiúp agent của bạn phân tích khán giả là ai, tìm các nhóm riêng biệt theo hành vi và giá trị, và gợi ý nội dung phù hợp cho từng nhóm.
content-planner
11kGiúp agent của bạn lên kế hoạch lịch nội dung hằng tuần hoặc hằng tháng, gồm chủ đề, tần suất đăng, tỷ lệ giữa các nền tảng và mục tiêu cho từng bài.
content-writer
11kGiúp agent của bạn viết bài đăng, email, trang đích, quảng cáo và kịch bản mới theo giọng thương hiệu, với độ dài phù hợp từng nền tảng.
data-analyst
11kGiúp agent của bạn phân tích tập dữ liệu hoặc bảng, tìm các insight quan trọng, đối chiếu với các so sánh và đề xuất cách vẽ biểu đồ.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.