← ClaudeAtlas

react-doctorlisted

React codebase health scanner that checks for security, performance, correctness, and architecture issues. Runs react-doctor CLI, interprets results, and provides actionable fix guidance. Use when the user says 'react-doctor', 'check my React code', 'React health check', 'scan React for issues', 'React audit', or after making React changes to catch issues early. Also triggers on: 'fix React performance', 'React best practices check', 'React code quality'. Do NOT trigger for non-React code, general JavaScript questions, or backend-only changes.
arthjean/skills · ★ 3 · Web & Frontend · score 72
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