PrizmKit Deployment Strategy
Plan comprehensive deployment strategies with rollback procedures tailored to your project's infrastructure.
Commands
prizmkit.deploy-plan
Generate a deployment plan with rollback procedures.
STEPS:
- Read project context from
.prizm-docs/(architecture, tech stack, infrastructure references) - Ask user: deployment target
- Cloud provider (AWS, GCP, Azure)
- Container orchestration (Kubernetes, Docker Swarm, ECS)
- Bare metal / VM-based
- Serverless (Lambda, Cloud Functions, Vercel)
- Ask user: strategy preference
- Blue-green: Zero-downtime with full environment swap
- Canary: Gradual traffic shift to new version
- Rolling: Incremental instance replacement
- Recreate: Stop old, start new (accepts brief downtime)
- Generate
deployment-plan.mdcontaining:- Pre-deployment checklist:
- All tests passing on target branch
- Database migrations prepared and tested
- Backups completed (database, config, artifacts)
- Monitoring and alerting confirmed operational
- Communication sent to stakeholders
- Deployment steps: Specific commands for the chosen strategy and target
- Health check configuration: Endpoints, thresholds, intervals
- Rollback procedure: Step-by-step commands to revert to previous version
- Monitoring points: What to watch during and after deployment
- Post-deployment verification:
- Smoke test endpoints
- Key metric baselines to compare
- User-facing feature verification
- Pre-deployment checklist:
- Generate rollback script (
rollback.sh) if applicable:- Automated rollback with safety checks
- Confirmation prompts before destructive operations
- Logging of rollback actions
- Write to
.prizmkit/deployment-plan.md
Path References
All internal asset paths MUST use ${SKILL_DIR} placeholder for cross-IDE compatibility.
Output
.prizmkit/deployment-plan.md: Complete deployment procedurerollback.sh(if applicable): Executable rollback script
Scan to join WeChat group