react-doctorlisted
Install: claude install-skill arthjean/skills
# react-doctor — React Codebase Health Scanner
Scan target: $ARGUMENTS
## Overview
react-doctor is a 3-step pipeline that scans React codebases for issues, interprets the results, and provides actionable fix guidance.
1. **Scan** — run `react-doctor` CLI on the target
2. **Interpret** — parse the score and diagnostics, categorize findings
3. **Guide** — provide specific fix guidance for each finding, re-run to verify
## Execution Flow
```
$ARGUMENTS -> [file-or-folder?]
|
v
+---------------+
| Step 1: |
| SCAN | <- Run react-doctor CLI
+-------+-------+
|
v
+-------+-------+
| Step 2: |
| INTERPRET | <- Parse score, categorize findings
+-------+-------+
|
v
+-------+-------+
| Step 3: |
| GUIDE | <- Actionable fixes, re-run to verify
+-------+-------+
```
## Runtime Output Format
Before each step, print a progress header:
```
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[Step N/3] STEP_NAME
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
```
## Step-by-Step Execution
### Step 1 — Scan
Print: `[Step 1/3] SCAN`
**1a. Determine target:**
- If `$ARGUMENTS` contains a path → use that as the scan target
- If `$ARGUMENTS` is empty → scan the current directory (`.`)
**1b. Run react-doctor:**
```bash
bunx -y react-doctor@latest {target} --verbose --diff
```
- `--verbose` provides detailed diagnostics per category
- `--diff` scopes to recently changed files (reduces noise, faster)
If the scan fai