publish
Fungsinya
Memungkinkan asisten menayangkan aplikasi web, halaman status, atau dasbor yang sudah jadi untuk orang di dalam organisasi Anda. Cocok untuk tim yang menginginkan alat internal bersama dengan tautan yang stabil.
Kapan dipakai
- βSaat Anda ingin dasbor atau aplikasi web internal tetap berjalan setelah chat berakhir.
- βSaat Anda memerlukan halaman status bersama yang bisa dibuka rekan tim di peramban.
- βSaat Anda ingin versi aplikasi sebelumnya dipulihkan jika terjadi masalah.
Link skill
https://github.com/yc-software/qm/blob/main/skills-seed/publish/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βTayangkan dasbor penjualan ini sebagai halaman internal yang bisa dibuka tim saya lewat tautan yang stabil.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Asisten membangun dan menguji aplikasi, lalu mengirimkannya ke runtime hosting terpisah. Setiap rilis disimpan sebagai versi, sehingga versi sebelumnya bisa dipulihkan. Hanya cakupan Anda dan orang yang Anda bagikan yang bisa membukanya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apakah siapa pun di internet bisa melihat aplikasinya?
Tidak. Tautannya bersifat internal, jadi hanya cakupan Anda dan orang yang Anda bagikan yang bisa membukanya.
Apa arti rollback di sini?
Setiap versi yang ditayangkan disimpan, sehingga asisten bisa mengembalikan aplikasi ke versi sebelumnya jika diperlukan.
Apakah aplikasi memerlukan port khusus?
Ya. Aplikasi harus mendengarkan pada pengaturan PORT, yang disediakan oleh runtime.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 16k
- Peringkat
- #10902
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
deploy-qm
16kMenerapkan paket QM ke Fly.io, AWS, atau Render, lalu menyiapkan administrator, konektor, dan opsional Slack, mengikuti daftar periksa penerapan yang lengkap.
onboarding
16kMemandu pengguna baru menghubungkan akun, menjelaskan cara kerja mereka, memilih suara, dan menyiapkan bantuan pertama, dalam satu percakapan singkat.
admin
16kMemungkinkan administrator organisasi yang terverifikasi memeriksa atau mengubah pengaturan tingkat organisasi dan cakupan lain dari chat, dengan mengonfirmasi setiap perubahan sebelum dibuat.
browse
16kMenjalankan peramban web sungguhan yang tersembunyi dari shell untuk bertindak di situs web, seperti masuk atau mengisi formulir, dengan sesi masuk yang dipisahkan per orang. Untuk tindakan, bukan membaca.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.