用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/diegosouzapw/awesome-omni-skill --skill api-documentor命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Token-efficient tracking for AI orchestration. CLI-first for status updates (~50 tokens), agent fallback for complex ops (~1KB). Use when: updating task status, querying blockers, creating progress files, validating phases.
AshAi extension guidelines for integrating AI capabilities with Ash Framework. Use when implementing vectorization/embeddings, exposing Ash actions as LLM tools, creating prompt-backed actions, or setting up MCP servers. Covers semantic search, LangChain integration, and structured outputs.
This skill should be used when solving hard questions, complex architectural problems, or debugging issues that benefit from GPT-5 Pro or GPT-5.1 thinking models with large file context. Use when standard Claude analysis needs deeper reasoning or extended context windows.
基于 SOC 职业分类
正在显示 SKILL.md
| name | api-documentor |
| description | Generates OpenAPI/Swagger/GraphQL documentation and SDKs from code |
| version | 1.0.0 |
| tags | ["api","documentation","openapi","swagger","graphql","sdk"] |
The API Documentor Skill automatically generates comprehensive API documentation from code, including OpenAPI/Swagger specs, GraphQL schemas, and client SDKs. It eliminates manual documentation efforts and ensures API docs stay synchronized with implementation.
Key Capabilities:
Target Token Savings: 80% (from ~3000 tokens to ~600 tokens)
Use the API Documentor Skill when:
Trigger Phrases:
Generates OpenAPI 3.0 specification from REST API code.
Features:
Creates GraphQL schema documentation from resolvers.
Features:
Auto-generates client SDKs in multiple languages.
Languages:
Creates human-readable API reference documentation.
Formats:
Validates API implementation against OpenAPI spec.
Checks:
Generates API mock server from specification.
Features:
# Generate from Flask/FastAPI application
python ~/.claude/skills/api-documentor/scripts/main.py \
--operation generate-openapi \
--app-file app.py \
--output openapi.yaml
# Generate with custom info
python ~/.claude/skills/api-documentor/scripts/main.py \
--operation generate-openapi \
--app-file app.py \
--title "My API" \
--version "1.0.0" \
--output openapi.yaml
# Generate from GraphQL schema
python ~/.claude/skills/api-documentor/scripts/main.py \
--operation generate-graphql \
--schema-file schema.graphql \
--output graphql-docs.html
# Generate Python SDK
python ~/.claude/skills/api-documentor/scripts/main.py \
--operation generate-sdk \
--spec openapi.yaml \
--language python \
--output-dir ./sdks/python
# Generate TypeScript SDK
python ~/.claude/skills/api-documentor/scripts/main.py \
--operation generate-sdk \
--spec openapi.yaml \
--language typescript \
--output-dir ./sdks/typescript
# Generate HTML docs
python ~/.claude/skills/api-documentor/scripts/main.py \
--operation generate-docs \
--spec openapi.yaml \
--format html \
--output api-docs.html
{
"api-documentor": {
"openapi": {
"version": "3.0.0",
"title": "API Documentation",
"description": "Auto-generated API documentation",
"contact": {
"name": "API Team",
"email": "api@example.com"
},
"servers": [
{"url": "https://api.example.com", "description": "Production"},
{"url": "https://api-staging.example.com", "description": "Staging"}
]
},
python ~/.claude/skills/api-documentor/scripts/main.py \
--operation generate-openapi \
--app-file app.py
Output:
openapi: 3.0.0
info:
title: User API
version: 1.0.0
paths:
/users:
get:
summary: List users
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/User'
python ~/.claude/skills/api-documentor/scripts/main.py \
--operation generate-sdk \
--spec openapi.yaml \
--language python
Output: Complete Python SDK with methods for all API endpoints
Without Skill: ~3000 tokens (manual documentation) With Skill: ~600 tokens (80% savings)
API Documentor Skill v1.0.0 - Automated API documentation generation