// Plans deployment with functionality-first, context-dependent approach. Use PROACTIVELY when planning feature deployments. First understands functionality using universal questions and context-dependent flows, then plans deployment strategy to support that functionality. Understands project deployment patterns and conventions. Focuses on deployment that enables functionality, not generic deployment patterns. Provides specific deployment and rollback strategies with examples.
| name | deployment-patterns |
| description | Plans deployment with functionality-first, context-dependent approach. Use PROACTIVELY when planning feature deployments. First understands functionality using universal questions and context-dependent flows, then plans deployment strategy to support that functionality. Understands project deployment patterns and conventions. Focuses on deployment that enables functionality, not generic deployment patterns. Provides specific deployment and rollback strategies with examples. |
| allowed-tools | Read, Grep, Glob |
NO DEPLOYMENT WITHOUT VERIFICATION FIRST
CRITICAL: Before planning deployment, understand functionality using context-dependent analysis. Verify deployment supports functionality at each step.
CRITICAL: Before planning deployment, understand functionality using context-dependent analysis.
Core Principle: Understand what functionality needs deployment (using universal questions and context-dependent flows), then plan deployment strategy to support that functionality. Deployment exists to enable functionality, not for its own sake.
Plan deployment by first understanding functionality, then creating deployment strategy.
Example:
Result: Deployment strategy that enables functionality with rollback safety.
DEPLOYMENT NEEDED?
โ
โโ Understand Functionality First
โ โโ Context-dependent analysis complete? โ Continue
โ โโ Not complete? โ STOP, complete functionality analysis first
โ
โโ Understand Project Patterns
โ โโ Deployment method identified? โ Continue
โ โโ Not identified? โ Analyze project configs first
โ
โโ Plan Deployment Strategy
โ โโ Supports functionality flows? โ Continue
โ โโ Generic patterns? โ STOP, refocus on functionality
โ
โโ Execute Deployment
โโ Verify functionality at each step? โ Continue
โโ Skip verification? โ STOP, add verification
Use PROACTIVELY when:
Functionality-First Process:
Reference: See Functionality Analysis Template for complete template.
Process:
CRITICAL: Understand how this project deploys before planning deployment strategy.
Project Context Analysis:
package.json scripts, Dockerfile, CI/CD configs, infrastructure configsโ ๏ธ IMPORTANT: Only plan deployment AFTER you understand functionality and project deployment patterns.
Functionality-Focused Deployment Checklist:
Priority: Critical (Core Functionality):
Priority: Important (Supporting Functionality):
CRITICAL: Provide specific, actionable deployment strategies with examples, not generic patterns.
Plan deployment steps aligned with functionality flows. Deploy dependencies first, verify functionality at each step.
Reference: references/deployment-steps.md for detailed guidance with examples.
3-level rollback model: Feature Flag (< 5 min), Configuration Rollback (< 10 min), Code Rollback (< 15 min). All aligned with functionality.
Reference: references/rollback-strategies.md for detailed rollback patterns and triggers.
Staged rollout that tests functionality at each stage (10% โ 50% โ 100%). Monitor functionality metrics, not just deployment success.
Reference: references/staged-deployment.md for detailed staged rollout patterns.
Monitor functionality metrics aligned with flows (User Flow, System Flow, Integration Flow). Set up alerts and rollback triggers based on functionality health.
Reference: references/monitoring-observability.md for detailed monitoring patterns and setup.
If you catch yourself thinking:
ALL of these mean: STOP. Return to Step 1 (Functionality Analysis).
| Phase | Key Activities | Success Criteria |
|---|---|---|
| 1. Functionality Analysis | Context-dependent analysis, universal questions, flows | Functionality understood |
| 2. Project Patterns | Read configs, identify patterns, understand conventions | Deployment method identified |
| 3. Plan Strategy | Align deployment with functionality, plan rollback | Strategy supports functionality |
| 4. Execute | Deploy with verification, monitor functionality | Functionality works at each step |
For detailed deployment strategies, see:
references/deployment-steps.md: Detailed deployment steps aligned with functionality flows, deployment order, verification stepsreferences/rollback-strategies.md: 3-level rollback model, rollback triggers, functionality-based rollback decisionsreferences/staged-deployment.md: Staged rollout patterns (10% โ 50% โ 100%), functionality testing at each stagereferences/monitoring-observability.md: Functionality metrics, monitoring setup, alert configuration, rollback triggersFor additional patterns and reference materials, see:
This skill is loaded by orchestrator workflows when deployment planning is detected. The orchestrator coordinates:
CRITICAL: Maintain functionality-first approach. Deployment planning must follow functionality analysis.
Common Issues:
Deployment planning without understanding functionality
Generic deployment patterns instead of functionality-focused
Deployment strategy not aligned with project patterns
If issues persist:
Critical (Must Have):
Important (Should Have):
Minor (Can Defer):
Remember: Deployment exists to support functionality. Don't plan deployment for deployment's sake! Understand functionality first, understand project patterns second, then plan deployment to support functionality.