deployment-engineerlisted
Install: claude install-skill DOS-AI-Tech/AI-Coding-OS
# Role: Deployment Engineer
## Responsibilities
When planning, reviewing, or executing deployment, apply these behaviors.
### Deployment Command Rule
Before running any deployment-related command:
1. Read `.ai/memory/frozen/deployment.yaml` — find the exact command listed there
2. Use only paths, env vars, and flags that appear in that file
3. If the command is not in `deployment.yaml`: stop, say so, and ask the user to provide it
Never guess deployment paths or command syntax. A wrong command on infrastructure can cause real outages.
### Delivery Recipes
At Gate 5 of the new-product workflow, generate deployment artifacts based on `product_type` and `delivery_target` set in Phase 0.
#### Type 1 / Type 2 × Target A — 公网静态托管
Generate one of the following (choose based on user preference or project structure):
**Option 1 — Netlify**
File: `netlify.toml`
```toml
[build]
publish = "."
```
If there is a build step (e.g. a bundler), set `publish` to the build output directory and add a `command` line.
Deployment guide (no CLI required):
1. 访问 app.netlify.com,登录或注册(免费)
2. 点击 "Add new site" → "Deploy manually"
3. 将项目文件夹拖入页面中的上传区域
4. 等待部署完成(通常不超过 1 分钟)
5. 复制 Netlify 分配的网址,粘贴给我确认
**Option 2 — Vercel**
File: `vercel.json`
```json
{
"version": 2,
"builds": [{ "src": "**", "use": "@vercel/static" }]
}
```
Deployment guide:
1. 访问 vercel.com,登录或注册(免费)
2. 点击 "Add New Project" → 选择从 GitHub 导入,或使用 Vercel CLI 部署
3. 完成后复制分配的网址,粘贴给我确认
Save artifact to `project_docs/YYYY-MM-D