원클릭으로
api-docs-generator
Generates structured API documentation from source code, including endpoints, types, and examples
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generates structured API documentation from source code, including endpoints, types, and examples
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Analyzes project structure, module dependencies, imports, and entry points to generate architecture diagrams in Mermaid format
Analyzes ETL and data pipeline code for optimization opportunities across Python (Pandas, PySpark), Rust (polars, datafusion), SQL, and general pipeline descriptions
Validates environment variable configurations and config files (YAML, TOML, JSON, .env) for missing required variables, type mismatches, deprecated keys, naming convention violations, secret exposure risks, and invalid value ranges
Analyzes code for performance bottlenecks including N+1 queries, O(n^2) or worse algorithms, unnecessary allocations, sync I/O in async contexts, excessive cloning, missing caching opportunities, and large payload transfers. Supports Rust, Python, TypeScript, and Go.
Analyzes, improves, and restructures LLM prompts for clarity, efficiency, and reliability
Analyzes source code for common security vulnerabilities including SQL injection, XSS, command injection, hardcoded secrets, insecure deserialization, path traversal, and SSRF
SOC 직업 분류 기준
| name | api-docs-generator |
| description | Generates structured API documentation from source code, including endpoints, types, and examples |
| version | 1.0.0 |
| author | go-on-team |
| tags | ["documentation","api","openapi","rustdoc","typedoc"] |
| min_go_on_version | 1.0.0 |
Parses source code (Rust, Python, TypeScript, Go) and generates comprehensive API documentation. Supports OpenAPI/Swagger spec output for HTTP APIs, rustdoc-style for libraries, and Markdown for general use. Extracts doc comments, type signatures, and endpoint routing annotations.
#[openapi], #[derive], #[tokio::main], Python decorators, JSDoc tags)| Parameter | Type | Description |
|---|---|---|
code | string | Source code to document |
language | string | Programming language (rust, python, ts, go) |
output_format | string | Output format: markdown, openapi-json, openapi-yaml (default: markdown) |
include_private | boolean | Optional: include non-public items (default: false) |
title | string | Optional: documentation title |
{
"code": "/// Retrieve a user by their unique identifier.\n///\n/// Returns `None` if no user with the given `user_id` exists.\n///\n/// # Errors\n/// Returns `DatabaseError` if the query fails.\npub async fn get_user(\n pool: &PgPool,\n user_id: Uuid,\n) -> Result<Option<User>, DatabaseError> {\n sqlx::query_as!(\n User,\n \"SELECT id, name, email, created_at FROM users WHERE id = $1\",\n user_id\n )\n .fetch_optional(pool)\n .await\n .map_err(DatabaseError::from)\n}",
"language": "rust",
"output_format": "markdown",
"title": "User Service API"
}
Example output (abbreviated):
# User Service API
## `get_user`
Retrieve a user by their unique identifier.
**Signature:**
```rust
pub async fn get_user(
pool: &PgPool,
user_id: Uuid,
) -> Result<Option<User>, DatabaseError>
Parameters:
| Name | Type | Description |
|---|---|---|
pool | &PgPool | Database connection pool |
user_id | Uuid | The user's UUID |
Returns: Option<User> — None if no user exists with the given ID
Errors: DatabaseError — if the database query fails