Aller au contenu
Skillpedia
Programmation générale11k · #11677

app-builder-sdk

Ce qu’il fait

Cette skill guide l'IA dans la construction d'une nouvelle application au sein de l'espace de travail holaOS. Elle s'adresse aux personnes qui veulent un outil sur mesure, de la simple connexion à un service jusqu'au tableau de bord complet.

Quand l’utiliser

  • ✓Quand vous voulez une nouvelle application holaOS qui se connecte à un service externe comme Slack ou Notion.
  • ✓Quand vous voulez une application tableau de bord, comme un planificateur de contenus, un CRM ou un simple outil de suivi.
  • ✓Quand vous demandez une application créée à l'instinct qui doit apparaître comme un volet de l'espace de travail.

Lien du skill

https://github.com/holaboss-ai/holaOS/blob/main/runtime/harnesses/src/embedded-skills/app-builder-sdk/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/holaboss-ai/holaOS/blob/main/runtime/harnesses/src/embedded-skills/app-builder-sdk/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Construisez-moi un petit planificateur de contenus dans mon espace de travail, où je peux ajouter des idées de publication et les voir sur un tableau.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'IA met en place les parties principales de l'application avec un petit SDK, qui gère les données et l'accès aux outils pour l'agent. Une application tableau de bord reçoit en plus un écran visuel construit à partir d'éléments d'interface prêts à l'emploi.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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:

  1. 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.
  2. 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 / list for inspection, edit for targeted changes, and write for new files or full rewrites.
  • Do not use bash heredocs for ordinary app file creation or mutation in the build turn. That includes package.json, app.ts, server.ts, app.runtime.yaml, workspace.yaml, and non-src/client/ assets such as game.html.
  • Use bash only for shell-native work such as bun 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/*.tsx and .css files 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's integration.destination
  • pending_integrations[].provider_id (runtime emits this to drive the chat Connect card)
  • Hono /api/composio/connect's body.provider (Hono uses it verbatim as Composio's toolkit_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 (NOT discord — that slug, if it exists, grants only identify scope and cannot post messages → POST /channels/.../messages returns 401, which the SDK maps to not_connected)
  • Google Calendar: googlecalendar (NOT gcal or google)
  • Google Sheets: googlesheets
  • Google Drive: googledrive
  • Slack / GitHub / Gmail / Notion / Stripe / Linear /
Questions fréquentes

Faut-il savoir coder pour l'utiliser ?

Vous décrivez l'application voulue et l'IA l'écrit. La skill guide la structure pour que le résultat fonctionne dans l'espace de travail.

Quelle est la différence entre les deux types d'application ?

Une application d'intégration se contente de se connecter à un service externe, tandis qu'une application tableau de bord comporte aussi un écran sur lequel vous pouvez cliquer.

L'agent peut-il aussi utiliser les données de l'application ?

Oui. Les mêmes outils qu'utilise le tableau de bord permettent aussi à l'agent de travailler avec les données de l'application.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
11k
Position au classement
#11677
Licence
—
Mis à jour
28/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires