← 返回
开发者工具 中文

Code Documentor

Automatically generate detailed and convention-compliant documentation for codebases in multiple languages, including README, API docs, and function comments.
自动为多语言的代码库生成符合规范的详细文档,包括 README、API 文档和函数注释。
rupertnt034
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 493
下载
💾 6
安装
1
版本
#latest

概述

Code Documentor Skill

Overview

Automatically generate comprehensive documentation for codebases.

Capabilities

1. Documentation Generation

  • README files
  • API documentation
  • Code comments
  • Function docs

2. Language Support

  • Python
  • JavaScript/TypeScript
  • Swift
  • Go
  • Rust
  • Java
  • And more...

3. Documentation Types

  • Project READMEs
  • API references
  • Architecture docs
  • Contributing guides
  • Changelogs

4. Best Practices

  • Follow language conventions
  • Include examples
  • Add type hints
  • Document parameters

Usage

Commands

  • document this code
  • generate README for [project]
  • document function [name]
  • create API docs for [endpoint]
  • add comments to [file]

Output Templates

README Template

# Project Name

## Description
[Brief description]

## Installation

[Installation commands]


## Usage

[Code examples]


## API Reference
| Method | Endpoint | Description |
|--------|----------|-------------|
| GET | /api/... | ... |

## Contributing
[Guidelines]

## License
[License info]

Function Doc Template

def function_name(param1: type, param2: type) -> return_type:
    """
    Short description.
    
    Longer explanation of what the function does.
    
    Args:
        param1: Description of param1
        param2: Description of param2
    
    Returns:
        Description of return value
    
    Raises:
        ExceptionType: When this happens
    
    Example:
        >>> function_name(...)
        ...
    """

Configuration

  • Documentation style: [default/stripe/google]
  • Include examples: [true/false]
  • Language: [target language]
  • Output format: [markdown/html/pdf]

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 04:48 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Data Analysis

rupertnt034
分析并转换多格式数据,生成洞察、可视化趋势、检测异常并生成综合报告。
★ 1 📥 3,986
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,927
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,534