| name | review-deployment |
| description | Apply when reviewing code or planning a deployment. Pre-merge checks, migration ordering, rollback strategy, post-deploy verification. |
| license | MIT |
| version | 1.0.0 |
| tokens_target | 800 |
| triggers | ["creating PR","deployment","review checklist"] |
| loads_after | ["git-conventions"] |
| supersedes | [] |
Sub-Skill: Review & Deployment Process
Purpose: Prevents deployment accidents and ensures reviews are more than rubber-stamping.
Concrete checklists the agent runs through before every PR and deployment.
PR Review Checklist (Agent runs this before opening a PR)
Correctness
Security
Performance
Maintainability
Deployment Checklist
Before Deployment
- Check migrations: Are all DB migrations backward-compatible? (No DROP COLUMN without prior deprecation cycle)
- Feature flags: New features behind a feature flag? Especially for large changes.
- Rollback plan: How to roll back if something goes wrong? Documented?
- Monitoring: Are alerts set up for new critical paths?
Deployment Order (for microservices)
- First: Database migrations (additive changes)
- Then: Backend services (new version)
- Last: Frontend (new version)
- Never: Frontend before backend when there are API changes
After Deployment
Escalation Rules
| Situation | Action |
|---|
| Test coverage drops below 70% | Block PR, request additional tests |
| Security vulnerability in dependency | Patch immediately, no merge until fixed |
| Production errors > 1% error rate | Rollback immediately, then analyze |
| Deployment takes > 30 min | Abort, investigate root cause |
Why This Sub-Skill Earns Stars
The agent never forgets security checks or deployment order.
Every PR is reviewed as if a senior developer went through the checklist — automatically.