review-docs · reactjs — Claude Code skill: React docs review
review-docs reviews React documentation for structure, component usage, and style rules. It fits MDX checks before changes are planned.
CC-BY-4.0 ★ 11,851 updated 2026-10-20
npx skills add reactjs/react.dev --skill review-docs -a claude-codeWhat review-docs does
This skill splits a documentation review into parallel checks. Files under src/content/learn/, src/content/reference/, and src/content/blog/ receive section-specific review tasks, while every documentation file is checked for voice and component usage. Files with Sandpack examples get an additional Sandpack-focused pass.
When no file is supplied, the skill reads Git status and selects modified MDX files under src/content/. The agent returns one checklist with findings and line numbers from the review tasks, then asks the user to create a fix plan.
The checks depend on the file path and its contents. A file outside src/content/, for example, will not match the section-specific review steps.
What it helps with
- review the structure of React documentation
- spot style issues in an MDX file
- check a page against its documentation section
- inspect Sandpack examples
- return findings with line numbers
Example prompts for the agent
- Review
src/content/learn/state-a-components-memory.mdfor React documentation structure and style, then return a checklist with line numbers. - Check all modified MDX files under
src/content/and ask me to create a plan for the fixes. - Review this file’s Sandpack example together with its documentation components and writing style.
How to install review-docs
1Skills CLI (Vercel)
npx skills add reactjs/react.dev --skill review-docs -a claude-code2Manually: put the files in place
~/.claude/skills/review-docs/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/review-docs/
1Skills CLI (Vercel)
npx skills add reactjs/react.dev --skill review-docs -a codex2Manually: put the files in place
.agents/skills/review-docs/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reactjs/react.dev --skill review-docs -a cursor2Manually: put the files in place
.cursor/skills/review-docs/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reactjs/react.dev .claude/skills/review-docs2Manually: put the files in place
.github/skills/review-docs/SKILL.md1Skills CLI (Vercel)
npx skills add reactjs/react.dev --skill review-docs -a gemini-cli2Platform CLI
gemini skills install https://github.com/reactjs/react.dev --path .claude/skills/review-docsManually: put the files in place
.devin/skills/review-docs/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reactjs/react.dev --skill review-docs -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about review-docs
How do I install review-docs in Claude Code?
Run npx skills add reactjs/react.dev --skill review-docs -a claude-code, then check ~/.claude/skills/review-docs/SKILL.md.
What does review-docs do?
It divides a React documentation review into parallel tasks for section rules, documentation voice, components, and Sandpack content. The result is a checklist with line numbers, followed by a request to plan the fixes.
What happens when I do not provide a file?
The skill uses Git status to find modified MDX files under src/content/. Section-specific checks depend on the directory, and the Sandpack check applies to files containing Sandpack examples.
Source text
SKILL.md · CC-BY-4.0
---
name: review-docs
description: Use when reviewing React documentation for structure, components, and style compliance
---
CRITICAL: do not load these skills yourself.
Run these tasks in parallel for the given file(s). Each agent checks different aspects—not all apply to every file:
- [ ] Ask docs-reviewer agent to review {files} with docs-writer-learn (only for files in src/content/learn/).
- [ ] Ask docs-reviewer agent to review {files} with docs-writer-reference (only for files in src/content/reference/).
- [ ] Ask docs-reviewer agent to review {files} with docs-writer-blog (only for files in src/content/blog/).
- [ ] Ask docs-reviewer agent to review {files} with docs-voice (all documentation files).
- [ ] Ask docs-reviewer agent to review {files} with docs-components (all documentation files).
- [ ] Ask docs-reviewer agent to review {files} with docs-sandpack (files containing Sandpack examples).
If no file is specified, check git status for modified MDX files in `src/content/`.
The docs-reviewer will return a checklist of the issues it found. Respond with the full checklist and line numbers from all agents, and prompt the user to create a plan to fix these issues.
© reactjs · CC-BY-4.0 · reactjs/react.dev
Similar skills
All skills for Writing and docs →review-docs by other authors comes first.