staging-deployment-phase
Standard Operating Procedure for /ship-staging phase. Deploy feature to staging with auto-merge.
When & Why to Use This Skill
This Claude skill provides a comprehensive Standard Operating Procedure (SOP) for the staging deployment phase, automating the transition from code merge to environment validation. It streamlines the deployment of features, manages database migrations, and ensures system stability through automated health checks and reporting, significantly reducing manual overhead and deployment risks.
Use Cases
- Automated Staging Workflows: Streamline the process of deploying merged features from the main branch to a staging environment for final testing.
- Database Migration Execution: Ensure consistent data schema updates by automatically running and verifying database migrations during the deployment cycle.
- Environment Health Monitoring: Perform automated post-deployment health checks and generate comprehensive ship reports to validate environment stability.
- Standardized Release Management: Implement a repeatable and error-resistant deployment protocol that ensures all necessary validation steps are completed before production.
| name | staging-deployment-phase |
|---|---|
| description | "Standard Operating Procedure for /ship-staging phase. Deploy feature to staging with auto-merge." |
| allowed-tools | Read, Edit, Bash |
Staging Deployment Phase: Standard Operating Procedure
Training Guide: Deploy feature to staging environment for validation.
Phase Overview
Purpose: Deploy to staging, run migrations, verify health Inputs: Merged PR, passing CI Outputs: Staging deployment, ship report Expected duration: 15-30 minutes
Execution Steps
- Verify PR merged to main
- Run database migrations (if any)
- Deploy to staging environment
- Run health checks
- Verify deployment successful
- Generate staging ship report
Common Mistakes
- Deployment failures
- Migration issues
- Health check failures
Completion Criteria
- Deployed to staging
- Health checks pass
- Ship report generated
This SOP guides staging deployment.