millionco/react-doctor — reverse-engineered prompt
Reverse engineered prompt
Build me a TypeScript tool called React Doctor that helps people catch bad React code before it ships.
I want someone to be able to run one command in any React project and get a clear audit of problems in their codebase. It should look for issues around state and effects, performance, architecture, security, and accessibility. Keep the output practical, with findings that explain what’s wrong and point to the file or code area that needs attention.
It should work across common React setups like Next.js, Vite, React Native, Expo, and other React libraries without needing a complicated setup. Also add an install command that can set up a coding agent skill so tools like Cursor, Claude Code, Codex, or similar agents can learn from the audit and avoid repeating the same mistakes.
Please include a GitHub Action too, so teams can scan pull requests, show inline annotations, and leave review findings automatically. Make it feel polished and easy to try with npx.
Want more depth? Deep Reverse