本文へスキップ
Kitbay
スキル

doc-generator

MIT2026年11月3日 更新46,944GitHubスター

A short skill from the claude-howto guide to Claude Code that has the agent write API documentation from a project's source code.

スキルの内容

A short skill from the claude-howto guide to Claude Code that has the agent write API documentation from a project's source code. It lists the kinds of output it can produce, such as OpenAPI or Swagger specifications, endpoint references, SDK usage examples, integration and authentication guides and error code lists, and gives one template for documenting each endpoint: a method and path heading, a one-line description, a table of parameters with types and whether they are required, example success and error responses, and request examples in cURL, JavaScript fetch and Python requests with a bearer token. It has no scripts or further steps beyond that template.

できること

  • Document API endpoints from source code
  • Write request examples in cURL, JavaScript and Python
  • Draft an OpenAPI specification