Content
87%Weight 40%Scale 1-5Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
An exemplary lean, fully executable skill body for a simple single-purpose task — no padding, copy-paste commands covering all usage modes, and correct use of a single script bundle file. The one substantive gap is the absence of any validation or verification step for its batch directory mode, which the rubric caps at workflow clarity 3.
Suggestions
Add a verification step after batch processing, e.g. '批量处理完成后检查输出目录,确认每个输入都有非空的 _ocr.txt(空文件通常意味着 OCR 失败或扫描件判定错误)', to satisfy the rubric's batch-operation validation requirement and lift workflow clarity above 3.
Add brief error-recovery guidance, such as what to do when OCR output is empty or garbled (e.g. try --md, confirm the file is a scan rather than a text-layer PDF, or note the <20 字 threshold's edge cases).
Document how the script signals failures (exit codes / stderr messages) so partial failures in a batch run are noticed rather than silently skipped.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The ~46-line body is lean with zero padding: no explanation of what a PDF is or how OCR works; every section (触发条件, 使用步骤, 依赖, 已知陷阱) adds operational knowledge Claude doesn't already have, e.g. "PDF 文字层 <20 字自动走 OCR" and "Vision 对印刷体/清晰手写效果好,潦草手写不保证". Matches anchor 5 ('every token earns its place'); anchor 4 would require some trimmable over-explanation, which is absent. | 5 / 5 |
Actionability | Commands are copy-paste ready and cover the common cases: `python3 scripts/dococr.py 合同.pdf`, `发票.jpg`, batch `./扫描件/ -o 全部.txt`, and `--md`, plus the exact install command `pip3 install pymupdf pyobjc-framework-Vision` and the output convention `<输入名>_ocr.txt`. This matches anchor 5 ('fully executable; specific examples cover the common cases'). | 5 / 5 |
Workflow Clarity | The usage sections are clearly sequenced for a simple single-purpose skill, but the skill includes a batch mode ("### 2. 批量目录") and the rubric explicitly caps workflow clarity at 3 for batch operations lacking validation/verification steps. There is no step to verify outputs (e.g. check non-empty result files or report failed items) and no error-recovery guidance, so it cannot score above 3 despite the otherwise clear structure. | 3 / 5 |
Progressive Disclosure | The body is under 50 lines, well-organized into sections, and its single bundle reference (`scripts/dococr.py`) is a real file in the bundle that all three usage examples point to. Per the rubric's simple-skill exception ('under 50 lines with no need for external references ... can score 5 with just well-organized sections'), this matches anchor 5. | 5 / 5 |
Total | 18 / 20 Passed |