Agent SkillsMapleTechLabs/maple › react-doctor

react-doctor

GitHub

用于扫描 React 代码库的安全性、性能、正确性和架构问题,输出健康评分。适用于提交前检查、修复回归或整体代码清理,支持差异扫描与全量分析。

.factory/skills/react-doctor/SKILL.md MapleTechLabs/maple

Trigger Scenarios

完成功能开发后 修复 Bug 后 提交 React 代码前 用户希望提升代码质量时 进行代码库清理时

Install

npx skills add MapleTechLabs/maple --skill react-doctor -g -y
More Options

Non-standard path

npx skills add https://github.com/MapleTechLabs/maple/tree/main/.factory/skills/react-doctor -g -y

Use without installing

npx skills use MapleTechLabs/maple@react-doctor

指定 Agent (Claude Code)

npx skills add MapleTechLabs/maple --skill react-doctor -a claude-code -g -y

安装 repo 全部 skill

npx skills add MapleTechLabs/maple --all -g -y

预览 repo 内 skill

npx skills add MapleTechLabs/maple --list

SKILL.md

Frontmatter
{
    "name": "react-doctor",
    "version": "1.0.0",
    "description": "Use when finishing a feature, fixing a bug, before committing React code, or when the user wants to improve code quality or clean up a codebase. Checks for score regression. Covers lint, dead code, accessibility, bundle size, architecture diagnostics."
}

React Doctor

Scans React codebases for security, performance, correctness, and architecture issues. Outputs a 0–100 health score.

After making React code changes:

Run npx -y react-doctor@latest . --verbose --diff and check the score did not regress.

If the score dropped, fix the regressions before committing.

For general cleanup or code improvement:

Run npx -y react-doctor@latest . --verbose (without --diff) to scan the full codebase. Fix issues by severity — errors first, then warnings.

Command

npx -y react-doctor@latest . --verbose --diff
Flag Purpose
. Scan current directory
--verbose Show affected files and line numbers per rule
--diff Only scan changed files vs base branch
--score Output only the numeric score

Version History

  • 01a5dc6 Current 2026-07-05 18:15

Same Skill Collection

.agents/skills/clickhouse-architecture-advisor/SKILL.md
.agents/skills/clickhouse-best-practices/SKILL.md
.agents/skills/clickhousectl-cloud-deploy/SKILL.md
.agents/skills/clickhousectl-local-dev/SKILL.md
.agents/skills/coss-particles/SKILL.md
.agents/skills/coss/SKILL.md
.agents/skills/react-doctor/SKILL.md
.agents/skills/tinybird-cli-guidelines/SKILL.md
.agents/skills/tinybird-python-sdk-guidelines/SKILL.md
.agents/skills/tinybird-typescript-sdk-guidelines/SKILL.md
.agents/skills/tinybird/SKILL.md
.context/effect/.agents/skills/grill-me/SKILL.md
.context/effect/.agents/skills/jsdocs/SKILL.md
.context/effect/.agents/skills/scratchpad/SKILL.md
skills/maple-audit/SKILL.md
skills/maple-csharp-style/SKILL.md
skills/maple-effect-style/SKILL.md
skills/maple-go-style/SKILL.md
skills/maple-java-style/SKILL.md
skills/maple-kotlin-style/SKILL.md
skills/maple-nextjs-style/SKILL.md
skills/maple-nodejs-style/SKILL.md
skills/maple-onboard/SKILL.md
skills/maple-onboarding-style/SKILL.md
skills/maple-python-style/SKILL.md
skills/maple-rust-style/SKILL.md
.agents/skills/chdb-datastore/SKILL.md
.agents/skills/chdb-sql/SKILL.md
.agents/skills/maple-telemetry-conventions/SKILL.md
.agents/skills/onboarding-cro/SKILL.md
skills/maple-dashboard-widgets/SKILL.md

Metadata

Files
0
Version
01a5dc6
Hash
fd7a56aa
Indexed
2026-07-05 18:15

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-13 20:25
浙ICP备14020137号-1 $Map of visitor$