From oh-my-claudecode
Production readiness checklist - verify logging, health checks, graceful shutdown, error handling, metrics, and configuration
How this skill is triggered — by the user, by Claude, or both
Slash command
/oh-my-claudecode:ops-checkThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run a comprehensive production readiness checklist covering operational excellence pillars.
Run a comprehensive production readiness checklist covering operational excellence pillars.
This skill activates when:
Delegates to the ops-engineer agent (Opus model) for comprehensive operational assessment:
Structured Logging
Health Checks
Graceful Shutdown
Error Handling
Metrics & Monitoring
Configuration Management
Task(
subagent_type="oh-my-claudecode:ops-engineer",
model="opus",
prompt="PRODUCTION READINESS CHECK
Assess the codebase for production readiness across all operational pillars.
Scope: [entire codebase or specific service]
Assessment Pillars:
1. Structured logging (not console.log)
2. Health check endpoints (liveness + readiness)
3. Graceful shutdown (SIGTERM handling, drain)
4. Error handling (global handler, sanitization)
5. Metrics & monitoring (RED metrics, alerting)
6. Configuration management (env vars, validation)
Output: Production readiness scorecard with:
- Per-pillar status (✅ Good / ⚠️ Needs Work / ❌ Missing)
- Specific file:line references for each finding
- Production impact of each issue
- Prioritized improvement roadmap
- Overall readiness grade (A-F)"
)
PRODUCTION READINESS SCORECARD
==============================
Overall Grade: C (Needs significant improvement)
PILLAR ASSESSMENT
-----------------
1. Logging ❌ MISSING
- console.log used in 23 locations
- No structured logging library configured
- No request correlation IDs
→ Impact: Cannot debug production issues efficiently
2. Health Checks ⚠️ NEEDS WORK
- /health endpoint exists (src/routes/health.ts:5)
- No readiness probe (DB connectivity not checked)
- No dependency health checks
→ Impact: Load balancer cannot detect unhealthy instances
3. Graceful Shutdown ❌ MISSING
- No SIGTERM handler found
- No connection drain logic
→ Impact: In-flight requests dropped during deployments
4. Error Handling ⚠️ NEEDS WORK
- Global error handler exists (src/middleware/error.ts:10)
- Stack traces leaked in error responses (line 25)
- No unhandled promise rejection handler
→ Impact: Security risk + silent failures
5. Metrics ❌ MISSING
- No metrics library configured
- No request latency tracking
→ Impact: Cannot measure SLOs or detect degradation
6. Configuration ✅ GOOD
- Environment variables used consistently
- Validation at startup (src/config/index.ts:8)
- No hardcoded secrets found
IMMEDIATE ACTIONS (P0)
---------------------
1. Add SIGTERM handler with 30s drain
2. Replace console.log with structured logger
3. Remove stack traces from error responses
IMPROVEMENT ROADMAP
-------------------
| Week | Action | Pillar |
|------|--------|--------|
| 1 | Add structured logging + correlation IDs | Logging |
| 1 | Add SIGTERM handler | Graceful Shutdown |
| 2 | Add readiness probe with DB check | Health Checks |
| 2 | Add unhandled rejection handler | Error Handling |
| 3 | Add Prometheus metrics | Metrics |
| 3 | Add alerting rules | Metrics |
Full Backend Review:
/ops-check then /api-design then /db-review then /security-review
With Ralph:
/ralph ops-check then implement all P0 fixes
Assess, fix critical issues, re-assess until grade A.
With Team:
/team 3:executor "fix all ops-check findings"
Parallel implementation of operational improvements.
npx claudepluginhub limzzum/oh-my-claudecodeCreates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.