smithery.ai

google-docstring-assistant

Write Python docstrings following the Google Python Style Guide, using clear sections and examples.

First seen Apr 14, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,551 B
  • docs SUMMARY.md 133 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Google Docstring Assistant

Quick start

  • Write docstrings using the Google Python Style Guide structure (Args, Returns, Raises, Examples, Attributes, etc.).
  • Keep sections as headers followed by indented blocks; break sections by resuming unindented text.
  • When types are annotated in code, omit them in docstrings unless clarity is improved.
  • Use Examples blocks with literal blocks (::) for commands or code snippets.
  • Document module-level variables consistently (all in Attributes or inline), and list TODOs in a Todo section.
  • See references/googledocstringrules.md for full guidance and examples.

Workflow

  1. Choose sections

- Functions: include Args, Returns, and Raises as needed. - Modules/classes: use Attributes and Todo when relevant; keep formatting consistent.

  1. Write clearly

- One docstring per object; keep it concise and informative. - Use indentation under each section header; separate sections by returning to unindented text. - Prefer Google-style wording; avoid duplicating annotated types unless helpful.

  1. Examples and scripts

- Use Examples: with indented literal blocks for shell commands or code snippets. - Include multi-line descriptions when needed; keep formatting readable.

Reference

  • references/googledocstringrules.md: full style description and examples.