documentation

Standardize Google-style docstrings for Python modules, classes, and functions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill standardizes Google-style docstrings and comprehensive project documentation, reducing ambiguity and enabling faster onboarding and API understanding.

Core Features & Use Cases

  • Google-style docstrings for modules, classes, and functions
  • Module-level and class docstrings with Attributes and usage notes
  • Function docstrings with Description, Args, Returns, Raises, and Examples
  • README generation and API reference with Sphinx or MkDocs
  • Architecture diagrams using Mermaid for complex systems
  • Document environment variables and configuration options
  • Deprecation warnings using warnings.deprecated()
  • Doctest-ready examples and explicit version history in CHANGELOG.md

Quick Start

Apply Google-style docstring templates to a Python project, covering modules, classes, and functions; integrate with Sphinx or MkDocs.

Frequently Asked Questions about documentation

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

FAQPage Schema
How do I standardize Google-style docstrings across a Python codebase?

Google-style docstrings standardize Python project documentation by enforcing templates for modules, classes, and functions including Description, Args, Returns, Raises, and Examples. This reduces ambiguity and accelerates API understanding.

What is the best way to generate API documentation from Python docstrings?

The best way to generate API documentation from Python docstrings is integrating Sphinx or MkDocs. These tools parse standardized Google-style docstrings to build comprehensive API references and README files for your project.

Does this documentation approach work with MkDocs and Sphinx?

Yes, this documentation approach works with both MkDocs and Sphinx. It supports integrating with either tool to generate README files and API references directly from your standardized Python docstrings.

How do I include architecture diagrams in my API documentation?

Include architecture diagrams in your API documentation using Mermaid diagrams. This visualizes complex system architectures directly within your project documentation generated by Sphinx or MkDocs.

Can I write doctest-ready examples in Python function docstrings?

Yes, you can write doctest-ready examples in Python function docstrings. Standardized Google-style docstrings include an Examples section, ensuring your code documentation remains executable and testable via doctest.