react-doctor
Skill1k starsChanged 16 days 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, 42 of them edited.
Trending
Quiet this year.thin dataabout the whole repository
Most recently taken up by
- podo/design-agent-skillstheir own version, first seen Nov 8, 2026
- uptimekit/uptimekitedited, 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
Who's talking about darkroomengineering/satus
- sweeneytr/tristansweeney.com“Links to add”GitHub · Apr 24, 2025
- vercel/next.js“(turbopack) doesn't support mixing units in sass calculations, while webpack does”GitHub · May 1, 2024
The biggest 2 of 2 mentions linking to the repository that our crawl found. Each line is their own headline.
Used with
Projects with it also use turborepo, make-interfaces-feel-better and 10 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
VercelSkillgh-stack
Manages stacked PRs and splits multi-part work into reviewable branches with gh-stack. Use for stack creation, viewing, edits, push, submit, sync, rebase, merge, or checkout; when asked to split or isolate work for review; whenever a user mentions a stack, branch layers, dependent PRs, or gh stack; or when a stack is checked out.
Also in 3 projects that use this
- +2 more from AnasX7
Other versions52 projects use a version of this.
Word for word · 0
None found.
Edited · 42
- makeplane/plane★ 62k100% same
- gogs/gogs★ 48k99% same
- millionco/react-doctor★ 15k74% same
- humanlayer/humanlayer★ 13k83% same
- ArcReel/ArcReel★ 6.3k39% same
- transformerlab/transformerlab-app★ 5.2k80% same
- pgrok/pgrok★ 3.6k99% same
- Shelf-nu/shelf.nu★ 3.1k72% same
- compozy/compozy★ 2.9k99% same
- Emanuele-web04/dpcode★ 2.2k83% same
32 more not listed
Wrote their own version · 10
- 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
- podo/design-agent-skills★ 32same name
- LiChangZheng10086/doyin_ai_video★ 30same name
- JuankCadavid/akili-specs★ 10same name
- Aximande/agent-skills★ 4same name
- arthjean/skills★ 3same name
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 repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/main.mdcCursor rule
- next-bundle-optimizerSkill
The file
We split this skill into the rules it gives an agent
5 rules. 1 is common, 0 are distinctive, and 4 are very specific to this project.
1
Common
Most of the 51 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
4
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 --diff 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 (without --diff) 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 …
- Very specific: line 37
When the user wants to understand a rule, disagrees with one, or wants to disable / tune which rules run (not fix code), use the …
“Common” is measured: kept by at least 6 in 10 of the 51 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 --diff 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 (without --diff) 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), use the doctor-explain skill (alias /doctor-config). 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 --diff| Flag | Purpose |
. | Scan current directory |
--verbose | Show affected files and line numbers per rule |
--diff | Only scan changed files vs base branch |
--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.

