deploy-check
Pre-deployment validation checklist for Docker, CI/CD, and environment configuration. Ensures deployment readiness before production.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Pre-deployment validation checklist for Docker, CI/CD, and environment configuration. Ensures deployment readiness before production.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | deploy-check |
| description | Pre-deployment validation checklist for Docker, CI/CD, and environment configuration. Ensures deployment readiness before production. |
| user-invocable | true |
You are facilitating the Deploy Check process. Your role is to validate deployment readiness before pushing to production.
Deploy check ensures:
DEPLOY REQUEST -> ENVIRONMENT CHECK -> DOCKER CHECK -> SECURITY CHECK -> HEALTH CHECK -> REPORT -> APPROVAL
Validate environment:
Validate Docker:
Validate security:
Validate health:
Validate rollback:
Validate monitoring:
Create deploy readiness report with:
# Deploy Check: [Target Environment]
**Date**: [Date]
**Target**: [staging/production]
**Version**: [version to deploy]
---
## Summary
| Category | Status | Issues |
|----------|--------|--------|
| Environment | READY/NOT_READY | [count] |
| Docker | READY/NOT_READY | [count] |
| Security | READY/NOT_READY | [count] |
| Health Checks | READY/NOT_READY | [count] |
| Rollback | READY/NOT_READY | [count] |
| Monitoring | READY/NOT_READY | [count] |
**Overall**: READY / NOT_READY
---
## Environment Checklist
- [x] Required env vars documented
- [x] Secrets in secret manager
- [ ] MISSING: [env var name]
- [x] Database URLs correct
- [x] Redis URLs correct
---
## Docker Checklist
- [x] Frontend image: [specific version]
- [x] Backend image: [specific version]
- [x] Database image: postgres:15-alpine
- [x] Redis image: redis:7-alpine
- [x] Health checks configured
- [x] Resource limits set
### Docker Issues
- [Issue description]
---
## Security Checklist
- [x] No secrets in Dockerfiles
- [x] CORS configured
- [x] Auth on sensitive endpoints
- [x] SSL/TLS configured
- [x] Security headers present
### Security Issues
- [Issue description]
---
## Health Check Configuration
| Service | Endpoint | Interval | Timeout | Retries |
|---------|----------|----------|---------|---------|
| Frontend | /health | 30s | 10s | 3 |
| Backend | /health | 30s | 10s | 3 |
| Database | pg_isready | 10s | 5s | 5 |
---
## Rollback Plan
1. **Tag previous version**: v[previous]
2. **Rollback deployment**:
```bash
docker-compose down
git checkout v[previous]
docker-compose up -d
alembic downgrade -1
| Priority | Action | Assignee |
|---|---|---|
| P1 | [Action] | [Agent] |
| P2 | [Action] | [Agent] |
## Required Environment Variables
| Variable | Purpose | Location |
|----------|---------|----------|
| DATABASE_URL | PostgreSQL connection | Secret manager |
| REDIS_URL | Redis connection | Secret manager |
| API_URL | Backend API URL | Config |
| SECRET_KEY | Auth secret | Secret manager |
| CORS_ORIGINS | Allowed origins | Config |
## Docker Best Practices
### Image Versioning
```yaml
# GOOD - Specific version
image: postgres:15-alpine
# BAD - Latest tag
image: postgres:latest # NEVER USE
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
deploy:
resources:
limits:
cpus: '0.5'
memory: 512M
reservations:
cpus: '0.25'
memory: 256M
# Backend CORS
CORS_ORIGINS: ["https://app.example.com"]
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
/deploy-check [environment]
Example:
/deploy-check staging
/deploy-check production
Generate customized .claude/ harness framework with Fusion Architecture (GAN-inspired + Domain Specialists). TRIGGER when user wants to set up AI-assisted development structure, create a new project harness, add structure to existing projects, or mentions 'harness', 'scaffold', 'framework setup'. Supports all domains through template + dynamic generation.
Negotiates 'done' criteria between Generator, Evaluator, and architect-lead before implementation begins. Converts subjective goals into testable, gradable criteria with clear domain responsibilities.
Guided database migration workflow — from schema design to rollback documentation.
Production incident response workflow — triage, root cause analysis, and resolution.
Track, categorize, and prioritize technical debt across the codebase.
Save current progress with structured handoff artifact. Enables context reset for long-running tasks and session recovery.