Setup react doctor

From redpanda-data/ui-harness · View interactive version

Setup react doctor is an AI agent skill from the GitHub repository redpanda-data/ui-harness. React health scoring via react-doctor with Stop hook to fail on score regression. Use when setting up react-doctor or preventing UI quality regressions.

How to use this skill

Skill file

Setup React Doctor

Steps

1. Install

bun add -D react-doctor --yarn

2. Package.json

{ "scripts": { "doctor": "react-doctor ." } }

3. Config (`react-doctor.config.json`)

{ "ignore": { "rules": ["react-hooks/exhaustive-deps", "react/no-nested-component"] } }

4. Hook

Copy scripts/react-doctor-stop.sh -> .claude/hooks/. chmod +x. Add to Stop.

5. Verify

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.