app-builder-sdk
ما الذي تفعله
توجّه هذه المهارة الذكاء الاصطناعي خلال بناء تطبيق جديد داخل مساحة عمل holaOS. وهي لمن يريد أداة مخصصة، من ربط بسيط بخدمة إلى لوحة تحكم كاملة.
متى تستخدمها
- ✓عندما تريد تطبيق holaOS جديداً يتصل بخدمة خارجية مثل Slack أو Notion.
- ✓عندما تريد تطبيق لوحة تحكم، مثل مخطط محتوى أو نظام لإدارة العملاء أو متتبع بسيط.
- ✓عندما تطلب تطبيقاً بالبرمجة الحدسية يجب أن يظهر كلوحة في مساحة العمل.
رابط المهارة
https://github.com/holaboss-ai/holaOS/blob/main/runtime/harnesses/src/embedded-skills/app-builder-sdk/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ابنِ لي تطبيق مخطط محتوى صغيراً في مساحة عملي، أستطيع فيه إضافة أفكار المنشورات ورؤيتها على لوحة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يُعدّ الذكاء الاصطناعي الأجزاء الأساسية للتطبيق باستخدام حزمة تطوير صغيرة تتولى البيانات وصلاحيات أدوات الوكيل. ويحصل تطبيق لوحة التحكم أيضاً على شاشة مرئية مبنية من عناصر واجهة جاهزة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
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 /
الأسئلة الشائعة
هل أحتاج إلى كتابة كود لاستخدامه؟
تصف التطبيق الذي تريده ويكتبه الذكاء الاصطناعي. وتوجّه المهارة البنية لكي يعمل الناتج داخل مساحة العمل.
ما الفرق بين نوعي التطبيق؟
تطبيق التكامل يتصل بخدمة خارجية فقط، أما تطبيق لوحة التحكم فيملك شاشة تتنقل فيها بالنقر.
هل يستطيع الوكيل استخدام بيانات التطبيق أيضاً؟
نعم. الأدوات نفسها التي تستخدمها لوحة التحكم هي وسيلة الوكيل للعمل مع بيانات التطبيق.
التفاصيل
الوصف الأصلي من المؤلف
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
الشعبية
- نجوم GitHub
- 11k
- الترتيب
- #11677
- الترخيص
- —
- آخر تحديث
- 28/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
audience-analyst
11kيساعد وكيلك على تحليل جمهورك وإيجاد شرائح متميزة حسب السلوك والقيمة، وتوصية بالمحتوى الذي تحتاجه كل مجموعة.
content-planner
11kيساعد وكيلك على تخطيط تقويم محتوى أسبوعي أو شهري، فيه المواضيع وتكرار النشر وتوزيع المنصات وهدف واضح خلف كل منشور.
content-writer
11kيساعد وكيلك على كتابة منشورات ورسائل وصفحات هبوط وإعلانات ونصوص جديدة بصوت علامتك التجارية، وبالطول والبنية المناسبين لكل منصة.
data-analyst
11kيساعد وكيلك على تحليل مجموعة بيانات أو جدول، وإيجاد الرؤى المهمة، والتحقق منها بالمقارنات، والتوصية بطريقة رسمها.
مهارات مشابهة
diffs
394kيتيح لوكيلك إنتاج فرق تعديلات حقيقي يمكن مشاركته، كرابط عرض أو ملف صورة، بدلاً من ملخص مكتوب يدوياً.
coding-agent
394kيساعد وكيلك على تسليم مهمة برمجة كبيرة إلى Codex أو Claude Code أو OpenCode كعامل في الخلفية، ثم متابعة تقدمها.
gh-issues
394kيساعد وكيلك على إيجاد مشكلات GitHub واختيار ما ستعمل عليه، وفتح طلبات سحب بالإصلاحات، ومتابعة تعليقات المراجعة.