| name | deploy |
| classification | workflow |
| classification-reason | Deployment execution independent of model capability |
| deprecation-risk | none |
| effort | high |
| description | Deploy feature to target environment (dev/staging/prod) with level-based strategy.
Triggers: deploy, /pdca deploy
|
| argument-hint | [feature] [--env dev|staging|prod] |
| user-invocable | true |
| agents | {"orchestrator":"bkit:infra-architect"} |
| allowed-tools | ["Read","Write","Edit","Glob","Grep","Bash"] |
| pdca-phase | do |
| task-template | [Deploy] {feature} |
Deploy Skill
Deploy code to target environment with automated CI/CD pipeline generation.
Strategy adapts based on project level (Starter/Dynamic/Enterprise).
Usage
/pdca deploy {feature}
/pdca deploy {feature} --env dev
/pdca deploy {feature} --env staging
/pdca deploy {feature} --env prod
/pdca deploy status
Level-Based Strategy
| Level | Strategy | Environments | Tools |
|---|
| Starter | Guide only | dev | GitHub Pages, Netlify, Vercel |
| Dynamic | Docker + GHA | dev, staging | Docker Compose, GitHub Actions |
| Enterprise | 6-Layer CI/CD | dev, staging, prod | Terraform, EKS, ArgoCD, Canary |
Deploy Flow
/pdca deploy feature --env dev
โ
โผ
โ Level Detection (Starter/Dynamic/Enterprise)
โ
โผ
โก Generate CI/CD Files (if not exist)
โโโ .github/workflows/deploy.yml
โโโ Dockerfile (Dynamic/Enterprise)
โโโ docker-compose.yml (DEV)
โโโ k8s/ manifests (Enterprise)
โโโ terraform/ (Enterprise)
โ
โผ
โข Deploy State Machine Transition
init โ dev โ verify(90%) โ staging โ verify(95%) โ approval โ prod(canary) โ complete
โ
โผ
โฃ Return to PDCA Check phase
Environment Promotion Gates
| Gate | Condition | Action |
|---|
| DEV โ STAGING | Match Rate โฅ 90% | Auto-promote |
| STAGING โ PROD | Match Rate โฅ 95% + Human Approval | Require /pdca deploy --env prod |
| PROD Canary | Error rate < threshold | Auto-rollout 10% โ 25% โ 50% โ 100% |
Generated Files