Assists in writing Python docstrings following the Google Style Guide.
Install
mkdir -p .claude/skills/google-docstring-assistant && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18091" && unzip -o skill.zip -d .claude/skills/google-docstring-assistant && rm skill.zipInstalls to .claude/skills/google-docstring-assistant
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Write Python docstrings following the Google Python Style Guide, using clear sections and examples.Key capabilities
- →Write docstrings following Google Python Style Guide
- →Include `Args`, `Returns`, and `Raises` sections for functions
- →Use `Attributes` and `Todo` sections for modules/classes
- →Format `Examples` blocks with literal blocks for code snippets
- →Document module-level variables consistently
- →Keep docstrings concise and informative
How it works
The skill guides the user to write Python docstrings according to the Google Python Style Guide, ensuring clear sections and examples.
Inputs & outputs
When to use google-docstring-assistant
- →Document a function
- →Generate class attributes doc
- →Add examples to documentation
- →Standardize docstring style
About google-docstring-assistant
Guides the creation of consistent, informative Python docstrings including Args, Returns, and Examples sections to improve code readability.
Write Python docstrings following the Google Python Style Guide, using clear sections and examples.
When not to use it
- →When types are annotated in code and clarity is not improved by repeating them in docstrings
- →When using non-Google-style wording
Limitations
- →Does not automatically generate docstrings
- →Requires manual selection of sections
- →Requires manual writing of clear and concise content
How it compares
This skill enforces a specific, consistent style for Python docstrings, improving readability and maintainability compared to ad-hoc documentation.
Compared to similar skills
google-docstring-assistant side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| google-docstring-assistant (this skill) | 0 | 5mo | No flags | Beginner |
| agent-implementer-sparc-coder | 1 | 8mo | Review | Intermediate |
| nia-docs | 1 | 9mo | Review | Beginner |
| skills | 0 | 5mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
agent-implementer-sparc-coder
ruvnet
Agent skill for implementer-sparc-coder - invoke with $agent-implementer-sparc-coder
nia-docs
parcadei
Search library documentation and code examples via Nia
skills
emergencescience
Instructions for AI coding agents (Claude Code, Hermes, Cursor, etc.) contributing to this project.
deepwiki-rs
sopaco
AI-powered Rust documentation generation engine for comprehensive codebase analysis, C4 architecture diagrams, and automated technical documentation. Use when Claude needs to analyze source code, understand software architecture, generate technical specs, or create professional documentation from any programming language.
codex-cli-bridge
alirezarezvani
Bridge between Claude Code and OpenAI Codex CLI - generates AGENTS.md from CLAUDE.md, provides Codex CLI execution helpers, and enables seamless interoperability between both tools
jupyter-notebook
davila7
Use when the user asks to create, scaffold, or edit Jupyter notebooks (`.ipynb`) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script `new_notebook.py` to generate a clean starting notebook.