google-docstring-assistant

Google Docstring Assistant

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "google-docstring-assistant" with this command: npx skills add dmitriiweb/extract-emails/dmitriiweb-extract-emails-google-docstring-assistant

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/google_docstring_rules.md for full guidance and examples.

Workflow

Choose sections

  • Functions: include Args , Returns , and Raises as needed.

  • Modules/classes: use Attributes and Todo when relevant; keep formatting consistent.

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.

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/google_docstring_rules.md : full style description and examples.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

format-lint-assistant

No summary provided by upstream source.

Repository SourceNeeds Review
General

skill-creator

No summary provided by upstream source.

Repository SourceNeeds Review
General

uv-package-management-assistant

No summary provided by upstream source.

Repository SourceNeeds Review