Back to skills
SKILL.md
Api Doc Generator
ASecurity自动从代码生成 API 文档。
- 11 stars
- 0 votes
- 0 copies
- 2 views
- Added September 10, 2026
Works with
Security analysis
100/100Pro scans all 4 files and shows the line behind each finding
npx -y skills add luokai0/ai-agent-skills-by-luo-kai --skill api-doc-generator --agent claude-codeAre you the author of Api Doc Generator?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/luokai0-api-doc-generator)# API Doc Generator
自动从代码生成 API 文档。
## 功能
- 分析代码中的函数/方法签名
- 自动提取参数和返回值类型
- 生成 OpenAPI/Swagger 格式文档
- 支持 Python、JavaScript、TypeScript、Go
## 触发词
- "生成API文档"
- "API文档"
- "生成接口文档"
- "openapi"
- "swagger"
## 示例
```
用户: 帮我把这个Python函数生成API文档
助手: (使用此skill生成OpenAPI文档)
```
## 输出格式
```json
{
"openapi": "3.0.0",
"info": { "title": "API", "version": "1.0.0" },
"paths": {
"/users": {
"get": {
"summary": "获取用户列表",
"parameters": [...],
"responses": { "200": {...} }
}
}
}
}
```
Files in this skill
- .clawhub/origin.json
- SKILL.md
- _meta.json
- skill.yaml
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.