본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)16k · #10902

publish

하는 일

이 스킬은 어시스턴트가 완성된 웹 앱, 상태 페이지, 대시보드를 조직 구성원이 쓸 수 있도록 온라인에 올리게 합니다. 안정적인 링크가 있는 공유 내부 도구를 원하는 팀을 위한 스킬입니다.

사용하는 경우

  • ✓채팅이 끝난 뒤에도 대시보드나 내부 웹 앱이 계속 실행되기를 원할 때.
  • ✓팀원들이 브라우저에서 열 수 있는 공유 상태 페이지가 필요할 때.
  • ✓무언가 잘못되었을 때 앱의 이전 버전을 복원하고 싶을 때.

스킬 링크

https://github.com/yc-software/qm/blob/main/skills-seed/publish/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/yc-software/qm/blob/main/skills-seed/publish/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 영업 대시보드를 팀이 안정적인 링크로 열 수 있는 내부 페이지로 게시해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

어시스턴트는 앱을 만들고 테스트한 뒤, 별도의 호스팅 런타임에 배포합니다. 각 릴리스는 버전으로 보관되므로 이전 버전으로 되돌릴 수 있습니다. 사용자의 범위와 공유한 사람만 열 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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 *-design skill, 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_DIR are snapshotted periodically.
  • Guard the no-persistence case: if $DATA_DIR is 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_DIR as 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:

  1. Run it locally. Start the server in the background on a port — e.g. PORT=8080 node server.js via execute wit
자주 묻는 질문

인터넷의 누구나 앱을 볼 수 있나요?

아닙니다. 링크는 내부용이므로 사용자의 범위와 공유받은 사람만 열 수 있습니다.

여기서 롤백은 무슨 뜻인가요?

게시된 각 버전이 보관되므로, 필요하면 어시스턴트가 앱을 이전 버전으로 되돌릴 수 있습니다.

앱에 특별한 포트가 필요한가요?

네. 앱은 런타임이 제공하는 PORT 설정에서 대기해야 합니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
16k
순위
#10902
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬