docstring

Generate Google-style docstrings for Python modules and classes.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/sahilrajput280/DOGRAH --skill docstring-sahilrajput280
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docstring
Source: https://github.com/sahilrajput280/DOGRAH/tree/main/pipecat/.claude/skills/docstring
Command: npx skills add https://github.com/sahilrajput280/DOGRAH --skill docstring-sahilrajput280

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of high-quality Google-style docstrings for Python modules and classes, reducing manual writing time and ensuring consistency across a codebase.

Core Features & Use Cases

  • Generates module and class docstrings from provided module paths or class names.
  • Ensures module, class, and init parameter descriptions with proper type hints and returns sections.
  • Enforces standardized formatting and style across the codebase to improve readability and maintainability.

Quick Start

Provide a Python module path or class name and run the tool to automatically generate Google-style docstrings for the target codebase.

Frequently Asked Questions about docstring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically generate Google-style docstrings for Python modules?

To generate docstrings, provide a Python module path or class name to the tool. It automatically creates standardized Google-style documentation for modules, classes, and constructors while preserving any existing documentation in the codebase.

Can I generate Python docstrings for large codebases without losing existing documentation?

Yes, this docstring generation process handles codebases of varying sizes and organizations while preserving existing documentation. It ensures standardized formatting and style across the entire codebase to improve readability and maintainability.

What is included when automating Google-style docstrings for Python classes?

Automating Google-style docstrings for Python classes includes generating module, class, and __init__ parameter descriptions with proper type hints. It also adds return annotations and enforces standardized formatting across the codebase.

Do I need any specific dependencies to automate Python docstring generation?

No external dependencies are required to automate Python docstring generation. The tool operates independently to generate module-level docstrings, class and method descriptions, parameter annotations, and return sections from provided module paths.

What is the best way to ensure consistent Python code documentation across a project?

The best way to ensure consistent Python code documentation is to automate Google-style docstring generation across all modules and classes. This enforces standardized formatting, proper type hints, and return sections, reducing manual writing time and improving maintainability.