跳转到主要内容

write-api-reference

星标141,700
分支16,721
更新时间2026年5月26日 11:14

Produces API reference documentation for Next.js APIs: functions, components, file conventions, directives, and config options. **Auto-activation:** User asks to write, create, or draft an API reference page. Also triggers on paths like `docs/01-app/03-api-reference/`, or keywords like "API reference", "props", "parameters", "returns", "signature". **Input sources:** Next.js source code, existing API reference pages, or user-provided specifications. **Output type:** A markdown (.mdx) API reference page with YAML frontmatter, usage example, reference section, behavior notes, and examples.

· 实时索引

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

想先保存到本地?可下载 RuleHub 当前索引到的 GitHub 仓库压缩包。

下载 Zip
文件资源管理器2 个文件
SKILL.mdreadonly
namewrite-api-reference
descriptionProduces API reference documentation for Next.js APIs: functions, components, file conventions, directives, and config o...

write-api-reference

Produces API reference documentation for Next.js APIs: functions, components, file conventions, directives, and config options.

Auto-activation: User asks to write, create, or draft an API reference page. Also triggers on paths like docs/01-app/03-api-reference/, or keywords like "API reference", "props", "parameters", "returns", "signature".

Input sources: Next.js source code, existing API reference pages, or user-provided specifications.

Output type: A markdown (.mdx) API reference page with YAML frontmatter, usage example, reference section, behavior notes, and examples.

When to use

Use this skill when the user needs help with tasks related to write api reference.

Guidelines

  • Follow repository conventions in vercel/next.js
  • Prefer minimal, focused changes
  • Validate outputs before finishing