react-doctor
Skill6 starsChanged 2 months agoMITView on GitHub
Use when finishing a feature, fixing a bug, before committing React code, or when the user types `/doctor`, asks to scan, triage, or clean up React diagnostics. Covers lint, accessibility, bundle size, architecture. Includes a regression check and a full local-triage workflow that fetches the canonical playbook.
52 other projects use a version of this, 31 of them edited.
Adopted by
Most recently taken up by
- podo/design-agent-skillstheir own version, first seen Nov 8, 2026
- uptimekit/uptimekitword for word, first seen Nov 8, 2026
- PunGrumpy/docker-doctoredited, first seen Nov 8, 2026
- compozy/compozyedited, first seen Nov 7, 2026
- PostHog/posthog-fosstheir own version, first seen Nov 6, 2026
- theexperiencecompany/gaiaedited, first seen Nov 3, 2026
Used with
Projects with it also use turborepo, make-interfaces-feel-better and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
VercelSkillturborepo
Turborepo monorepo build system guidance. Triggers on: turbo.json, task pipelines, dependsOn, caching, remote cache, the "turbo" CLI, --filter, --affected, CI optimization, environment variables, internal packages, monorepo structure/best practices, and boundaries.
Also in 5 projects that use this
studio-lgtmSkillmake-interfaces-feel-better
Apply design engineering best practices to polish UI components - use when reviewing or improving interfaces, animations, typography, or interaction details.
Also in 4 projects that use this
AnasX7Skillbetter-accessibility
Helps your project comply with accessibility standards and best practices.
Also in 3 projects that use this
AnasX7Skillbetter-layout
Helps with grouping, alignment, reading order, progressive disclosure and other details that make a good layout.
Also in 3 projects that use this
SentrySkillvercel-composition-patterns
Also in 6 projects that use this
VercelSkillagent-browser
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
Also in 9 projects that use this
- +2 more from AnasX7
- +1 more from vercel-labs
Other versions52 projects use a version of this.
Word for word · 7
- humanlayer/humanlayer★ 13k100% same
- Emanuele-web04/dpcode★ 2.2k100% same
- Emanuele-web04/synara★ 2.2k100% same
- uptimekit/uptimekit★ 129100% same
- ensemblr-hq/ensemblr★ 8100% same
- JustineDevs/premortem★ 2100% same
- sanmidable/skills★ 2100% same
Edited · 31
- makeplane/plane★ 62k88% same
- gogs/gogs★ 48k88% same
- millionco/react-doctor★ 15k88% same
- ArcReel/ArcReel★ 6.3k46% same
- transformerlab/transformerlab-app★ 5.2k62% same
- pgrok/pgrok★ 3.6k88% same
- Shelf-nu/shelf.nu★ 3.1k54% same
- compozy/compozy★ 2.9k88% same
- YosemiteCrew/Yosemite-Crew★ 2k88% same
- UniClipboard/UniClipboard★ 2k83% same
21 more not listed
Wrote their own version · 14
- PostHog/posthog★ 40ksame name
- bbplayer-app/BBPlayer★ 1.4ksame name
- databuddy-analytics/Databuddy★ 1.2ksame name
- PostHog/posthog-foss★ 728same name
- brianlovin/claude-config★ 376same name
- pheralb/code-blocks★ 151same name
- podo/design-agent-skills★ 32same name
- LiChangZheng10086/doyin_ai_video★ 30same name
- lacymorrow/paperclip-hub★ 15same name
- RodrigoTomeES/getmcp★ 13same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- commitSkill
- gh-stackSkill
- grade-itSkill
- hygieneSkill
- install-anti-slopSkill
- principle-prove-it-worksSkill
- review-commentSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
5 rules. 1 is common, 1 is distinctive, and 3 are very specific to this project.
1
Common
Most of the 44 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Run npx react-doctor@latest --verbose --scope changed and check the score did not regress.
- Common: line 15
If the score dropped, fix the regressions before committing.
- Very specific: line 19
Run npx react-doctor@latest --verbose (the default --scope full) to scan the full codebase.
- Very specific: line 23
When the user types /doctor, says "run react doctor", or asks for a full triage / cleanup pass (not just a regression check), fetch the …
- Distinctive: line 37
When the user wants to understand a rule, disagrees with one, or wants to disable / tune which rules run (not fix code), read …
“Common” is measured: kept by at least 6 in 10 of the 44 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
React Doctor
Scans React codebases for security, performance, correctness, and architecture issues. Outputs a 0–100 health score.
After making React code changes:
Run npx react-doctor@latest --verbose --scope changed and check the score did not regress.
If the score dropped, fix the regressions before committing.
For general cleanup or code improvement:
Run npx react-doctor@latest --verbose (the default --scope full) to scan the full codebase. Fix issues by severity — errors first, then warnings.
/doctor — full local triage workflow
When the user types /doctor, says "run react doctor", or asks for a full triage / cleanup pass (not just a regression check), fetch the canonical local-triage playbook and follow every step in it:
curl --fail --silent --show-error \
--header 'Cache-Control: no-cache' \
https://www.react.doctor/prompts/react-doctor-agent.mdThe playbook is the single source of truth — a scan → filter → triage → fix → validate loop that edits the working tree directly (never commits, never opens PRs). Updating the prompt at its source updates every agent on its next fetch — no skill reinstall needed.
Pair it with the matching per-rule prompts at https://www.react.doctor/prompts/rules/<plugin>/<rule>.md (fetched on demand inside the playbook) so each fix uses the canonical, reviewer-tested recipe.
Configuring or explaining rules
When the user wants to understand a rule, disagrees with one, or wants to disable / tune which rules run (not fix code), read references/explain.md and follow it. Start with npx react-doctor@latest rules explain <rule>, then apply the narrowest control via npx react-doctor@latest rules disable|set|category|ignore-tag …, which edits your doctor.config.* (or package.json#reactDoctor).
Command
npx react-doctor@latest --verbose --scope changed| Flag | Purpose |
. | Scan current directory |
--verbose | Show affected files and line numbers per rule |
--scope changed | Only report issues introduced vs the base branch (default: full) |
--scope lines | Only report issues on the changed lines |
--score | Output only the numeric score |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

