一键导入
deploy
Build and deploy garmin_api backend and/or frontend. Rebuilds WASM, Docker images, and restarts containers.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build and deploy garmin_api backend and/or frontend. Rebuilds WASM, Docker images, and restarts containers.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run a comprehensive codebase audit across architecture, quality, security, and performance dimensions. Dispatches specialized agents.
Run cargo check and clippy on the Rust workspace. Quick code quality gate.
Run a Python tool via pipx (auto-installs if needed). Use for Playwright, black, ruff, etc. ALWAYS use this instead of pip install or direct python tool invocation.
Review uncommitted or staged changes for bugs, security issues, and code quality. Use before committing.
| name | deploy |
| description | Build and deploy garmin_api backend and/or frontend. Rebuilds WASM, Docker images, and restarts containers. |
| argument-hint | ["all|api|dash"] |
Build and deploy the Garmin API stack. Target: $ARGUMENTS (default: all).
| Argument | What it does |
|---|---|
all (or empty) | Deploy both API backend and dashboard frontend |
api | Backend only: cargo build --release + docker compose up --build |
dash | Frontend only: trunk build --release + docker compose up --build |
cd /home/mo/data/Documents/git/garmin_apicargo build --releasedocker compose up -d --builddocker compose exec app wget -qO- http://localhost:3000/healthcd /home/mo/data/Documents/git/garmin_api/frontendtrunk build --releasedocker compose up -d --builddocker compose exec app curl -sf http://localhost:80/ | head -1Report container status after deploy:
docker compose ps for each stackIf a build fails, stop and report the error — do not deploy a broken build.