Skip to main content

setup-react-doctor

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.

Informations de source

Dépôt
redpanda-data/ui-harness
Dernière activité de la source
8 mai 2026 à 11:21
Langue détectée de SKILL.md
anglais
Étoiles
34
Forks
4

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Explorateur de fichiers
4 fichiers

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
setup-react-doctor
description
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.
# Setup React Doctor - **react-doctor** codebase health score (0-100) - Stop hook run doctor on changed files, fail on score drop - Config disable biome-overlapping rules ## Steps ### 1. Install ```bash bun add -D react-doctor --yarn ``` ### 2. Package.json ```json { "scripts": { "doctor": "react-doctor ." } } ``` ### 3. Config (`react-doctor.config.json`) ```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 - [ ] `bun run doctor` work - [ ] Stop hook executable
Voir sur GitHub