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.
Use this skill ↓52% 78%+26 ptsof test cases passed
Passed 18 of 23 test cases with the skill, and 12 of 23 without it.
3 of 3 safety checks passed
8 agent runs
系統地管理多語言的 docstring/注釋,維護高質量的文檔。
# 自動檢測語言並執行
「為没有 docstring 的類和函數添加注釋,並更新不符合標準的注釋」
# 指定語言執行
/update-doc-string --lang python
「按照 PEP 257 規範更新 Python 文件的 docstring」
# 特定目錄的文檔整理
「為 src/components/ 下的函數添加 JSDoc」
--lang <en|zh-tw> : 文檔記述語言 (默認:從現有注釋自動判定,無則為 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.