Skip to main content

react-doctor-fix

Read a React Doctor review file, let the user choose a rule type to work on, then apply fixes sequentially with confirmation at each step. Use this skill whenever the user wants to fix React Doctor issues, work through a review file, or asks to resolve a specific rule type or section of react doctor output. Use when this capability is needed.

설치로 이동

소스 정보

저장소
tomevault-io/tomes
최근 소스 활동
2026년 7월 23일 21:48
감지된 SKILL.md 언어
영어
스타
1
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
react-doctor-fix
description
Read a React Doctor review file, let the user choose a rule type to work on, then apply fixes sequentially with confirmation at each step. Use this skill whenever the user wants to fix React Doctor issues, work through a review file, or asks to resolve a specific rule type or section of react doctor output. Use when this capability is needed.
metadata
{"author":"CDCgov"}
# React Doctor Fix ## Workflow 1. Extract the target path from the user's message. If no path is provided, default to `packages/map`. 2. Derive the review filename by replacing `/` with `-` in the path (e.g. `packages/map` → `_react-doctor/output/packages-map-review.md`). 3. Read the review file. If it doesn't exist, tell the user to run the `react-doctor` skill first. 4. List the available rule type sections found in the file and ask the user which one they want to work on: ``` Available rule types: 1. react/jsx-key (2 issues) 2. react-hooks/exhaustive-deps (2 issues) 3. react-hooks/rules-of-hooks (1 issue) Which would you like to work on? ``` 5. Once the user selects a section, work through each issue in that section one at a time: a. State the issue clearly — file path, line number, and what's wrong. b. Show the fix using `// Before` / `// After` comments. c. Apply the fix to the file. d. Mark the issue as done in the review file: `- [x]` e. Ask the user to confirm before moving to the next issue. 6. When all issues in the section are resolved, ask if the user wants to move on to another rule type. ## Constraints - Only fix what is listed in the review file. - Preserve existing code style, naming conventions, and imports. - If a fix requires a new dependency, flag it with a `// NOTE:` comment and do not apply it automatically. - If an issue is ambiguous or the fix could have side effects, explain the concern and ask before proceeding. - Keep the review file up to date as issues are resolved. --- > Source: [CDCgov/cdc-open-viz](https://github.com/CDCgov/cdc-open-viz) — distributed by [TomeVault](https://tomevault.io). <!-- tomevault:4.0:skill_md:2026-07-14 -->
GitHub에서 보기