Doc generator

From luongnv89/claude-howto · View interactive version

Doc generator is an AI agent skill from the GitHub repository luongnv89/claude-howto. Generate comprehensive, accurate API documentation from source code. Use when creating or updating API documentation, generating OpenAPI specs, or when users mention API docs, endpoints, or documentation.

How to use this skill

Skill file

API Documentation Generator Skill

Generates

Documentation Structure

For Each Endpoint

## GET /api/v1/users/:id

### Description
Brief explanation of what this endpoint does

### Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| id | string | Yes | User ID |

### Response

**200 Success**

{

"id": "usr_123",

"name": "John Doe",

"email": "john@example.com",

"created_at": "2025-01-15T10:30:00Z"

}


**404 Not Found**

{

"error": "USER_NOT_FOUND",

"message": "User does not exist"

}


### Examples

**cURL**

curl -X GET "https://api.example.com/api/v1/users/usr_123" \

-H "Authorization: Bearer YOUR_TOKEN"


**JavaScript**

const user = await fetch('/api/v1/users/usr_123', {

headers: { 'Authorization': 'Bearer token' }

}).then(r => r.json());


**Python**

response = requests.get(

'https://api.example.com/api/v1/users/usr_123',

headers={'Authorization': 'Bearer token'}

)

user = response.json()


Last Updated: August 4, 2026

Claude Code Version: 2.1.220

Sources:

Compatible Models: Claude Fable 5.2, Claude Fable 5.1, Claude Fable 5, Claude Opus 5.5, Claude Opus 5, Claude Sonnet 5.5, Claude Sonnet 5, Claude Sonnet 4.6, Claude Opus 4.8, Claude Haiku 5.5, Claude Haiku 4.5

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.