API Documentation Extractor
Extracts comprehensive API documentation, interface definitions, and sequence diagrams from source code modules.
The API Documentation Extractor is a specialized skill designed to automate the reverse-engineering and documentation of system interfaces. By analyzing source code structure based on a project map, it identifies endpoints, methods, parameter constraints, and error codes across various protocols including REST, CLI, and SDK exports. It goes beyond static definitions by interpreting handler logic to provide business context and generating Mermaid sequence diagrams that visualize complex calling patterns, ensuring that the resulting knowledge base is both technically accurate and practically useful for developers.
主な機能
01Generates Mermaid sequence, flow, and state diagrams for visual logic representation.
02Organizes documentation by module with frontmatter-enhanced indexing for easy knowledge base integration.
03Provides executable code snippets and curl examples instead of non-verifiable pseudo-code.
040 GitHub stars
05Automated extraction of RESTful APIs, CLI commands, event declarations, and SDK exports.
06Extracts detailed parameter constraints, response formats, and error codes with specific trigger conditions.
ユースケース
01Generating up-to-date API references for legacy codebases during developer onboarding.
02Creating standardized documentation for internal libraries and SDKs automatically from source code.
03Auditing internal microservice contracts to ensure consistency in parameters and error handling.