AGENT SKILL
deploy-dev
Run the project on dev-env (your sandbox) and verify it before opening a PR.
- License 许可
- MIT
- 最近更新
- 2026-09-08
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- deploy-dev
- author
- dev-crew
- license
- MIT
- version
- 1.0.0
- metadata
- { "hermes": { "tags": [ "dev-env", "docker", "compose", "verify", "developer" ], "related_skills": [ "implement", "tdd", "code-review" ] } }
- platforms
- [ "linux", "macos", "windows" ]
- description
- Run the project on dev-env (your sandbox) and verify it before opening a PR.
03 SKILL.md 正文
Deploy / verify on dev-env (developer sandbox)
You own dev-env — your sandbox ("Dev Cluster"). Bring the project up there and
verify it actually runs before you open a PR. This is your local Docker: build,
test, iterate, break freely.
When to use
- You finished a change and want to confirm it actually boots/runs (not just passes tests).
- You need to iterate: bring up → test → change → bring up again.
Workflow
- Read the project's
workspace/<project>/compose.ymland README (required env vars, seed steps, health endpoint). - Bring the project up on
dev-env:
The compose must attach tocd /workspace/<project> docker-compose -f compose.yml up -d --builddev-envas an external network (networks: dev-env: { external: true, name: dev-crew-dev-env }). Add it if missing. - Verify health — hit the project's health endpoint (e.g.
curl http://localhost:8080/healthzor the service's/healthzon the network). - Exercise the change against the running service where possible (smoke the path you built).
- Tear down or leave running —
dev-envis a sandbox; break freely.
Rules
- Never deploy to
staging-env— that is devops's pre-prod gate. Ask devops for staging. - Don't commit secrets; env vars come from the project's
.env(gitignored). - The image provides the
docker-compose(standalone v2) binary. If it is missing, use plaindockercommands or ask the manager to run compose from the host. - Record the verification result (command + health output) in the PR description.