搜索

PythonReactSEOPDF
OpenClaw

Afrexai Api Docs

API Documentation Generator

1kalin0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install 1kalin/afrexai-api-docs

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

API Documentation Generator

Generate production-ready API documentation from endpoint descriptions. Outputs OpenAPI 3.0, markdown reference docs, and SDK quickstart guides.

Usage

Describe your API endpoints and this skill generates:

  1. OpenAPI 3.0 spec — machine-readable, import into Swagger/Postman
  2. Markdown reference — human-readable endpoint docs with examples
  3. SDK quickstart — copy-paste integration guide for developers

Instructions

When the user describes API endpoints (routes, methods, parameters, responses):

  1. Generate a complete OpenAPI 3.0 YAML specification
  2. Create markdown documentation with:
    • Authentication section
    • Each endpoint: method, path, description, parameters table, request/response examples
    • Error codes reference
    • Rate limiting notes
  3. Generate a quickstart guide with curl examples and common language snippets (Python, JavaScript, Go)
Output Format
# openapi.yaml — full OpenAPI 3.0 spec
# API Reference — human-readable docs
# Quickstart Guide — integration examples
Quality Standards
  • Every endpoint must have request AND response examples
  • Use realistic sample data, not "string" or "example"
  • Include error responses (400, 401, 403, 404, 500)
  • Document pagination, filtering, and sorting patterns
  • Note breaking changes and versioning strategy

Tips

  • Paste your route files or controller code for automatic extraction
  • Works with REST, GraphQL (schema-first), and gRPC (proto-first)
  • Combine with CI/CD to auto-generate docs on every deploy

Built by AfrexAI — AI-powered business tools for teams that ship fast.

来源信息

Source
github
Repository
openclaw/skills
Path
skills/1kalin/afrexai-api-docs
Version
—
Commit
ee931c93971c4d47e14575c957e798888695a2eb
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

API Documentation Generator

Stop writing API docs by hand. Describe your endpoints and get production-ready OpenAPI specs, markdown references, and SDK quickstarts in seconds.

What You Get

  • OpenAPI 3.0 YAML — import directly into Swagger UI, Postman, or Redoc
  • Markdown reference docs — every endpoint with params, examples, error codes
  • Quickstart guides — curl + Python + JavaScript + Go snippets ready to copy

Why This Exists

Engineering teams spend 4-8 hours per sprint on documentation. Most API docs are outdated within a week of writing them. This skill generates complete, consistent docs from endpoint descriptions — no more excuses for missing documentation.

Works With

  • REST APIs (any framework)
  • GraphQL (schema-first generation)
  • gRPC (proto-first generation)

Install

clawhub install afrexai-api-docs

Example

Tell your agent: "Document my user API: GET /users, POST /users, GET /users/:id, PUT /users/:id, DELETE /users/:id"

You'll get a complete OpenAPI spec, formatted reference docs, and integration quickstart — all consistent, all with realistic examples.


More from AfrexAI

Built by AfrexAI 🖤💛

来源内容

SKILL.md
# API Documentation Generator

Generate production-ready API documentation from endpoint descriptions. Outputs OpenAPI 3.0, markdown reference docs, and SDK quickstart guides.

## Usage

Describe your API endpoints and this skill generates:

1. **OpenAPI 3.0 spec** — machine-readable, import into Swagger/Postman
2. **Markdown reference** — human-readable endpoint docs with examples
3. **SDK quickstart** — copy-paste integration guide for developers

## Instructions

When the user describes API endpoints (routes, methods, parameters, responses):

1. Generate a complete OpenAPI 3.0 YAML specification
2. Create markdown documentation with:
   - Authentication section
   - Each endpoint: method, path, description, parameters table, request/response examples
   - Error codes reference
   - Rate limiting notes
3. Generate a quickstart guide with curl examples and common language snippets (Python, JavaScript, Go)

### Output Format

```yaml
# openapi.yaml — full OpenAPI 3.0 spec
```

```markdown
# API Reference — human-readable docs
```

```markdown
# Quickstart Guide — integration examples
```

### Quality Standards
- Every endpoint must have request AND response examples
- Use realistic sample data, not "string" or "example"
- Include error responses (400, 401, 403, 404, 500)
- Document pagination, filtering, and sorting patterns
- Note breaking changes and versioning strategy

## Tips
- Paste your route files or controller code for automatic extraction
- Works with REST, GraphQL (schema-first), and gRPC (proto-first)
- Combine with CI/CD to auto-generate docs on every deploy

---

Built by [AfrexAI](https://afrexai-cto.github.io/context-packs/) — AI-powered business tools for teams that ship fast.
README
# API Documentation Generator

Stop writing API docs by hand. Describe your endpoints and get production-ready OpenAPI specs, markdown references, and SDK quickstarts in seconds.

## What You Get

- **OpenAPI 3.0 YAML** — import directly into Swagger UI, Postman, or Redoc
- **Markdown reference docs** — every endpoint with params, examples, error codes
- **Quickstart guides** — curl + Python + JavaScript + Go snippets ready to copy

## Why This Exists

Engineering teams spend 4-8 hours per sprint on documentation. Most API docs are outdated within a week of writing them. This skill generates complete, consistent docs from endpoint descriptions — no more excuses for missing documentation.

## Works With

- REST APIs (any framework)
- GraphQL (schema-first generation)
- gRPC (proto-first generation)

## Install

```bash
clawhub install afrexai-api-docs
```

## Example

Tell your agent: "Document my user API: GET /users, POST /users, GET /users/:id, PUT /users/:id, DELETE /users/:id"

You'll get a complete OpenAPI spec, formatted reference docs, and integration quickstart — all consistent, all with realistic examples.

---

## More from AfrexAI

- [AI Revenue Leak Calculator](https://afrexai-cto.github.io/ai-revenue-calculator/) — find where you're bleeding money on manual processes
- [AI Agent Setup Wizard](https://afrexai-cto.github.io/agent-setup/) — deploy your first AI agent in 15 minutes
- [Context Packs](https://afrexai-cto.github.io/context-packs/) — industry-specific AI configurations ($47/pack)

Built by [AfrexAI](https://afrexai-cto.github.io/context-packs/) 🖤💛

相关技能

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

humanpages

human-pages-ai

Search and hire real humans for tasks — photography, delivery, research, and more

OpenClaw

openclaw-skills

zseven-w

Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance