Skip to content
Back to skills

Doc Generator

ASecurity

<!-- i18n-source: 03-skills/doc-generator/SKILL.md --> <!-- i18n-source-sha: a6380d8 --> <!-- i18n-date: 2026-04-27 -->

  • 41,719 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 2, 2026
documentationjavascriptpythonjavabashapi

Works with

  • api

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add luongnv89/claude-howto --skill doc-generator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Doc Generator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Doc Generator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/luongnv89-doc-generator-claude-howto/badge)](https://www.skillsdirectory.com/skills/luongnv89-doc-generator-claude-howto)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
<!-- i18n-source: 03-skills/doc-generator/SKILL.md -->
<!-- i18n-source-sha: a6380d8 -->
<!-- i18n-date: 2026-04-27 -->

---
name: doc-generator
description: ソースコードから包括的かつ正確な API ドキュメントを生成する。API ドキュメントの作成・更新、OpenAPI 仕様の生成時、または API ドキュメント、エンドポイント、ドキュメントについて言及がある場合に使用する。
---

# API ドキュメント生成スキル

## 生成するもの

- OpenAPI/Swagger 仕様
- API エンドポイントのドキュメント
- SDK 利用例
- 統合ガイド
- エラーコード・リファレンス
- 認証ガイド

## ドキュメント構造

### 各エンドポイントごと

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

### Description
このエンドポイントの動作を簡潔に説明

### Parameters

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

### Response

**200 Success**
```json
{
  "id": "usr_123",
  "name": "John Doe",
  "email": "john@example.com",
  "created_at": "2025-01-15T10:30:00Z"
}
```

**404 Not Found**
```json
{
  "error": "USER_NOT_FOUND",
  "message": "User does not exist"
}
```

### Examples

**cURL**
```bash
curl -X GET "https://api.example.com/api/v1/users/usr_123" \
  -H "Authorization: Bearer YOUR_TOKEN"
```

**JavaScript**
```javascript
const user = await fetch('/api/v1/users/usr_123', {
  headers: { 'Authorization': 'Bearer token' }
}).then(r => r.json());
```

**Python**
```python
response = requests.get(
    'https://api.example.com/api/v1/users/usr_123',
    headers={'Authorization': 'Bearer token'}
)
user = response.json()
```
````

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.