← スキル一覧に戻る

google-docstring-assistant
by dmitriiweb
google-docstring-assistantは、other分野における実用的なスキルです。複雑な課題への対応力を強化し、業務効率と成果の質を改善します。
⭐ 106🍴 38📅 2026年1月2日
SKILL.md
name: google-docstring-assistant description: Write Python docstrings following the Google Python Style Guide, using clear sections and examples.
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
Examplesblocks with literal blocks (::) for commands or code snippets. - Document module-level variables consistently (all in
Attributesor inline), and list TODOs in aTodosection. - See
references/google_docstring_rules.mdfor full guidance and examples.
Workflow
-
Choose sections
- Functions: include
Args,Returns, andRaisesas needed. - Modules/classes: use
AttributesandTodowhen relevant; keep formatting consistent.
- Functions: include
-
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.
- Use
Reference
references/google_docstring_rules.md: full style description and examples.
スコア
総合スコア
75/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
✓人気
GitHub Stars 100以上
+5
✓最近の活動
3ヶ月以内に更新
+5
✓フォーク
10回以上フォークされている
+5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
レビュー
💬
レビュー機能は近日公開予定です
