본문으로 건너뛰기
Skillpedia
일반 코딩13k · #11390

react-doctor

하는 일

이 스킬은 React 코드를 보안, 성능, 정확성, 구조 문제로 검사하는 스캐너를 실행합니다. 변경을 커밋하기 전에 React 앱을 건강하게 유지하려는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓React 기능이나 버그 수정을 마치고 커밋 전에 점검하고 싶을 때.
  • ✓React 프로젝트의 경고를 전부 정리하고 싶을 때.
  • ✓/doctor를 입력해 React 문제의 전체 분류를 시작하는 경우.

스킬 링크

https://github.com/humanlayer/humanlayer/blob/main/.claude/skills/react-doctor/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/humanlayer/humanlayer/blob/main/.claude/skills/react-doctor/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“제 React 앱을 검사하고 가장 심각한 문제부터 고쳐 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 react-doctor 스캐너를 실행해 0점에서 100점 사이의 점수를 받은 뒤, 가장 심각한 문제부터 덜 심각한 순서로 처리합니다. 전체 분류에는 도구의 온라인 플레이북을 따릅니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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 react-doctor@latest --verbose --scope changed and check the score did not regress.

If the score dropped, fix the regressions before committing.

For general cleanup or code improvement:

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

/doctor — full local triage workflow

When the user types /doctor, says "run react doctor", or asks for a full triage / cleanup pass (not just a regression check), fetch the canonical local-triage playbook and follow every step in it:

curl --fail --silent --show-error \
  --header 'Cache-Control: no-cache' \
  https://www.react.doctor/prompts/react-doctor-agent.md

The playbook is the single source of truth — a scan → filter → triage → fix → validate loop that edits the working tree directly (never commits, never opens PRs). Updating the prompt at its source updates every agent on its next fetch — no skill reinstall needed.

Pair it with the matching per-rule prompts at https://www.react.doctor/prompts/rules/<plugin>/<rule>.md (fetched on demand inside the playbook) so each fix uses the canonical, reviewer-tested recipe.

Configuring or explaining rules

When the user wants to understand a rule, disagrees with one, or wants to disable / tune which rules run (not fix code), read references/explain.md and follow it. Start with npx react-doctor@latest rules explain <rule>, then apply the narrowest control via npx react-doctor@latest rules disable|set|category|ignore-tag …, which edits your doctor.config.* (or package.json#reactDoctor).

Command

npx react-doctor@latest --verbose --scope changed
Flag Purpose
. Scan current directory
--verbose Show affected files and line numbers per rule
--scope changed Only report issues introduced vs the base branch (default: full)
--scope lines Only report issues on the changed lines
--score Output only the numeric score
자주 묻는 질문

설치해야 하나요?

npx로 실행되므로, 에이전트가 실행할 때 스캐너를 가져옵니다.

git에 변경을 커밋하나요?

아니요. 전체 분류 작업은 작업 파일을 수정할 뿐, 커밋하거나 풀 리퀘스트를 열지 않습니다.

점수는 무엇을 뜻하나요?

0에서 100까지의 건강 점수입니다. 변경 후 에이전트는 점수가 떨어지지 않았는지 확인합니다.

상세 정보

작성자의 원본 설명

Use when finishing a feature, fixing a bug, before committing React code, or when the user types `/doctor`, asks to scan, triage, or clean up React diagnostics. Covers lint, accessibility, bundle size, architecture. Includes a regression check and a full local-triage workflow that fetches the canonical playbook.

repo: humanlayer/humanlayer

인기도

GitHub 스타
13k
순위
#11390
라이선스
Apache-2.0
업데이트
2026. 10. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬