📄
WritingShell

API Doc Generator

by JackyST0

API Doc Generator is a Writing skill for Claude Code, published by JackyST0 in awesome-agent-skills.

624 stars109 forkson JackyST0/awesome-agent-skillsAdded 2026/08/24Repository updated 2026/08/24
agent-skillsaiawesomeawesome-listclaudecopilotcursor
Install in seconds
Install API Doc Generator
Copy API Doc Generator into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/JackyST0/awesome-agent-skills/tree/main/examples/api-doc-generator ~/.claude/skills/api-doc-generator

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/JackyST0/awesome-agent-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
examples/api-doc-generator/SKILL.md in JackyST0/awesome-agent-skills
Installs to
~/.claude/skills/api-doc-generator
Collection
One of 5 skills cataloged from this repository
Category
Writing1012 skills

What API Doc Generator does

API Doc Generator creates API documentation from source code for REST, GraphQL, and other API styles. Use it when you need endpoint descriptions, parameters, responses, or OpenAPI/Swagger output.

API Doc Generator is cataloged under Writing on DirSkills. API Doc Generator comes from a repository tagged agent-skills, ai, awesome, awesome-list and claude.

Documentation

README

API Doc Generator

根据代码生成 API 文档,支持 REST API、GraphQL 及多种文档格式。

Generate API documentation from source code, supporting REST APIs, GraphQL, and various documentation formats.

When to Use

当用户请求以下操作时使用此 skill:

  • 生成 API 文档 / Generate API documentation
  • 创建接口文档 / Create interface documentation
  • 编写 API 说明 / Write API descriptions
  • 生成 OpenAPI/Swagger 规范 / Generate OpenAPI/Swagger specs

Instructions

分析步骤 / Analysis Steps

  1. 识别 API 类型 - REST、GraphQL、RPC 等
  2. 提取端点信息 - URL、方法、参数
  3. 分析数据结构 - 请求/响应格式
  4. 识别认证方式 - API Key、OAuth、JWT 等
  5. 生成文档 - 按照标准格式输出

文档内容 / Documentation Content

每个 API 端点应包含:

  • 端点路径 - URL 和 HTTP 方法
  • 描述 - 功能说明
  • 参数 - 路径参数、查询参数、请求体
  • 响应 - 成功和错误响应示例
  • 认证 - 认证要求

输出格式 / Output Formats

This is the opening of the README. Read the full README on GitHub.

Commands API Doc Generator provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /path
  • /users

Frequently asked about API Doc Generator

  • What else does JackyST0 publish alongside API Doc Generator?

    API Doc Generator is one of 5 skills that DirSkills catalogs from JackyST0/awesome-agent-skills, the repository it ships in. Its siblings there include Code Review, Debug Helper and Git Commit. Each one is a separate skill with its own page in this directory, installs the same way API Doc Generator does, and is maintained by JackyST0 in that same repository. The rest of the collection is listed on the JackyST0/awesome-agent-skills page.

  • How does API Doc Generator compare to other Writing skills?

    API Doc Generator ranks #661 by stars among the 1012 Writing skills in this catalog. The most-starred ones next to it are Article Writing, Social Media Content Calendar and Knowledge Comic Creator. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of API Doc Generator against them. Open each page to compare what they document and how they install.