Wes Winder — Codex React Doctor prompt

Source: https://x.com/weswinder/status/2060467861923955052?s=46

What it says

Wes Winder says the cleanest React-code workflow is to run:

/goal run npx react-doctor@latest and fix issues until you get a score of 100. do it properly without taking any shortcuts

inside Codex, then iterate until the score reaches 100.

Why it matters

  • It is a concrete, evaluation-driven prompt pattern rather than a vague “refactor this” request.
  • The prompt turns React cleanup into a measurable loop: diagnose, fix, re-run, repeat.
  • It fits the broader Codex workflow pattern of using explicit goals, guardrails, and no-shortcuts instructions.

Source signals

  • Author: Wes Winder (@weswinder)
  • Created: 2026-05-29 21:06:34 +0000
  • Metrics: 260 likes, 8 reposts, 361 bookmarks, 12.2K views, 13 replies, 1 quote
  • Attached media: one photo