Code Documentor

# Code Documentor Skill

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Code Documentor" with this command: npx skills add rupertnt034/rupert-code-documentor

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
```bash
[Installation commands]

Usage

[Code examples]

API Reference

MethodEndpointDescription
GET/api/......

Contributing

[Guidelines]

License

[License info]


### Function Doc Template
```python
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]

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.

Coding

agent-native-cli (deprecated)

DEPRECATED — this skill has been renamed. Install `agent-native-design` instead via `clawhub install agent-native-design`. Do not use this slug for new work;...

Registry SourceRecently Updated
Coding

Agent Native Design

Use when designing, reviewing, or refactoring a CLI that must serve AI agents alongside humans, or when converting an API or SDK into an agent-usable CLI int...

Registry SourceRecently Updated
Coding

LLM数据自动化

用自然语言描述数据处理需求,LLM自动生成Python/Pandas代码。无需深厚编程基础即可处理Excel/CSV数据、提取PDF内容、清洗BIM数据,构建自动化数据管道。

Registry SourceRecently Updated
Coding

file-upload-cli

Upload files to the litterbox.catbox.moe file sharing service and get shareable URLs (72h expiry). Use when the user wants to share a file temporarily or nee...

Registry SourceRecently Updated
Code Documentor | V50.AI