Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: react-component/context
Length of output: 213
🌐 Web query:
Does the millionco/react-doctor commit 01820bb4fd4d0a4aebcd8df2b2a143a098649cb2 correspond to tag v2.2.8?💡 Result:
The commit hash 01820bb4fd4d0a4aebcd8df2b2a143a098649cb2 does not exist in the millionco/react-doctor repository. Searches across the repository's commit history and related technical documentation confirm this hash is not associated with any tags, including v2.2.8. In the millionco/react-doctor repository, releases and tags such as v2.2.8 are typically associated with specific merge commits on the main branch. Documentation and pull request discussions indicate that v2.2.8 was released around July 16, 2026 [1][2], and v2.2.9 followed shortly after [3][4][5]. No record of the specified commit hash was found in relation to these or any other releases.
Citations:
🌐 Web query:
github millionco react-doctor 01820bb4fd4d0a4aebcd8df2b2a143a098649cb2💡 Result:
React Doctor (github.com/millionco/react-doctor) is a CLI tool designed to diagnose and improve the quality of React codebases [1][2]. It scans projects for issues related to state and effects, performance, architecture, security, and accessibility, providing a 0–100 health score alongside actionable diagnostics [1][3]. The tool is framework-agnostic, supporting Next.js, Vite, Remix, TanStack, React Native, Expo, and others [1][2]. It can be executed via npx without installation [2][3], integrated into CI/CD pipelines (e.g., GitHub Actions) to monitor pull requests for new issues [3][4], and used as a skill for coding agents like Cursor or Claude Code to help automatically fix identified problems [2][3]. Regarding the specific identifier provided (01820bb4fd4d0a4aebcd8df2b2a143a098649cb2), this is a truncated or specific Git commit hash associated with the millionco/react-doctor repository [1][5]. As of July 31, 2026, the project remains active, with its latest release being version 0.7.7 as of July 13, 2026 [1].
Citations:
🌐 Web query:
millionco react-doctor repository 7716d6cf1ba0eab0171ba244feeff05cf950fa1c💡 Result:
The repository identified is millionco/react-doctor, an open-source CLI tool designed to scan React codebases for issues related to performance, security, architecture, and correctness [1][2][3]. The specific commit hash 7716d6cf1ba0eab0171ba244feeff05cf950fa1c corresponds to a feature update titled "feat: integrate skill installation prompt into CLI workflow," authored by aidenybai on February 19, 2026 [4]. React Doctor functions as a diagnostic tool that provides a health score (0-100) for projects and is designed to work as a "skill" for coding agents (such as Cursor, Claude Code, and Windsurf) to help them identify and fix React code issues [1][5][3][6]. It supports various frameworks including Next.js, Vite, and Expo, and can be integrated into CI/CD pipelines to scan pull requests [1][2][3][7].
Citations:
🌐 Web query:
millionco/react-doctor v2.2.8💡 Result:
There is no version 2.2.8 for the millionco/react-doctor package. As of July 31, 2026, the latest version of react-doctor is 0.8.1 [1]. React Doctor is a deterministic analysis tool designed to scan React codebases for security, performance, architecture, and accessibility issues [2][1][3]. It is commonly used via npx with the command npx react-doctor@latest [2][4][1]. The project also supports CI/CD integration [2][1], coding agent skill installation (e.g., for Cursor, Claude Code) [2][1], and GitHub Actions [2][5]. The GitHub Action for React Doctor uses a separate versioning scheme (e.g., millionco/react-doctor@v2) for the action itself [5], which may be the source of confusion regarding the "v2" identifier.
Citations:
🌐 Web query:
github millionco react-doctor 45433b8979761906295078d72ce53e1bc6aa0d💡 Result:
React Doctor (millionco/react-doctor) is an open-source command-line interface (CLI) tool designed to scan React codebases for issues related to performance, state management, security, architecture, and accessibility [1][2]. It provides a 0-100 health score for projects and offers actionable diagnostics to help improve code quality [2][3]. The tool is designed to work with various React frameworks and libraries, including Next.js, Vite, TanStack, React Native, and Expo [1][4]. It can be run locally using
npx react-doctor@latestor integrated into CI/CD pipelines to review pull requests and post summary comments [1][4]. Additionally, it supports integration with coding agents (such as Cursor, Claude Code, and Windsurf) by installing a specialized skill that allows these agents to learn from and automatically fix identified issues [4][3]. The repository is maintained by Million Software, Inc. [2], and has gained significant popularity, with over 13,000 stars on GitHub [1][4]. The specific string45433b8979761906295078d72ce53e1bc6aa0dappears to be a truncated or specific commit hash associated with the project's development history on GitHub. React Doctor is licensed under a modified MIT license, which requires a written license from Million Software for large-scale commercial use or AI training [2].Citations:
🌐 Web query:
millionco react-doctor 01820bb4fd4d0a4aebcd8df2b2a143a098649cb2💡 Result:
The string 01820bb4fd4d0a4aebcd8df2b2a143a098649cb2 corresponds to a git commit hash in the repository millionco/react-doctor [1][2]. React Doctor is a CLI-based tool designed to analyze React codebases for security, performance, architecture, and correctness issues [1][3][4]. It provides a 0-100 health score for projects and can be integrated into development workflows, such as CI/CD pipelines (e.g., GitHub Actions) or used as a skill for AI coding agents like Cursor and Claude Code [1][5][2]. Key features include: - Automated framework detection (Next.js, Vite, Remix, React Native, etc.) [3][4][2]. - CI/CD support for scanning pull requests and reporting findings [5][2]. - Support for auto-fixing issues via AI agents [3][6]. - Deterministic scanning across state, effects, bundle size, and accessibility [1][2]. The project is hosted on GitHub at https://github.com/millionco/react-doctor [1][2]. Documentation is available at https://react.doctor [1][2].
Citations:
为固定的提交版本添加正确的版本注释。
该行固定的是
millionco/react-doctor的提交 SHA01820bb4fd4d0a4aebcd8df2b2a143a098649cb2,不是v2.2.8。需要补充该提交对应的真实版本注释,否则后续维护者难以定位此固定版本。🤖 Prompt for AI Agents