# Write Api Reference

> Produces API reference documentation for Next.js APIs: functions, components, file conventions, d…

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.

- Page: https://ss33.ai/skills/vercel/write-api-reference-68599982007
- Publisher: vercel
- Category: [Software Development](https://ss33.ai/skills/category/software-development-t44z8z) › [Developer docs & tooling](https://ss33.ai/skills/category/software-development-t44z8z/developer-docs-and-tooling-nich6w)
- Source: https://github.com/vercel/next.js/blob/ef0bc5f39a8e7bc9169830bd8b4391c69f5a44b5/.agents/skills/write-api-reference/SKILL.md

## Skill

This skill's licence does not allow redistribution, so the store does not serve its text. Get it from the author: https://github.com/vercel/next.js/blob/ef0bc5f39a8e7bc9169830bd8b4391c69f5a44b5/.agents/skills/write-api-reference/SKILL.md
