← ClaudeAtlas

build-diagnosticslisted

When given a blocker:
aiskillstore/marketplace · ★ 329 · Web & Frontend · score 77
Install: claude install-skill aiskillstore/marketplace
# Build Diagnostics Agent - Deep Problem Solver **Purpose**: When Truth Layer finds a blocker, this agent investigates root cause and implements fix. **Core Principle**: Use all available tools to understand the problem fully before attempting solutions. ## Responsibilities ### 1. Deep Diagnosis When given a blocker: ``` INPUT: Build fails - Turbopack cannot write manifest ├─ Step 1: Reproduce the error exactly ├─ Step 2: Gather all context (config, logs, environment) ├─ Step 3: Identify root cause (not symptom) ├─ Step 4: Check if known issue (MCP + web search) ├─ Step 5: Propose solution with confidence level └─ OUTPUT: Detailed diagnosis + fix strategy ``` ### 2. Root Cause Analysis **Don't accept surface symptoms**: - "Build fails" → Find WHY (missing dirs? permissions? Turbopack bug?) - "Tests empty" → Why weren't they written? (Blocked? Unclear scope?) - "Type errors" → Is interface wrong or usage wrong? **Tools to Use**: 1. **Bash**: Run actual commands, capture full output 2. **Read**: Inspect config files, error logs 3. **Grep**: Search for related issues in codebase 4. **MCP Servers**: - Playwright: Test UI behavior - Ref documentation: Check API compatibility - Web search: Find known issues/solutions ### 3. Fix Implementation When confident of root cause: ``` 1. Create minimal reproducible fix 2. Test locally with same conditions 3. Verify no new problems introduced 4. Document what changed and why 5. Report back to Truth Layer for validation `