staging-deploy
Deploying, shipping, or pushing the app to staging. Use whenever asked to deploy, ship, or push to staging.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- staging-deploy
- description
- Deploying, shipping, or pushing the app to staging. Use whenever asked to deploy, ship, or push to staging.
02 资源文件 2
- 参考文档grading.json1.0 KB
- 参考文档meta.json202 B
03 SKILL.md 正文
Deploy the current commit to staging: test, build, push, migrate, deploy, smoke-check.
Steps
- Run the test suite:
pnpm test. Done when it exits 0 — do not proceed past a failure. - Build:
pnpm build. Done when the build exits 0. - Push the image:
make docker-push TAG=staging-<git-sha>, using the current commit's short sha. Done when the push completes and that tag appears in the registry output. Keep the sha — step 6 checks against it. - Migrate:
pnpm db:migrate:staging. Never run a migrate command against the prod URL — it sits in the same.envas the staging URL, so confirm you're invoking the:stagingscript and not passing a URL by hand. Done when the migration output reports success against the staging DB. - Deploy:
make deploy-staging. Done when the command exits 0. - Smoke-check: request
https://staging.acme.dev/healthzand confirm it returns 200 and reports the sha pushed in step 3. Both must match — a 200 with a stale sha is not done.
Rollback
If step 6 fails, or staging misbehaves after deploy, run make rollback-staging.
04 同仓库更多 Skills
tune
Find and fix real defects in a skill, AGENTS.md, or CLAUDE.md, then prove the description still routes. Runs the bundled token-spending runner, so it starts only on the human's explicit instruction.
skill-tuner
Evidence-tagged rules for writing documents agents consume. Use when creating, editing, or shortening skills, AGENTS.md, or CLAUDE.md.
portfolio
Inventory every skill the agent is shown, with its per-turn listing cost, usage count and visibility knob, then decide one skill at a time whether the model should start it on its own. Reads files only; starts on the human's explicit instruction.
shipit
Release builds with the shipit CLI. Use when releasing or promoting a build to staging or prod, checking a release manifest, or rolling back a shipit deployment.
shipit
Release builds with the shipit CLI. Use when releasing or promoting a build to staging or prod, checking a release manifest, or rolling back a shipit deployment.
shipit
Release builds with the shipit CLI. Use when releasing or promoting a build to staging or prod, checking a release manifest, or rolling back a shipit deployment.