Install any skill in seconds. Free to start, no credit card required.
Get Started Free →wasabeef/管理多语言-docstring-和注释
管理多语言 docstring 和注释。「更新 docstring」「管理注释」「添加文档注释」等触发。
Passed 16 of 20 test cases with the skill, and 9 of 20 without it.
and 8 more in the full report
8 fixed10 passed either way4 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 8 test cases the skill fixed. Same model, same prompt, with and without the skill.
Which command is executed to perform missing docstring analysis for Python files when running automated static verification?
| Checked | Without skill | With skill |
|---|---|---|
| Static analysis for Python runs `pylint --disable=all --enable=missing-docstring`. | Missed | Passed |
The instructions your model reads when the skill loads.
系统地管理多语言的 docstring/注释,维护高质量的文档。
# 自动检测语言并执行
「为没有 docstring 的类和函数添加注释,并更新不符合标准的注释」
# 指定语言执行
/update-doc-string --lang python
「按照 PEP 257 规范更新 Python 文件的 docstring」
# 特定目录的文档整理
「为 src/components/ 下的函数添加 JSDoc」
--lang <en|zh-cn> : 文档记述语言 (默认:从现有注释自动判定,无则为 en)--style <风格> : 指定文档风格 (有语言特定的默认值)--marker <true|false> : 是否添加 Claude 标记 (默认:true)# 1. 分析目标文件 (自动检测编程语言)
find . -type f \( -name "*.py" -o -name "*.js" -o -name "*.ts" -o -name "*.dart" -o -name "*.go" -o -name "*.rs" \) | grep -v test
「识别缺少 docstring 的元素 (注释行数为 0 或少于 30 个字符)」
# 2. 添加文档 (自动判定语言)
「为识别的元素添加包含语言特定必要元素的 docstring」
# → 如果现有注释中有中文则用中文,否则用英文
# 3. 添加文档 (明确指定英文)
/update-doc-string --lang en
「Add docstrings with required elements to the identified elements」
# 4. 确认标记
test cases passed, vs 9 / 20 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.