react-doctor
使用 React Doctor 诊断 React 代码
React 项目可能在 lint、无障碍性、包体大小和架构方面隐藏回归。此技能会运行 React Doctor 工作流来扫描变更、分类排查发现的问题、解释规则并指导修复。
安装前请停下并请求确认。
请审查安装计划,并在更改文件前获得用户明确同意。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "react-doctor" from https://skillstore.io/skills/millionco-react-doctor.md and its manifest at https://skillstore.io/api/skills/millionco-react-doctor/manifest. Verify the artifact. Stop and obtain explicit user consent before installing or changing files.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“react-doctor”。 我完成了一个 React 功能。检查变更后的代码。
预期结果:
该技能会运行变更范围内的扫描,总结评分变化,按严重级别列出新问题,并在提交前建议修复。
正在使用“react-doctor”。 这条规则在我们的项目中似乎噪声较多。
预期结果:
该技能会解释规则,描述它触发的原因,并且只有在理由明确后才建议范围最窄的配置更改。
正在使用“react-doctor”。 运行一次完整清理。
预期结果:
该技能会扫描项目,先分类处理错误再处理警告,应用聚焦的修复,并通过后续扫描进行验证。
安全审计
高风险Most static alerts are Markdown formatting or ordinary rule references. Real risks remain because the skill executes an unpinned package and follows mutable remote instructions that can edit the working tree.
已确认安全问题 (1)
能力复核项 (8)
这些是真实的本地能力,对此技能可能是预期行为,因此需要复核,但不会按已确认恶意行为计分。
风险因素
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/millionco-react-doctor/audits/7?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/millionco-react-doctor?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/millionco-react-doctor?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/millionco-react-doctor/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/millionco-react-doctor.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
millionco. (2026). react-doctor security audit report (audit version 7) [Author version 1.2.0]. Skillstore. https://skillstore.io/skills/millionco-react-doctor/audits/7BibTeX 引用
@techreport{millionco-millionco-react-doctor-2026,
author = {millionco},
title = {react-doctor security audit report (audit version 7)},
institution = {Skillstore},
year = {2026},
number = {7},
url = {https://skillstore.io/skills/millionco-react-doctor/audits/7},
note = {Author version 1.2.0}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "react-doctor security audit report (audit version 7)"
version: "1.2.0"
type: report
authors:
- name: "millionco"
date-released: "2026-08-09"
url: "https://skillstore.io/skills/millionco-react-doctor/audits/7"
identifiers:
- type: other
value: "skillstore:millionco-react-doctor:audit:7"
description: "Skillstore immutable audit report identifier"
比较变体
2 个可安装变体每位作者的技能都保持为独立的可安装项。推荐变体按 Skillstore 证据排序。
为什么此变体排名第一
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
提交前 React 检查
前端工程师可以在提交前扫描已变更文件,并在评审前修复回归。
团队清理冲刺
技术负责人可以运行完整扫描,优先处理错误,并规划聚焦的修复工作。
规则配置审查
维护者可以解释噪声较多的规则,并应用范围最窄的 React Doctor 配置更改。
试试这些提示
对我已更改的 React 代码运行 React Doctor,并告诉我评分是否回退。
用 React Doctor 扫描这个 React 项目,按严重级别对问题分组,并帮我优先修复错误。
解释这个 React Doctor 规则为什么被触发;如果它噪声过多,再建议范围最窄且安全的配置更改。
运行完整的 React Doctor 分类排查工作流,获取当前操作手册,小步应用修复,并验证结果。
最佳实践
- 在提交 React 代码前运行变更范围内的扫描。
- 在禁用规则或降低严重级别前先查看规则解释。
- 使用与团队意图相匹配的最小范围配置控制项。
避免
- 不要在包含无关未提交工作的仓库中运行完整分类排查。
- 不要在理解报告的风险之前禁用规则。
- 不要将健康评分视为代码评审的替代品。
常见问题
这个技能会自动更改代码吗?
它需要网络访问吗?
它能解释规则为什么被触发吗?
它只适用于 React 项目吗?
它能禁用噪声较多的规则吗?
它能替代无障碍测试吗?
开发者详情
作者
millionco许可证
MIT
作者版本
v1.2.0
Skillstore 修订
r3
版本提示
可安装内容已发生变化,但作者没有更新声明的版本号。
引用
02be9409c79ca1183f7844009c14d9df684d0cf9
维护新鲜度
2026/8/12
使用量
8 次下载 · 128 次浏览
文件结构