Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Manages multilingual docstrings and code comments across Python, JavaScript, TypeScript, Dart, Go and Rust files.
45% 82%+36 ptsof test cases passed
Passed 18 of 22 test cases with the skill, and 10 of 22 without it.
3 of 3 safety checks passed
14 agent runs
系统地管理多语言的 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. 确认标记
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.