1075551341/claude_code_config/api-documentation
Claude Code and agent skill by 1075551341/claude_code_config
- community
Checking that the SKILL.md file is still in the repository.
API文档编写规范,编写清晰、完整的RESTful API文档
Install
npx vskill@latest install 1075551341/claude_code_config/api-documentationSKILL.md
The same SKILL.md was published earlier as 1075551341/claude_code_config/api-documentation.
API 文档编写
文档结构
标准模板
{ "code": 0, "msg": "ok", "data": {...} }
GET /users # 列表 GET /users/:id # 详情 POST /users # 创建 PUT /users/:id # 全量更新 PATCH /users/:id # 部分更新 DELETE /users/:id # 删除
// 成功 { "code": 0, "msg": "ok", "data": {...} }
// 错误 { "code": 1001, "msg": "参数错误", "data": null }
// 分页 { "code": 0, "msg": "ok", "data": { "items": [], "pagination": { "total": 100, "page": 1 } } }
200 OK # 成功 201 Created # 创建成功 204 No Content # 删除成功 400 Bad Request # 参数错误 401 Unauthorized # 未认证 403 Forbidden # 无权限 404 Not Found # 资源不存在 500 Server Error # 服务器错误
Authorization: Bearer <token>
X-API-Key: your-api-key
openapi: 3.0.0 info: title: API 文档 version: 1.0.0
paths: /users: get: summary: 获取用户列表 parameters:
- name: page
in: query schema: type: integer responses: "200": description: 成功
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcatalog/skills/api-documentation/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/1075551341/claude_code_config/api-documentation)