Pular para o conteúdo
Kitbay
Skill

write-api-reference

MITAtualizado em 11 de nov. de 2026143.470Estrelas no GitHub

A maintainer skill in the Next.js repository for writing one API reference page in its documentation, run as a planning agent in a forked context.

O que a skill ensina

A maintainer skill in the Next.js repository for writing one API reference page in its documentation, run as a planning agent in a forked context. The agent asks for RFCs, pull requests or design notes, decides whether the API is a function, component, file convention, directive or config option, reads the implementation and related end-to-end tests, and checks existing pages for overlap. It then writes an MDX page from the matching template: a one-line opening, a minimal TypeScript and JavaScript example pair, a reference section, short notes, examples and version history. Style rules ban promotional wording and em dashes, ask for observable behaviour, and keep older names for renamed features findable.

O que faz

  • Classify an API into one of five page types
  • Draft an API reference page from a template
  • Check source code and tests before writing
  • Apply the docs style rules