xiaohongshu
xiaohongshu
deployment-validator
Validate release readiness through comprehensive pre-deployment checks. Use before deploying schedules, features, or infrastructure changes to production.
Full skill instructions
Comprehensive pre-deployment validation to ensure production readiness and minimize deployment risk.
Code Quality Gate
Database Migration Gate
Schedule Deployment Gate
Infrastructure Gate
1. Check test results
- Unit tests: must pass
- Integration tests: must pass
- Coverage: must exceed threshold
2. Run security checks
- OWASP Top 10 scan
- Dependency vulnerability check
- Secrets detection
3. Verify code quality
- Linting: must pass
- Type checking: must pass
- Complexity: within limits
1. Migration validation
- Syntactically correct
- No unsafe operations
- Tested on copy of prod data
- Rollback working
2. Data integrity
- Backup created
- Constraints still satisfied
- Foreign keys valid
- Indexes updated
3. Performance
- Migration time acceptable
- No long locks
- Monitoring in place
1. Compliance check
- ACGME rules verified
- Coverage adequate
- Staffing realistic
2. Operational check
- Faculty confirmed availability
- Rotation timing valid
- Contingencies in place
3. Communication
- Residents notified
- Faculty acknowledged
- Adjustments documented
1. Capacity verification
- CPU/memory adequate
- Database connections sufficient
- Network bandwidth available
2. Monitoring setup
- Metrics collection active
- Alerting rules configured
- Dashboards ready
- Health checks in place
3. Incident response
- On-call team ready
- Rollback procedure documented
- Communication channels ready
| Risk Factor | Low | Medium | High |
|---|---|---|---|
| Code changes | <100 lines | 100-500 lines | >500 lines |
| Test coverage | >90% | 80-90% | <80% |
| Database changes | Add column | Schema restructure | Table drop |
| Deployment scope | Single component | Multiple components | System-wide |
| Rollback time | <5 minutes | 5-30 minutes | >30 minutes |
Risk Score = Sum of risk levels
## Deployment Readiness Report
**Release:** [VERSION]
**Date:** [DATETIME]
**Deployment Type:** [CODE/DATABASE/SCHEDULE/INFRA]
### Risk Assessment
- Overall Risk Level: [LOW/MEDIUM/HIGH]
- Risk Score: [N/10]
- Blockers: [COUNT]
### Quality Gates
- [x] Code quality
- [x] Tests passing
- [x] Security audit
- [x] Performance acceptable
- [x] Monitoring ready
### Deployment Checklist
- [ ] Pre-deployment steps complete
- [ ] Rollback procedure documented
- [ ] Team notification sent
- [ ] Health checks configured
- [ ] On-call team briefed
### Critical Items
[List anything requiring attention before deployment]
### Recommendation
- [APPROVED / CONDITIONAL / BLOCKED]
### Next Steps
1. [Action 1]
2. [Action 2]
# Full deployment validation
python -m app.deployment.validator --release=current --full
# Skip tests (if already run)
python -m app.deployment.validator --release=current --skip-tests
# Database migration check
python -m app.deployment.validator --type=migration --path=alembic/versions/xxx
# Schedule deployment validation
python -m app.deployment.validator --type=schedule --schedule_id=current
Risk: Medium (time pressure + changes) Validation:
Risk: High (large change scope) Validation:
Risk: Variable (depends on scope) Validation:
Risk: Medium (operational impact) Validation:
Are there deployment blockers?
├─ YES → BLOCK deployment
│ └─ Escalate to human decision
└─ NO → Continue
Are there critical warnings?
├─ YES → Require human approval
│ └─ Document reasoning
└─ NO → Continue
Is rollback time acceptable?
├─ NO → Require automated rollback setup
└─ YES → Proceed
Is on-call team ready?
├─ NO → Delay deployment
└─ YES → APPROVED for deployment
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience