Skip to content

deployment-designer

Before code implementation, produce a complete deployment plan covering deployment topology, environment configuration, release commands, data migration, rollback strategy, and post-deployment smoke test design. This Skill is the entry point for Phase 3 Step 3.

  • User asks to design a deployment plan, release plan, or go-live plan
  • User mentions “Phase 3 Step 3”, “deployment plan”, or “部署方案”
  • API/DB design is complete and the project needs to enter deployment planning
  • logos/resources/prd/3-technical-plan/3-deployment/ is empty
  1. Architecture overview exists in logos/resources/prd/3-technical-plan/1-architecture/
  2. Scenario implementation docs exist in logos/resources/prd/3-technical-plan/2-scenario-implementation/
  3. API/DB design is complete, or the module has explicitly skipped those phases via skip_phases
  4. logos/logos-project.yaml is readable
  1. Derive deployment targets from architecture, API, DB, and tech stack
  2. Design deployment topology for local / test / staging / production environments
  3. Define environment variables, secret sources, build commands, and release commands
  4. Define data migration, seed data, and rollback strategy
  5. Design post-deployment verification checklist
  6. Design smoke test input for test-writer to generate SMOKE-* cases
  7. Update logos-project.yaml deployment gate information

Reads architecture overview, scenario docs, API specs, DB DDL, and existing deployment plans. Confirms whether the project needs deployment, what target environments exist, and what smoke coverage is needed.

  • Software projects require a deployment plan by default
  • Projects with runtime environments require deployment execution and smoke by default
  • Pure documentation, spec-only, or library projects can declare deployment_required: false

Writes to logos/resources/prd/3-technical-plan/3-deployment/<module>-01-deployment-plan.md:

  • Deployment topology diagram (Mermaid)
  • Environment matrix (local / staging / production)
  • Build and release commands
  • Environment variables and secrets
  • Data migration strategy
  • Rollback plan
  • Post-deployment checklist
  • Smoke test scope definition

Writes deployment_gates section:

deployment_gates:
<module>:
deployment_required: true
smoke_required: true
environments:
- staging

Outputs a smoke scope summary that test-writer Skill consumes to generate SMOKE-* test case IDs in logos/resources/test/smoke/.

ArtifactLocation
Deployment planlogos/resources/prd/3-technical-plan/3-deployment/<module>-01-deployment-plan.md
logos-project.yaml updatedeployment_gates section
Smoke scope inputEmbedded in deployment plan for test-writer consumption