AGENT SKILL

staging-deploy

Deploy to staging — test, build, push the image, migrate the staging DB, deploy, and smoke-check. Use when the task is deploying to staging.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 1
Forks
0

01 前言 Front Matter

name
staging-deploy
description
Deploy to staging — test, build, push the image, migrate the staging DB, deploy, and smoke-check. Use when the task is deploying to staging.

02 资源文件 2

03 SKILL.md 正文

Deploy to staging by running these steps in order. Stop and report if any step fails; do not proceed to the next step on top of a failure.

  1. Capture the SHA once and reuse it for every later step: SHA=$(git rev-parse --short HEAD). The same value tags the image in step 4 and verifies the deploy in step 7.
  2. Test: pnpm test. All tests must pass — a non-zero exit code stops the deploy here.
  3. Build: pnpm build. Must exit 0.
  4. Push the image: make docker-push TAG=staging-$SHA.
  5. Migrate the staging DB: pnpm db:migrate:staging. The .env file also holds the prod DB URL — confirm the command targets staging before running it; never run a migration command against the prod URL.
  6. Deploy: make deploy-staging.
  7. Smoke-check: curl -s -o /dev/null -w '%{http_code}' https://staging.acme.dev/healthz must return 200, and the sha reported by the deployed service must equal $SHA. Both conditions must hold — a 200 with a stale sha is not a successful deploy.

If the smoke-check fails

Run make rollback-staging immediately, then report the failure.

04 同仓库更多 Skills

StartupBros-com
StartupBros-com/hov-stack

review-adversarial-first

Operator-invoked adversarial review: 3 refute-by-default lenses plus a deterministic judge against a PR, branch, or path, then a decision on whether /ce-code-review's topic fan-out runs. Off the default merge path since the 2026-10-17 merge-and-end ruling; run only when asked for by name.

★ 1
StartupBros-com
StartupBros-com/hov-stack

memory-mine

Run one deterministic, budgeted directed-capture batch for an explicit Claude Code project store. Use manual workspace mode only when cross-agent cass sessions are intentionally in scope.

★ 1
StartupBros-com
StartupBros-com/hov-stack

papers

Search preprints from arXiv, bioRxiv, and medRxiv without API keys. Supports search, lookup, extraction, citations, enrichment, and paper downloads that bundle PDFs plus linked GitHub code.

★ 1
StartupBros-com
StartupBros-com/hov-stack

papers

Search preprints from arXiv, bioRxiv, and medRxiv without API keys. Supports search, lookup, extraction, citations, enrichment, and paper downloads that bundle PDFs plus linked GitHub code.

★ 1
StartupBros-com
StartupBros-com/hov-stack

wsl-cdp

Drive the user's real, logged-in Windows browser (Chrome, Edge, or Brave) from a Claude Code session running inside WSL2, over the Chrome DevTools Protocol - read authenticated dashboards and consoles, take real screenshots, open and read pages with the user's sessions. Use when a task needs the user's existing web logins and the session runs in WSL2, where the Claude in Chrome extension cannot work. Not for native-Windows or macOS Claude Code (use the official Claude in Chrome extension), not for anonymous scraping or CI (use headless Playwright inside WSL), not for getting past login walls (those are handed to the human).

★ 1
StartupBros-com
StartupBros-com/hov-stack

token-eater

[BETA] Spend a subscription's idle, about-to-expire credits on safe, machine-verified cleanup. You pick the service (Grok / Codex / Claude) and a token-heavy maintenance skill (de-monolithize, de-slop, simplify, dead-code); that service runs the whole skill -> gate -> self-review -> draft-PR loop on its own credits, in an isolated worktree. token-eater verifies the gate and never merges. Manual invocation only during beta.

★ 1