setup-react-doctor

Automate React health scoring with react-doctor during setup, commits, and CI.

3|1|Updated Mar 23, 2026
One-click install
npx skills add https://github.com/malinskibeniamin/skills --skill setup-react-doctor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-react-doctor
Source: https://github.com/malinskibeniamin/skills/tree/main/setup-react-doctor
Command: npx skills add https://github.com/malinskibeniamin/skills --skill setup-react-doctor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, bun, and includes scripts (resource) and references (resource) components.

What problem does it solve?

React health scoring and stop-hook enforcement to fail on score regressions; use when setting up react-doctor or preventing UI quality regressions.

Core Features & Use Cases

  • Install and configure react-doctor in your React project.
  • Run health checks during commits/PRs with a Stop hook to block regressions.
  • Customize ignored rules and verify health in CI.

Quick Start

Run the doctor workflow on your React project to score health and surface issues.

Frequently Asked Questions about setup-react-doctor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate React health checks to prevent UI quality regressions during commits?

Automated React health checks prevent UI quality regressions by scoring your project with react-doctor and enforcing a Stop hook to fail commits on score drops. Configure a doctor script in package.json to run health scoring automatically during commits and CI.

What is react-doctor health scoring and how does it work?

React-doctor health scoring evaluates your project's UI quality by analyzing code for issues and outputting a quantifiable health score. It integrates into your development workflow through a Stop hook, blocking commits or CI pipelines when the score regresses across code changes.

How do I set up react-doctor with bun and configure ignore rules?

To set up react-doctor with bun, install the package, add a doctor script to package.json, and create a react-doctor.config.json file to define ignore rules. This configuration enables automated health monitoring and allows you to customize which lint rules are skipped.

Can I integrate react-doctor health checks into my CI pipeline and .claude/hooks?

Yes, react-doctor integrates into CI pipelines and local hooks via a Stop hook script placed in .claude/hooks. This setup verifies UI health during continuous integration and prevents regressions by failing builds when the React health score drops below acceptable thresholds.

Do I need jq and bun installed to use react-doctor for React health monitoring?

Yes, you need both jq and bun installed as dependencies to set up and run react-doctor health monitoring. Bun handles package installation and script execution, while jq processes JSON configuration data for the react-doctor.config.json ignore rules and hook scripts.