Skip to content
Back to skills

Api Documentation Generator

ASecurity

Generate comprehensive, developer-friendly API documentation from code, including endpoints, parameters, examples, and best practices

  • 508 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 7, 2026
developmentapidocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add Dokhacgiakhoa/antigravity-ide --skill api-documentation-generator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Documentation Generator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Documentation Generator
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/dokhacgiakhoa-api-documentation-generator/badge)](https://www.skillsdirectory.com/skills/dokhacgiakhoa-api-documentation-generator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
version: 4.1.0-fractal
name: api-documentation-generator
description: "Generate comprehensive, developer-friendly API documentation from code, including endpoints, parameters, examples, and best practices"
---

# API Documentation Generator

## Overview

Automatically generate clear, comprehensive API documentation from your codebase. This skill helps you create professional documentation that includes endpoint descriptions, request/response examples, authentication details, error handling, and usage guidelines.

Perfect for REST APIs, GraphQL APIs, and WebSocket APIs.

## When to Use This Skill

- Use when you need to document a new API
- Use when updating existing API documentation
- Use when your API lacks clear documentation
- Use when onboarding new developers to your API
- Use when preparing API documentation for external users
- Use when creating OpenAPI/Swagger specifications

## How It Works

## 🧠 Knowledge Modules (Fractal Skills)

### 1. [Step 1: Analyze the API Structure](./sub-skills/step-1-analyze-the-api-structure.md)
### 2. [Step 2: Generate Endpoint Documentation](./sub-skills/step-2-generate-endpoint-documentation.md)
### 3. [Step 3: Add Usage Guidelines](./sub-skills/step-3-add-usage-guidelines.md)
### 4. [Step 4: Document Error Handling](./sub-skills/step-4-document-error-handling.md)
### 5. [Step 5: Create Interactive Examples](./sub-skills/step-5-create-interactive-examples.md)
### 6. [Example 1: REST API Endpoint Documentation](./sub-skills/example-1-rest-api-endpoint-documentation.md)
### 7. [Example 2: GraphQL API Documentation](./sub-skills/example-2-graphql-api-documentation.md)
### 8. [Example 3: Authentication Documentation](./sub-skills/example-3-authentication-documentation.md)
### 9. [Getting a Token](./sub-skills/getting-a-token.md)
### 10. [Using the Token](./sub-skills/using-the-token.md)
### 11. [Token Expiration](./sub-skills/token-expiration.md)
### 12. [βœ… Do This](./sub-skills/do-this.md)
### 13. [❌ Don't Do This](./sub-skills/dont-do-this.md)
### 14. [Recommended Sections](./sub-skills/recommended-sections.md)
### 15. [Problem: Documentation Gets Out of Sync](./sub-skills/problem-documentation-gets-out-of-sync.md)
### 16. [Problem: Missing Error Documentation](./sub-skills/problem-missing-error-documentation.md)
### 17. [Problem: Examples Don't Work](./sub-skills/problem-examples-dont-work.md)
### 18. [Problem: Unclear Parameter Requirements](./sub-skills/problem-unclear-parameter-requirements.md)
### 19. [OpenAPI/Swagger](./sub-skills/openapiswagger.md)
### 20. [Postman Collection](./sub-skills/postman-collection.md)

Files in this skill

  • SKILL.md2.6 KB
  • sub-skills/do-this.md710 B
  • sub-skills/dont-do-this.md573 B
  • sub-skills/example-1-rest-api-endpoint-documentation.md2.2 KB
  • sub-skills/example-2-graphql-api-documentation.md937 B
  • sub-skills/example-3-authentication-documentation.md134 B
  • sub-skills/getting-a-token.md306 B
  • sub-skills/openapiswagger.md356 B
  • sub-skills/postman-collection.md1.1 KB
  • sub-skills/problem-documentation-gets-out-of-sync.md306 B
  • sub-skills/problem-examples-dont-work.md238 B
  • sub-skills/problem-missing-error-documentation.md262 B
  • sub-skills/problem-unclear-parameter-requirements.md258 B
  • sub-skills/recommended-sections.md893 B
  • sub-skills/step-1-analyze-the-api-structure.md318 B
  • sub-skills/step-2-generate-endpoint-documentation.md661 B
  • sub-skills/step-3-add-usage-guidelines.md206 B
  • sub-skills/step-4-document-error-handling.md185 B
  • sub-skills/step-5-create-interactive-examples.md181 B
  • sub-skills/token-expiration.md237 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…