document_api

Discover routes and compile schemas into API_DOCUMENTATION.md or Swagger/OpenAPI output.

41|10|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/krishnakanthb13/antigravity_global_skills --skill document-api-krishnakanthb13
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document_api
Source: https://github.com/krishnakanthb13/antigravity_global_skills/tree/main/document_api
Command: npx skills add https://github.com/krishnakanthb13/antigravity_global_skills --skill document-api-krishnakanthb13

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically maps and documents your server's API surface to keep API documentation accurate and up-to-date.

Core Features & Use Cases

  • Route discovery & mapping: identify endpoints across Express, Flask, and FastAPI.
  • Documentation generation: produce API_DOCUMENTATION.md or Swagger/OpenAPI specs.
  • Request/Response understanding: capture headers, body schemas, and example responses to ensure complete docs.

Quick Start

Point this skill at your backend project folder to generate an OpenAPI/Markdown API_DOCUMENTATION output.

Frequently Asked Questions about document_api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically generate API documentation for my backend project?

Automatically generate API documentation by pointing the tool at your backend project folder to discover routes and compile schemas into Markdown or OpenAPI specs. It identifies endpoints and extracts request/response details to ensure consistent docs.

Can I generate Swagger or OpenAPI specs from an existing Express or FastAPI project?

Yes, you can generate Swagger or OpenAPI specs from an existing Express or FastAPI project. The tool discovers route definitions across these frameworks and compiles endpoint-level details, headers, and body schemas into the specification format.

What is the best way to document API routes without manually writing endpoint details?

The best way to document API routes without manual writing is using automated route discovery to map your server's API surface. This process extracts parameters and sample payloads directly from your codebase to produce accurate, up-to-date documentation.

Does automated route discovery work for Flask backends and capture request/response schemas?

Yes, automated route discovery works for Flask backends and captures request/response schemas. It identifies Flask endpoints and extracts headers, body schemas, and example responses to ensure your API documentation is complete and consistent.

What output formats are available when automating backend API documentation generation?

Available output formats for automating backend API documentation generation include API_DOCUMENTATION.md and Swagger/OpenAPI specifications. These formats capture endpoint-level details for requests and responses extracted from your route definitions.

How do I keep API documentation accurate and up-to-date as my server's routes change?

Keep API documentation accurate and up-to-date by automatically mapping your server's API surface to reflect route changes. Point the generator at your updated backend folder to re-discover endpoints and recompile schemas into your documentation.