본문으로 건너뛰기
cccskills
무료GitHub에 공개

local-preview

Start a local preview of the app for the user and share an HTTPS link to it. Use when asked for a local preview, to "run it", "spin it up", "show me", or for a link to try a change on this machine (not Cursor Cloud; that is the run-app skill).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Local preview

Two ways to preview, from running locally. Pick one, start it, and hand the user an HTTPS hostname link.

PreviewRunsUse when
Web app onlyVite in apps/web against hosted *-dev servicesThe change is frontend-only (apps/web, packages/)
Full stackDocker infra, local Rust services, Caddy proxy, frontendThe change touches crates/, services/, migrations, or needs private data

1. Choose

  • Look at the changed files (git diff --name-only $(git merge-base HEAD origin/main) plus uncommitted ones). Only frontend paths: web app. Only backend paths, or both: full stack (it includes the frontend).
  • If it isn't obvious (no changes yet, or the user wants to try something unrelated to the diff), ask the user: "web app only, or the full local stack?" Mention the trade: the web app starts in a minute against shared dev data; the stack takes several minutes and runs everything locally.

2. Start it

Web app only

  1. Pick a free port; never assume 3000 is yours: lsof -nP -iTCP:<port> -sTCP:LISTEN -t. Reuse a running Vite only if its cwd (lsof -p <pid> | awk '$4=="cwd"') is this worktree.
  2. From apps/web, inside the Nix shell, run PORT=<port> bun run dev in the background. The first run may build wasm for a few minutes.
  3. Wait for Vite to print App: https://<hostname>:<port>/app/.

Full stack

  1. Use a named instance per worktree so you never collide with another session: --instance <worktree-name>. Never stop, reset, or destroy an instance you didn't start.
  2. Prefer headless for an agent: just stack up --instance <name> (add --no-doppler if Doppler isn't authenticated). It serves a static build of the frontend; after frontend edits run just stack update --frontend --instance <name>, after Rust edits just stack update --instance <name>. If the user wants live reload, run just run_local --instance <name> attached in a terminal they can see instead.
  3. Read the proxy port from just stack status --json --instance <name>, and build the link from hostname, even if a URL is printed with localhost.
  4. Offer seed data: just seed-scenario --instance <name> apply --file seed/scenarios/team-perms.json prints persona login links.

If startup fails, run just doctor-local --instance <name>; for running-stack problems use the live-debug skill. Don't wipe volumes to recover.

3. Share the link

Always share the HTTPS URL on the machine's hostname, never localhost, an IP address, or plain HTTP:

  • Web app: https://<hostname>:<port>/app/
  • Full stack: https://<hostname>:<proxy-port>/app/

The certificate is issued from the repo's development CA for the output of hostname (plus localhost and loopback); an IP address isn't in it, so an IP link fails TLS. Tell the user, once:

  • Trust infra/local/certs/ca.pem on the viewing machine (see infra/local/certs/README.md).
  • The viewer must resolve the hostname and reach the port (same network or tailnet).
  • Sign in with an email code on that hostname. On the web-app preview it is a real email to a dev account; on the stack the code lands in Mailpit, served at https://<hostname>:<proxy-port>/mailpit/ by a headless stack (with attached run_local, use the Mailpit URL it prints).

Public links: only if the user explicitly asks to share outside their network. Then the stack needs just run_local --instance <name> --with-cf-tunnel, which prints a https://….trycloudflare.com/app/ URL. Say first that it publishes a passwordless-login stack to the internet.

4. Report

One short message: which preview and why, the HTTPS link, how to sign in, how to stop it (q in an attached run_local, just stop_local --instance <name> for headless, or the background Vite process), and anything that failed or was skipped.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Wrap a new backend endpoint in the TypeScript SDK (packages/sdk), or record it as skipped. Use when `just coverage` fails, or after adding an endpoint to a Rust service.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

macro-inc/macro4.7천2026년 10월 19일 업데이트

add-tour

무료

Add or change an in-app feature tour (a view's guided flyover) in the web app. Use when adding a tour to a view, adding or editing tour steps, pointing a step at a new control, or when a step's target needs something opened first.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

macro-inc/macro4.7천2026년 10월 19일 업데이트

audit

무료

Post-change checks before handing off. Works out which checks apply from the files changed (directory AGENTS.md Checks sections and matching .agents/rules), runs or verifies each, and reports pass/fail/skipped. Use before saying work is done, before pushing, or when asked to audit or verify a change.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

macro-inc/macro4.7천2026년 10월 19일 업데이트

Enforce hexagonal architecture in the Rust backend. Use before modifying crates/ or Rust services, especially inbound axum/tool/listener adapters, domain services/ports, outbound adapters, authorization, permissions, database access, or external clients.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

macro-inc/macro4.7천2026년 10월 19일 업데이트

Use when adding collaborative markdown, notes, or descriptions to a feature with collab surfaces. Covers parent entities, service entry points, authorization, content storage, and lifecycle.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

macro-inc/macro4.7천2026년 10월 19일 업데이트

Build a new AI tool end-to-end — Rust implementation, toolset wiring, infra, schema generation, and frontend UI.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

macro-inc/macro4.7천2026년 10월 19일 업데이트

macro-inc의 스킬 모두 보기

이 스킬의 문제 신고