api documentation generator

API Documentation Generator

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "api documentation generator" with this command: npx skills add run6270/skill/run6270-skill-api-documentation-generator

API Documentation Generator

This skill helps generate detailed API documentation from your codebase.

What to Document

Endpoints

  • HTTP method (GET, POST, PUT, DELETE, etc.)

  • URL path and parameters

  • Query parameters

  • Request body schema

  • Response schema

  • Status codes

Authentication

  • Authentication methods

  • Required headers

  • Token format

Examples

  • Sample requests

  • Sample responses

  • Error responses

Models/Schemas

  • Data structures

  • Field types

  • Validation rules

  • Relationships

Output Format

Generate documentation in one of these formats:

  • Markdown: Human-readable documentation

  • OpenAPI 3.0: Industry standard API specification

  • Postman Collection: For API testing

Process

  • Scan the codebase for API route definitions

  • Extract endpoint information

  • Identify request/response models

  • Generate examples from tests or code

  • Format documentation according to chosen format

Example Output (Markdown)

POST /api/users

Create a new user account.

Request Body

```json { "email": "user@example.com", "password": "secure_password", "name": "John Doe" } ```

Response (201 Created)

```json { "id": "123", "email": "user@example.com", "name": "John Doe", "createdAt": "2025-01-15T10:30:00Z" } ```

Errors

  • 400 Bad Request: Invalid input data
  • 409 Conflict: Email already exists

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

image-enhancer

No summary provided by upstream source.

Repository SourceNeeds Review
General

baoyu-url-to-markdown

No summary provided by upstream source.

Repository SourceNeeds Review
General

baoyu-markdown-to-html

No summary provided by upstream source.

Repository SourceNeeds Review