跳到技能内容
词映 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-writer-reference

Claude Code React Reference Writer Skill for Hook API Pages

Choose the react.dev reference template for a Hook, component, option, or directive. Make parameters, returns, caveats, and examples easy to find.

中文

Install in Claude Code

Use Claude Code in the pinned react.dev checkout with a verified API contract. Keep the companion docs-voice, docs-components, and docs-sandpack skills.

  1. Open the pinned repository checkout and confirm `.claude/skills/docs-writer-reference/SKILL.md` is present.
  2. Start Claude Code in the repository root and call `/docs-writer-reference` with the work and its verification goal.

Example task

Draft a reference for a fictional useReadingFilter hook. It accepts records and filter options and returns matching items. Show a read-status change as the smallest usage example.

What to check

The reference gives a signature, parameters, and return values. Usage shows the filter changing. Leave any unknown ordering behavior pending.

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

Frequently asked question

Should a component and a Hook use the same reference template?

Choose the layout based on the reader's lookup task. Components need props and rendering behavior. Hooks need signatures, return values, and caveats.

Related skills from this repository

  • Claude Code docs-components for React MDX Callouts
  • Claude Code React Docs Sandpack Skill for Interactive MDX Examples
Browse Claude Code skills in the Chinese directory
词映 AI 导航Skills 技能
工具分类全部工具已本地化技能选型指南AI 快讯