.cursor/skills/react-doctor/SKILL.md
Installs and runs Million's React Doctor to audit a Next.js/React codebase for performance, security, correctness, and architecture issues. Use when the user mentions react-doctor, React Doctor, millionco/react-doctor, performance audits, code health, bundle size, or suspicious React patterns.
npx skillsauth add asymmetric-al/core react-doctorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run an automated audit of a React/Next.js codebase and turn the diagnostics into a prioritized fix list.
Install/refresh the skill (optional):
npx skills add millionco/react-doctor
Run React Doctor in the repo root:
npx -y react-doctor@latest . --verbose
package.json).npx skills add millionco/react-doctornpx -y react-doctor@latest . --verbosenpx -y react-doctor@latest . --verboseWhen triaging results for Next.js App Router projects, prioritize:
"use client" leaks)metadata exportsWhen reporting results back, format as:
React Doctor score: <number>/100
Top findings:
- <severity> <short title> — <path(s)>
- ...
Fix plan:
1. <most important fix> (why)
2. ...
Verification:
- npx -y react-doctor@latest . --verbose
npx skills add millionco/react-doctornpx -y react-doctor@latest . --verbosedevelopment
Use when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.
testing
Use when CI tests fail on main branch after PR merge, or when investigating flaky test failures in CI environments
tools
Use when new translation keys are added to packages to generate new translations strings
data-ai
Pointer to the canonical agent instruction and skill system for this monorepo