GS/BS
← Standards directory
Code quality

React Doctor.

Diagnose React component regressions

Inspect React-specific findings in changed components. Review render behavior and state ownership with the source location and rule behind each finding.

JavaScript / TypeScript / JSX

Community rubric · v1

The evidence

Evidence coverage6 / 8
6 supported · 2 unresolved

One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.

Latest evidence review ·

  • Definition

    Verified

    The doctor.config.ts rule table lets projects enable specific React diagnostics as warnings or errors.

    Cited source ↗
  • Measurement

    Verified

    The action can scope findings to changed files, changed lines or the full project; report scope affects interpretation.

    Cited source ↗
  • Conformance

    Unknown

    No reviewed evidence is recorded for this dimension.

    What would demonstrate a violation? Contribute evidence ↗

  • CI enforcement

    Verified

    The documented action permits an initial reporting-only scan, then blocking on new errors or warnings over the selected change scope.

    Cited source ↗
  • Getting started

    Verified

    From a React project root the README uses npx to run the scanner and explains the reported diagnostics. It also gives the command that installs first-party agent instructions.

    Cited source ↗
  • Real-world adoption

    Verified

    CodeRabbit scans changed JSX and TSX for React regressions. Changes to plain JS and TS require a nearby React dependency.

    Cited source ↗
  • Agent guidance

    Verified

    The upstream agent skill scopes the precommit scan to changed React code, checks for a score regression and requires fixing new findings before commit. Its full scan triages errors before warnings.

    Cited source ↗
  • Agent portability

    Unknown

    No reviewed evidence is recorded for this dimension.

    Does the practice work in two agent harnesses? Contribute evidence ↗

Use this standard

Agent prompt

Use React Doctor in this repository to meet this standard: Diagnose React component regressions. Inspect React-specific findings in changed components. Review render behavior and state ownership with the source location and rule behind each finding. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
Read the agent skill ↗

Primary source

React Doctor documentation ↗