rule-validate

Validate React Doctor rule implementations with regression and parity tests.

14.3k|455|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/millionco/react-doctor --skill rule-validate-millionco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rule-validate
Source: https://github.com/millionco/react-doctor/tree/main/.agents/skills/rule-validate
Command: npx skills add https://github.com/millionco/react-doctor --skill rule-validate-millionco

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the validation process for new React Doctor rules, ensuring that detectors are accurate, performant, and free of false positives before they are merged into the codebase.

Core Features & Use Cases

  • Detector Verification: Systematically check for false positives, incorrect bindings, and control-flow issues in rule implementations.
  • Parity & Regression Testing: Automate the execution of focused tests and parity checks to ensure consistent behavior across different project environments.
  • Release Preparation: Standardize the creation of pull request documentation, changeset generation, and evaluation reporting for rule updates.

Quick Start

Use the rule-validate skill to perform a full parity check and generate the required pull request documentation for the current rule implementation.

Frequently Asked Questions about rule-validate

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

FAQPage Schema
How do I validate React static analysis rules to prevent false positives?

To validate React static analysis rules, you execute focused regression tests and parity checks against real-world codebases to verify detector logic and ensure high precision with minimal false positives.

How do I automate regression testing for React code review detectors?

Automate regression testing for React code review detectors by executing focused tests and parity checks to ensure consistent behavior and control-flow accuracy across different project environments.

Do I need bunx and truffler to test React detector rule implementations?

Yes, validating React detector rule implementations requires integration with local testing tools like bunx, truffler, and rde-eval to verify detector logic and control-flow accuracy.

What is the best way to prepare a pull request for a new static analysis rule?

The best way to prepare a pull request for a static analysis rule is to standardize the creation of pull request documentation, changeset generation, and evaluation reporting after completing detector verification.

Why does my React static analysis detector produce incorrect bindings during code review?

React static analysis detectors produce incorrect bindings due to control-flow issues, which you can systematically identify and resolve by running focused regression tests and parity checks.

Can I use rule-validate to check detector parity across different project environments?

Yes, you can use rule-validate to check detector parity across different project environments by automating the execution of focused tests and parity checks to ensure consistent behavior.