← Back to Skills Marketplace
1kalin

API Documentation Generator

by 1kalin · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
672
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install afrexai-api-docs
Description
Generate comprehensive OpenAPI 3.0 specs, markdown reference docs, and SDK quickstarts from API endpoint descriptions with examples and error codes.
README (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

# 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.

Usage Guidance
This appears internally consistent and low-risk, but follow these practical precautions before use: 1) Do not paste production secrets, API keys, or private certificates into the skill — only paste code or route descriptions you are comfortable sharing. 2) If you integrate this with CI/CD or a repo, grant the minimal scopes required and review any automation scripts. 3) Verify generated OpenAPI/spec examples before publishing (to avoid leaking sample data). 4) If you want the agent to read files automatically, require an explicit, auditable connector rather than pasting sensitive files. Overall the skill is coherent with its stated purpose, but treat any code or configs you provide as potentially visible to the agent and avoid including secrets.
Capability Analysis
Type: OpenClaw Skill Name: afrexai-api-docs Version: 1.0.0 The skill bundle is benign. All files (`_meta.json`, `SKILL.md`, `README.md`) align with the stated purpose of generating API documentation. The `SKILL.md` provides clear, task-specific instructions for the AI agent to generate OpenAPI specifications, markdown reference, and quickstart guides, without any evidence of prompt injection attempts to subvert the agent's behavior, exfiltrate data, or execute unauthorized commands. The `README.md` provides standard user-facing information and installation instructions. All external links are to the developer's own projects and do not appear malicious.
Capability Assessment
Purpose & Capability
Name and SKILL.md describe generating OpenAPI, markdown docs, and quickstarts; the skill requests no binaries, env vars, or installs — this matches the stated purpose.
Instruction Scope
Runtime instructions stay narrowly focused on producing OpenAPI specs, reference docs, and quickstarts. The only note is a suggestion to 'paste your route files or controller code for automatic extraction' — this is user-driven input, not an instruction to access system files or credentials autonomously.
Install Mechanism
No install spec and no code files — instruction-only. That minimizes disk-write and remote-code risk.
Credentials
The skill requests no environment variables, credentials, or config paths; nothing disproportionate is required for generating docs.
Persistence & Privilege
Defaults (not always: true) and normal autonomous invocation are used. There is no request for permanent presence or modification of other skills/configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install afrexai-api-docs
  3. After installation, invoke the skill by name or use /afrexai-api-docs
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release: Generate professional API documentation from endpoint descriptions. - Outputs OpenAPI 3.0 YAML, markdown API reference, and SDK quickstart guides. - Supports detailed examples for requests, responses, error codes, and authentication. - Handles REST, GraphQL, and gRPC formats. - Emphasizes high-quality, production-ready documentation with full endpoint coverage. - Tips provided for automation and workflow integration.
Metadata
Slug afrexai-api-docs
Version 1.0.0
License
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is API Documentation Generator?

Generate comprehensive OpenAPI 3.0 specs, markdown reference docs, and SDK quickstarts from API endpoint descriptions with examples and error codes. It is an AI Agent Skill for Claude Code / OpenClaw, with 672 downloads so far.

How do I install API Documentation Generator?

Run "/install afrexai-api-docs" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is API Documentation Generator free?

Yes, API Documentation Generator is completely free (open-source). You can download, install and use it at no cost.

Which platforms does API Documentation Generator support?

API Documentation Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created API Documentation Generator?

It is built and maintained by 1kalin (@1kalin); the current version is v1.0.0.

💬 Comments