Install any skill in seconds. Free to start, no credit card required.
Get Started Free →wasabeef/管理多語言-docstring-和註解
管理多語言 docstring 和註解。「更新 docstring」「管理註解」「新增文件註解」等觸發。
Passed 18 of 23 test cases with the skill, and 12 of 23 without it.
and 4 more in the full report
7 fixed11 passed either way4 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
If we want to generate or update docstrings without inserting default attribution markers, which command line flag should be passed?
| Checked | Without skill | With skill |
|---|---|---|
| Passes `--marker false` flag. | 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-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. 確認標記
test cases passed, vs 12 / 23 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.