docstring

Generate Google-style docstrings for Python modules and classes.

13|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/phenobarbital/antigravity-config --skill docstring-phenobarbital
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docstring
Source: https://github.com/phenobarbital/antigravity-config/tree/main/backend/.agent/skills/docstring
Command: npx skills add https://github.com/phenobarbital/antigravity-config --skill docstring-phenobarbital

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Document Python modules and their classes using Google-style docstrings that align with project conventions.

Core Features & Use Cases

  • Generates module and class docstrings following Google-style guidelines
  • Documents constructors and public methods in a consistent format
  • Use Case: ensure uniform, high-quality code documentation across a Python project

Quick Start

Document a Python module and its classes by generating Google-style docstrings according to project conventions.

Frequently Asked Questions about docstring

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

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

To generate Google-style docstrings for Python modules, you can use an automated tool that parses your code and formats module, class, and method documentation according to Google-style guidelines.

What is the best way to document Python classes and constructors consistently?

The best way to document Python classes and constructors consistently is to enforce a standardized format like Google-style docstrings across your entire project, ensuring uniform structure for all public methods.

Can I automatically format existing module docstrings to match Google-style guidelines?

Yes, you can automatically format existing module docstrings to match Google-style guidelines by applying a documentation generator that restructures your module and class annotations into the required format.

Why does my Python project need standardized module and method documentation?

Your Python project needs standardized module and method documentation to maintain high code quality, ensure uniform project conventions, and make complex codebases easier to understand and navigate.

Does this automated docstring generation work for both module-level and class-level code?

Yes, automated Google-style docstring generation works for both module-level and class-level Python code, documenting constructors and public methods to enforce consistent formatting across the codebase.