|
# Workflow: /debug
<meta>
<trigger>/debug</trigger>
<description>Identifies error types, explains root causes, and suggests precise solutions.</description>
</meta>
## Step 1 — Capture & Classification
Automatic terminal reading to extract stack traces and identify the error type (Runtime, Build, TypeScript, API, DB, or Security).
## Step 2 — Root Cause Diagnosis
Differentiating between the visible symptom and the actual cause of the bug. Explanation of the technical concept involved to prevent recurrence.
## Step 3 — Security Scan & Fix
Analysis of collateral risks (data leakage, auth gaps) and precise fix suggestions, aligned with project conventions.