react-doctor
在进行 React 更改后运行以尽早发现问题。在检查代码、完成功能或修复 React 项目中的错误时使用。
安装 / 下载方式
TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~react-doctorcURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~react-doctor/file -o react-doctor.md# React Doctor Scans your React codebase for security, performance, correctness, and architecture issues. Outputs a 0-100 score with actionable diagnostics. ## Usage ```bash npx -y react-doctor@latest . --verbose --diff ``` ## Workflow Run after making changes to catch issues early. Fix errors first, then re-run to verify the score improved. --- ## 中文说明 # React Doctor 扫描你的 React 代码库,检查安全性、性能、正确性和架构问题。输出 0-100 的评分以及可操作的诊断信息。 ## 用法 ```bash npx -y react-doctor@latest . --verbose --diff ``` ## 工作流程 在进行更改后运行,以尽早发现问题。先修复错误,然后重新运行以验证评分是否提高。