원클릭으로
root-cause-tracing
Trace issues backward through the call stack to find the true root cause, not just symptoms
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Trace issues backward through the call stack to find the true root cause, not just symptoms
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Debug frontend vanilla JS issues - console errors, rendering bugs, SPA navigation, WebSocket
Automates the process of setting up the first admin user or adding new admins via the bootstrap endpoint. Includes a Python script for easy execution.
Push to remote and wait for CI to pass. If CI fails, read logs, fix bugs, and re-push. Repeat until green.
Use when building or debugging LangGraph multi-agent systems - eval-first execution, task decomposition, model routing by complexity, and cost discipline
Use when AI agent modifies API routes or backend logic - catch systematic blind spots where the same model writes and reviews code
Use when making or recording significant architectural decisions - capture context, alternatives, and rationale as structured ADRs
| name | root-cause-tracing |
| description | Trace issues backward through the call stack to find the true root cause, not just symptoms |
# Search for error message
rg "error message" --type py
# Search for the function/endpoint
rg "def endpoint_name" --type py
For each layer, ask: "What feeds into this?"
UI Error → API Response → Router Handler → Service/DB function → Raw Query → Schema
Trace ONE path at a time. Don't branch until current path is dead.
# Add temporary logging at boundaries
logger.info(f"TRACE: variable={value}, type={type(value)}")
| Symptom | Likely Root Cause | Where to Check |
|---|---|---|
| 500 on endpoint | DB query failure | core/database/ functions |
| Wrong user data | Client-side user_id still passed | api/routers/ params |
| Rate limit miss | Missing Request param | Router function signature |
| XSS in output | Unescaped user content | web/js/ render functions |
| Connection timeout | Pool exhaustion | core/database/connection.py |
| ORM session closed | Missing using_session() | api/routers/ using repos |
| Asyncpg error | Sync call in async context | core/orm/ or core/database/ |