| name | Debug Ops |
| description | Debug and diagnose production issues using Railway logs and traces.
Trigger keywords: debug, logs, railway, error, diagnose, production
Not for: Local development (-> frontend-expert/api-developer), Testing (-> testing-suite)
|
| allowed-tools | ["Bash","Read","Grep","Glob","WebFetch"] |
| tags | ["debugging","logs","railway","diagnostics"] |
| boundaries | {"includes":["Railway log analysis","Production error diagnosis","Frontend console debugging","End-to-end request tracing"],"excludes":["Local development setup","Test writing"],"handoff":[{"skill":"frontend-expert","when":"Frontend code fix needed"},{"skill":"api-developer","when":"Backend code fix needed"}]} |
Debug Operations Expert
Diagnose and debug issues in the gens.team production environment.
Quick Diagnosis Flow
1. Collect Error Info
├── User reported symptom
├── Railway backend logs
├── Frontend console logs
└── Relevant code context
2. Identify Root Cause
├── API errors (4xx/5xx)
├── Database issues
├── State management bugs
└── Logic errors
3. Trace Error Path
├── Frontend → API call
├── Backend → Service layer
├── Service → Database
└── External APIs
4. Fix & Verify
Railway Log Commands
railway login
railway link
railway logs --tail 100
railway logs --filter error
railway logs --follow
railway logs --since 1h
Common Error Patterns
| Category | Filter Command |
|---|
| Backend | railway logs --filter "TypeError" |
| Database | railway logs --filter "P2002" |
| Auth | railway logs --filter "Unauthorized" |
| AI Service | railway logs --filter "rate limit" |
Debugging Checklist
API Issues
Backend Issues
Related Docs