react-doctor-fix

react-doctor-fix is a skill for Claude Code, Codex from CDCgov/cdc-open-viz. It costs 69 tokens per session (462 once invoked), scanned A, original, Apache-2.0.

A step-by-step workflow for fixing issues reported by React Doctor, a tool that reviews React code for known problem patterns.

In plain words
What is it for?
Use it to read a React Doctor report, choose a rule category, fix its listed issues in sequence, and mark completed items in the report.
Why use it?
It limits changes to the selected review section and makes each issue explicit, so fixes can be checked and confirmed one at a time.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to read a React Doctor report, choose a rule category, fix its listed issues in sequence, and mark completed items in the report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cdcgov/cdc-open-viz/react-doctor-fix
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CDCgov/cdc-open-viz --skill react-doctor-fix
Clone the repo
git clone --depth 1 https://github.com/CDCgov/cdc-open-viz

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for react-doctor-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/cdcgov/cdc-open-viz/react-doctor-fix.svg)](https://agentmods.dev/skills/cdcgov/cdc-open-viz/react-doctor-fix)
Your own site
<a href="https://agentmods.dev/skills/cdcgov/cdc-open-viz/react-doctor-fix"><img src="https://agentmods.dev/badge/skills/cdcgov/cdc-open-viz/react-doctor-fix.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 462 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.00462
Opus 5 $0.00034 $0.00231
Sonnet 5 $0.00014 $0.00092
Haiku 4.5 $0.00007 $0.00046

Measured 8d ago against content hash 63816ad516dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

react-doctor-fix scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/react-doctor-fix/SKILL.md · 40 lines

What it actually says

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?
  1. 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.

  2. 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.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 40 lines · 69 tokens per session scan A 63816ad516dd

Subscribe to this mod's changes

react-doctor-fix is a skill published in the GitHub repository CDCgov/cdc-open-viz (55 stars, last pushed 3d ago), licensed Apache-2.0. It adds 69 tokens to every session and 462 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits with the [compiler] or [rust-compiler] prefix.

react/react · 42 tokens

compiler-verify

Use when you need to run all compiler checks (tests, lint, format) before committing. Detects whether TS or Rust code changed and runs the appropriate checks.

react/react · 37 tokens

compiler-review

Review Rust port code for port fidelity, convention compliance, and error handling. Compares against the original TypeScript source.

react/react · 27 tokens

build-with-tinybase

Scaffold, extend, and verify reactive local-first JavaScript or TypeScript applications with TinyBase. Use when choosing TinyBase for in-memory tabular or key-value state, generating an app with create-tinybase, adding schemas or UI bindings, configuring browser or database persistence, configuring MergeableStore…

tinyplex/tinybase · 76 tokens

semiotic-charts

Generate trustworthy, accessible, agent-legible charts with Semiotic. Use whenever you produce a data visualization in a React/TypeScript app, stream a chart as generative UI, or pick a chart type for a dataset. Emit a validated config and run the trust loop — never hand-write chart JSX that breaks on first paint.

nteract/semiotic · 71 tokens

infographic-item-creator

Generate or update infographic Item components for this repo (TypeScript/TSX in src/designs/items). Use when asked to design, implement, or modify data item visuals, layout logic, or registerItem composites.

antvis/Infographic · 49 tokens