跳到正文
cccskills
免费在 GitHub 公开

run-app

Run the Macro app on Cursor Cloud and pick up edits. Use when asked to run the app, open it in the browser, test a frontend or backend change, hot reload, or before touching stack.sh, rebuild.sh, frontend.sh, or just stack.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Run the app

The app is http://localhost:3000/app. Open it in the VM browser. The user's laptop cannot reach these URLs.

GoalCommand
Startbash .cursor/stack.sh
After a Rust editbash .cursor/rebuild.sh
After an apps/web editsave the file

The .cursor scripts re-enter the pinned nix shell. For any other docker, just, bun, or doppler command, prefix with nix develop /workspace --command.

Do not run just run_local. That is the laptop TUI.

Start

bash .cursor/stack.sh

Let the first run finish. It compiles whatever changed since the environment bake. Do not kill the Nix build, copy binaries out of /nix/store, or replace this with hand-rolled docker compose.

Log in with any email. The login API returns the code. Codes also land in Mailpit at http://localhost:8025.

After a Rust edit

bash .cursor/rebuild.sh

Volumes stay. If the log says binaries are unchanged, the mounts were left alone.

Do not run just stack up or stack.sh --fresh to pick up an edit. up deletes the stack and recreates it. Use --fresh only when you mean to wipe.

cargo build and just build do not remount containers. rebuild.sh is the remount path.

After an apps/web edit

Save the file. Vite watches apps/web. If the page does not update, read ~/.cursor-cloud/frontend-dev.log for hmr update.

If http://localhost:3000/app stops responding, restart the dev server:

bash .cursor/frontend.sh stop && bash .cursor/frontend.sh

Use the same restart after a frontend dependency or Vite config change.

Do not run just stack update --frontend. That builds a static bundle. This Cloud stack does not serve one. On a --no-frontend stack that flag then tells you to re-run just stack up, which wipes volumes.

Show the change

Bring the stack up, log in, and demonstrate the change in the UI. Unit tests and SQL probes are not a walkthrough.

If login fails

If the page says "unable to lookup identity providers", FusionAuth is in maintenance mode. docker ps shows macro-fusionauth-1 as unhealthy. curl localhost:9011/api/status returns 302.

docker restart macro-fusionauth-1

Wait until the container is healthy.

If the page loads and API calls fail, the backend is down. Run just stack status --json, then bash .cursor/stack.sh.

Do not chase agent_harness_service restart loops when DOPPLER_TOKEN is absent. That loop is expected.

Status

just stack status --json
docker compose -p macro logs -f <service>

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 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/macro47232026年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/macro47232026年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/macro47232026年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/macro47232026年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/macro47232026年10月19日 更新

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

中文简介正在准备中。当前显示原文说明。

macro-inc/macro47232026年10月19日 更新

查看 macro-inc 的全部技能

报告此技能的问题