跳到技能内容
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
词映 AI导航
工具库Skills 技能
我的收藏
词映 AI导航
发现工具选型指南Skills 技能AI 快讯AI图片AI视频AI文档AI办公AI助手AI搜索AI编程AI音频AI设计AI智能体模型与开发AI学习模型评测AI提示词内容检测AI金融AI 3D扫描与识别其他工具跨境电商 AI
Skills directory/reactjs/react.dev/docs-components

Claude Code docs-components for React MDX Callouts

Choose Note, Pitfall, or DeepDive while editing the React documentation. The skill also checks spacing, heading levels, and anchors in MDX learning guides and API references.

中文

Install in Claude Code

Use Claude Code in the pinned react.dev checkout and the project's documentation preview to inspect the rendered page.

  1. Confirm `.claude/skills/docs-components/SKILL.md` in the pinned react.dev checkout.
  2. Start Claude Code at the repository root and call `/docs-components` with the MDX file and the proposed callout text.

Example task

In a fictional state tutorial, add a titled warning about reading a stale value twice in an event handler. Add a separate expandable explanation of update batching.

What to check

The warning should use a Pitfall with a level-five heading and ID. The explanation should use a DeepDive beginning with a level-four heading and ID. Check the blank line after each opening tag.

Original SKILL.md on GitHub · Updated 2026-11-13

Frequently asked question

Should a terminology clarification and a common source of bugs use the same component?

Use Note for a terminology clarification. Use Pitfall for a mistake readers are likely to make and explain when the bug appears.

词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯