publish
Ce qu’il fait
Permet à l'assistant de mettre en ligne une application web, une page d'état ou un tableau de bord terminé, pour les personnes de votre organisation. Elle s'adresse aux équipes qui veulent un outil interne partagé avec un lien stable.
Quand l’utiliser
- ✓Quand vous voulez qu'un tableau de bord ou une application web interne reste en service après la fin du chat.
- ✓Quand vous avez besoin d'une page d'état partagée que vos coéquipiers peuvent ouvrir dans un navigateur.
- ✓Quand vous voulez restaurer une version antérieure d'une application si quelque chose tourne mal.
Lien du skill
https://github.com/yc-software/qm/blob/main/skills-seed/publish/SKILL.mdCopiez-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
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Publie ce tableau de bord commercial comme page interne que mon équipe peut ouvrir avec un lien stable.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'assistant construit et teste l'application, puis la déploie sur un environnement d'exécution hébergé séparé. Chaque version est conservée, pour qu'une version antérieure puisse être restaurée. Seuls votre périmètre et les personnes avec qui vous partagez peuvent l'ouvrir.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
Publish (internal apps & dashboards)
Use this skill when the user wants something that outlives the turn and is reachable in a browser — a small web app, an internal API, a status page, a dashboard you generated from a query. Publishing ships your files from the selected sandbox to a separate, long-lived runtime with a stable link.
Publish with the apps tool, action publish. Build the app in the workspace with
files actions write / read; install dependencies and test with execute. Keep the
same explicit sandbox_id throughout writing, building, testing, previewing, and
publishing. Use sandbox only to manage computers, not to run commands.
The app must listen on the PORT env var (the runtime sets it).
Match the house style (the default)
Anything browsable you publish should look designed, not defaulted. Before you build the UI, load the design skills and apply your organization's house style unless the user asked for a different look:
- The deployment's house-style skill — if the Skills index lists a
*-designskill, it carries the org's look as ready-to-paste CSS and design tokens. Start there for the look. taste-skill— the design process: reading the brief, layout, hierarchy, verifying the result, avoiding generic AI-design slop.popular-web-designs— when the user wants a specific visual reference (Stripe, Linear, Vercel…).
This is about the page a person sees — skip it for an internal-only API or a script with no UI.
Publishing
First publish, and every later update — same call, same name, a new immutable version:
apps({ action: "publish", dir: "dist", entrypoint: "node server.js", name: "status-board", sandbox_id: "<selected sandbox ID>" })
Roll back to an earlier version (an instant pointer flip):
apps({ action: "publish", name: "status-board", rollbackTo: 3 })
Give an auto-named deployment a friendly link:
apps({ action: "publish", renameFrom: "s-1176-p-5050", name: "status-board" })
apps action publish returns { id, name, version, url, dataDir? } — give the user the full absolute url, whose path is /d/<name>/.
App bar and editing
On a configured app subdomain, signed-in people who can manage the app automatically see a slim top bar. Chat opens a resizable editing conversation beside the app. Normal app links and refreshes keep editing available for the signed-in session; viewers with read-only access see the app alone.
The bar uses a consistent neutral appearance, independent of the app's theme. Its name follows the app document title. The drawer opens directly into an empty composer; the app identity is supplied as conversation context, not pasted into the draft. The conversation survives app reloads after a publish.
Durable data — where app state must live
The app's disk is reset from source on every relaunch, with one exception: when the
runtime supports durable app data it sets $DATA_DIR (and the publish result reports
dataDir). Everything the app writes under $DATA_DIR survives restarts, redeploys, and
platform recycles.
- Any state the app keeps — write it under
$DATA_DIR. Never beside the code, never in/tmp, never in a JSON file in the app dir: all of that silently vanishes on the next relaunch. - Database: SQLite at exactly
$DATA_DIR/app.db. That specific path gets the strongest durability the runtime offers (continuous replication where enabled — ~seconds of loss window — periodic snapshots otherwise). Other files under$DATA_DIRare snapshotted periodically. - Guard the no-persistence case: if
$DATA_DIRis unset, the runtime has no durable app storage — don't build an app that quietly accumulates state on disk; say so and bake data in or fetch it live instead. - Updating an existing stateful app? If it writes runtime state (a db, uploads,
counters) anywhere else, move that state under
$DATA_DIRas part of the update — do this on your own initiative; the user should never have to ask. Data deliberately baked into the repo (seed/reference files) stays where it is.
Check your work before you call it done
A published app is a new immutable version the moment the runtime accepts it — that is not the same as the app working. So for anything browsable, sanity-check it locally before you publish:
- Run it locally. Start the server in the background on a port — e.g.
PORT=8080 node server.jsviaexecutewit
Questions fréquentes
N'importe qui sur Internet peut-il voir l'application ?
Non. Le lien est interne, donc seuls votre périmètre et les personnes avec qui vous le partagez peuvent l'ouvrir.
Que signifie le retour arrière ici ?
Chaque version publiée est conservée, l'assistant peut donc ramener l'application à une version antérieure si besoin.
L'application a-t-elle besoin d'un port particulier ?
Oui. L'application doit écouter sur le réglage PORT, fourni par l'environnement d'exécution.
Détails
Description originale de l’auteur
Publish a long-lived internal web app, site, or dashboard from the agent computer. Scope-bound (only the owner's scope, plus whoever you share it with, can reach it), immutable versions with rollback, a stable friendly link. No public URL.
repo: yc-software/qm
Popularité
- Étoiles GitHub
- 16k
- Position au classement
- #10902
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
deploy-qm
16kDéploie le paquet QM sur Fly.io, AWS ou Render, puis configure un administrateur, les connecteurs et Slack si besoin, selon une liste de contrôle complète.
onboarding
16kGuide un nouvel utilisateur pour connecter ses comptes, expliquer sa façon de travailler, choisir une voix et configurer une première aide, en une seule courte conversation.
admin
16kPermet à un administrateur vérifié de consulter ou modifier les réglages de toute l'organisation depuis le chat, en confirmant chaque changement avant de l'appliquer.
browse
16kPilote un vrai navigateur furtif pour agir sur des sites, comme se connecter ou remplir un formulaire, avec des connexions gardées par personne. Pour agir, pas pour lire.
Skills similaires
openclaw-update
394kAide votre agent à mettre à jour une passerelle OpenClaw existante, en choisissant la méthode adaptée à son installation et en gardant votre session active.
diagnose-gateway
394kAide votre agent à trouver pourquoi votre passerelle OpenClaw échoue, en vérifiant les paramètres, les canaux et les ports sans rien modifier.
crabbox-apps
394kAide votre agent à ouvrir et exécuter une application sur une machine cloud temporaire, puis à afficher sa vue dans le panneau latéral de votre chat.