generate-docstrings

Generate Google, NumPy, and reStructuredText docstrings for functions and classes.

18|5|Updated Nov 3, 2025
One-click install
npx skills add https://github.com/HomericIntelligence/ProjectOdyssey --skill generate-docstrings-homericintelligence
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-docstrings
Source: https://github.com/HomericIntelligence/ProjectOdyssey/tree/main/.claude/skills/tier-2/generate-docstrings
Command: npx skills add https://github.com/HomericIntelligence/ProjectOdyssey --skill generate-docstrings-homericintelligence

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of comprehensive docstrings for functions and classes, ensuring code is well-documented and maintainable.

Core Features & Use Cases

  • Automated Docstring Generation: Creates docstrings in standard formats (Google, NumPy, reStructuredText).
  • Consistency Enforcement: Ensures all code APIs have clear and uniform documentation.
  • Use Case: You've just finished implementing a complex new feature in Mojo. Use this Skill to automatically generate detailed docstrings for all the new functions and classes, making the code easier for your team to understand and use.

Quick Start

Use the generate-docstrings skill to write a Google-style docstring for the provided matrix_multiply function.

Frequently Asked Questions about generate-docstrings

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

FAQPage Schema
How do I automatically generate docstrings for Python functions and classes?

Automatically generate docstrings for Python functions and classes by providing your code to the Skill, which outputs standard format documentation like Google, NumPy, and reStructuredText. This ensures your code is well-documented and maintainable.

What is the best way to create consistent API documentation across my codebase?

Create consistent API documentation across your codebase by enforcing uniform docstring generation in formats like Google, NumPy, or reStructuredText. This addresses maintainability and collaboration needs by ensuring all code APIs have clear documentation.

Does this docstring generation tool work with Mojo code?

Yes, docstring generation works with Mojo code. You can automatically generate detailed docstrings for new functions and classes implemented in Mojo, making the code easier for your team to understand and use.

How do I write a Google-style docstring for an existing function?

Write a Google-style docstring for an existing function by providing the function code to the generate-docstrings Skill. It analyzes your code and outputs comprehensive, standard-formatted documentation without manual effort.

Can I choose between NumPy and reStructuredText formats when generating code documentation?

Yes, you can choose between NumPy, reStructuredText, and Google formats when generating code documentation. The Skill creates comprehensive docstrings in these various standard formats to satisfy specific project requirements.