CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

docx

当用户需要创建、读取、编辑或处理 Word 文档(.docx 文件)或 Word 模板(.dotx 文件)时,使用此技能。触发场景包括提到“Word 文档”“word document”“.docx”“.dotx”,或要求生成带目录、标题、页码、信头等格式的专业文档;也包括从 .docx 或 .dotx 文件中提取或重组内容、在文档中插入或替换图片、在 Word 文件中查找替换、处理修订或批注,以及将内容转换为正式的 Word 文档。如果用户要求以 Word / .docx 文件形式交付“报告”“备忘录”“信函”“模板”等成果物,也应使用此技能。不要用于 PDF、电子表格、Google Docs,或与文档生成无关的一般编码任务。

Quality

91%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

SKILL.md
Quality
Evals
Security

Quality

Content

81%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is a lean, expert-level operational guide: copy-paste-ready workflows for editing, validation, comments, and conversion, with explicit validation checkpoints and error-recovery guidance throughout. The main gaps are minor — a small duplicated path note, no complete docx-js creation example, and deep revision detail that could be split into a reference file.

Suggestions

Remove the duplicated relative-path note (keep either the opening blockquote or the line before the method table) and drop the 'Modified by QwenPaw' comment.

Add a minimal complete docx-js creation example script so the create path is as copy-paste ready as the edit path.

Consider moving the revision XML deep-dive (w:ins/w:del paragraph-mark handling) into a reference file, keeping a short summary with a pointer in SKILL.md.

DimensionReasoningScore

Conciseness

The body is dense with non-obvious, hard-won details (DXA values, ShadingType.CLEAR, PositionalTab, w:delText and rPr child ordering) and explains no general concepts, but has minor trimmable redundancy: the script-paths-are-relative note appears both in the opening blockquote and again as "下方脚本路径均相对于本技能目录", plus a stray "Modified by QwenPaw" comment. Not 5: those small redundancies mean not every token earns its place; not 3: the padding is minimal, not 'some unnecessary explanation'.

4 / 5

Actionability

Editing, reading, comments, conversion, and validation are copy-paste ready (full unzip/merge/zip/validate block, `pandoc -t markdown file.docx`, `soffice.py --headless --convert-to pdf`), and the docx-js gotchas give exact property values. Not 5: the creation path — one of the three main task types — provides API pitfalls but no complete example script, leaving a minor gap; not 3: everything shown is executable, not pseudocode.

4 / 5

Workflow Clarity

The edit workflow is a fully sequenced pipeline with explicit validation (XSD check via `validate.py out.docx --original`, `--auto-repair` for error recovery), revision-tracking verification (`--author` flag), a security step (`find unpacked -type l -delete`), visual verification of output (render to images), and diagnosis guidance for a known failure mode (spurious empty bullets after accepting paragraph deletions). Not 4: validation checkpoints and feedback loops are all explicitly present, matching the anchor-5 pattern.

5 / 5

Progressive Disclosure

Every referenced bundle script (merge_runs.py, comment.py, accept_changes.py, office/soffice.py, office/validate.py) exists, is referenced one level deep with a clear description of what it does, and the body is a compact, well-sectioned ~95-line overview. Not 5: the dense revision-XML deep-dive and the docx-js gotcha list could arguably live in reference files to keep SKILL.md a pure overview; not 3: structure is good, references are clearly signaled, and nothing is buried.

4 / 5

Total

17

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is exemplary: it states concrete capabilities, gives explicit bilingual trigger terms with file extensions, defines clear use-when scenarios, and closes with explicit exclusions that eliminate conflict risk. Voice is imperative/third-person skill phrasing with no first- or second-person penalties.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — "创建、读取、编辑或处理 Word 文档", "提取或重组内容", "插入或替换图片", "处理修订或批注", "将内容转换为正式的 Word 文档" — with comprehensive coverage of the domain. Not 4: there are no significant gaps in the action coverage; the anchor-5 example's breadth is matched.

5 / 5

Completeness

Explicitly answers both what (create/read/edit/process, extract, image insertion, find-replace, revisions, comments, conversion) and when ("当用户需要…使用此技能" followed by concrete trigger scenarios and deliverable examples). Not 4: the 'when' clause is fully explicit with concrete trigger phrases, not merely present.

5 / 5

Trigger Term Quality

Covers natural terms users would say in both Chinese and English ("Word 文档", "word document", "报告", "备忘录", "信函", "模板") plus file extensions (.docx, .dotx). Not 4: synonyms and extensions are both present, matching the comprehensive anchor.

5 / 5

Distinctiveness Conflict Risk

Clear Word/.docx/.dotx niche with explicit negative boundaries ("不要用于 PDF、电子表格、Google Docs,或与文档生成无关的一般编码任务"). Not 4: the explicit exclusions eliminate even minor overlap with adjacent document skills.

5 / 5

Total

20

/

20

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

referenced_paths_exist

Referenced path issues: 2 deeper-than-1-level

Warning

Total

14

/

16

Passed

Repository

agentscope-ai/QwenPaw

Path

src/qwenpaw/agents/skills/docx-zh/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.