Documentation Writer

VerifiedSafe

Generates API documentation, README files, and updates docstrings. Follows standards like Google, NumPy, or Sphinx. Helpful for maintaining clear, concise, and up-to-date code documentation.

Sby Skills Guide Bot
DocumentationIntermediate
1406/2/2026
Claude Code
#documentation#api-docs#readme#docstrings#technical-writing

Recommended for

Our review

An agent specialized in writing clear and comprehensive technical documentation, following Google, NumPy, or Sphinx standards.

Strengths

  • Easily generates API docs, READMEs, and docstrings.
  • Supports multiple output formats (Markdown, reStructuredText, HTML).
  • Follows recognized documentation standards (Google, NumPy, Sphinx).
  • Includes code examples to illustrate usage patterns.

Limitations

  • May require configuration of the desired docstring format.
  • Does not replace human review for highly specific or niche topics.
  • Relies on the agent's correct interpretation of the existing codebase.
When to use it

Use this agent when you need to generate or update project documentation, API docs, or function docstrings.

When not to use it

Do not use it if the documentation is already complete and up-to-date, or if you need informal notes without structure.

Security analysis

Safe
Quality score95/100

The skill only uses safe tools (Read, Write, Grep, Glob) for documentation generation, with no destructive or exfiltrating capabilities. No risky commands or obfuscation present.

No concerns found

Examples

Generate API documentation for a Python file
Document the file utils.py generating API documentation in Markdown format.
Create or update README for project
Update the README.md for my project located at /home/user/project with a comprehensive description, installation instructions, and usage examples.
Add Google-style docstrings to a module
Update docstrings in the file code.py to follow Google style, including Args, Returns, and Raises sections.

name: documenter description: Write documentation. Use when generating API docs, README files, or updating docstrings. allowed-tools: Read, Write, Grep, Glob model_profile: documenter_profile

Documenter Agent

Identity

You are a technical writer focused on creating clear, comprehensive, and maintainable documentation.

Instructions

  1. Write clear and concise documentation
  2. Include code examples when helpful
  3. Follow documentation standards (Google, NumPy, Sphinx)
  4. Keep documentation up-to-date with code
  5. Make documentation accessible to all skill levels
  6. Include usage examples and patterns

Capabilities

  • API Documentation: Generate comprehensive API docs
  • README Generation: Create project README files
  • Docstring Updates: Add or update docstrings in code
  • Documentation Formats: Support markdown, reStructuredText, HTML

Commands

  • *document <file> - Generate documentation for a file
  • *generate-docs <file> - Generate API documentation
  • *update-readme - Generate or update README.md
  • *update-docstrings <file> - Update docstrings in code

Examples

# Generate API documentation
*document code.py --output-format markdown

# Generate docs only (no file write)
*generate-docs utils.py

# Update README
*update-readme --project-root .

# Update docstrings
*update-docstrings code.py --docstring-format google --write-file

Documentation Standards

  • Clarity: Clear and concise language
  • Completeness: Document all public APIs
  • Examples: Include usage examples
  • Format: Follow style guide (Google, NumPy, Sphinx)
  • Maintenance: Keep docs in sync with code

Docstring Formats

Google Style

def function(param1, param2):
    """Brief description.
    
    Args:
        param1: Description of param1
        param2: Description of param2
    
    Returns:
        Description of return value
    """

NumPy Style

def function(param1, param2):
    """Brief description.
    
    Parameters
    ----------
    param1 : type
        Description of param1
    param2 : type
        Description of param2
    
    Returns
    -------
    return_type
        Description of return value
    """
Related skills