CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

docx-skill

Word 文档(.docx)读/写/转/评审一体化。触发场景:总结 docx、读段落/大纲/表格/图片/评论/修订、替换正文、插入图片、改页面设置、重建目录、加评论或回复、加修订(insert/delete/replace)、接受/驳回修订、docx ↔ pdf/html/md/txt 互转。典型说法:"帮我总结这份 Word"、"第二段改成 XXX"、"把全部'A 公司'换成'B 公司'"、"加一条修订批注"、"接受所有修订"、"docx 转 pdf"、"从这些要点生成销售报告"。用户提到 .docx / .doc 文件或以 Word 文档为产出目标都加载本技能。

74

Quality

93%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

83%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.

A lean, highly actionable operational guide with excellent pre-flight inspection and routing, executable demos, and a practical pitfalls table. Its main weakness is the absence of post-write validation/feedback loops around destructive XML manipulation (tracked-changes acceptance, find-replace), which caps workflow clarity, and a monolithic single-file layout despite substantial demo content.

Suggestions

Add post-write validation checkpoints to destructive workflows: after the 2.4 accept-all-tracked-changes and 2.2 find-replace scripts, re-run WordInspect (summary / tracked-changes / xml) on the output to confirm hasTrackedChanges === false and the XML is well-formed before reporting success.

Harden the 2.4 regexes and note their failure modes (e.g., '<w:ins>' without attributes is not matched by '<w:ins [^>]*>'; w:del content may contain nested runs) — or route revision resolution through a validated script/checklist rather than raw regex.

Move the four write demos (2.1–2.4) into a references/ file (e.g., references/write-demos.md) with one-line pointers from SKILL.md, keeping the main file as a lean overview + dispatch/pitfalls reference.

DimensionReasoningScore

Conciseness

The body is dense and operational — tool tables, dispatch tables, four tight code demos, and a pitfalls table — with no padding explaining what docx/OOXML/npm are; it assumes Claude's competence (e.g., "对样式 / 修订 / 评论覆盖最全" as a one-line library justification, "底层 LibreOffice headless,排版保真度优于手搓"). Every section earns its tokens, matching the 'lean and efficient' top anchor rather than level 4's 'minor instances of over-explanation'.

5 / 5

Actionability

All guidance is executable: exact tool invocations ("WordInspect { action: \"summary\", filePath: \"…\" }"), four copy-paste-ready Node scripts (create with CJK fonts, find-replace via adm-zip, images/headers, accepting tracked changes), a feature-to-next-step dispatch table, and a repair pattern ("JsSandbox(action=\"edit-and-run\", scriptPath=<上次返回的>, edits=[{find,replace}])"). This matches the 'fully executable, copy-paste ready, covers common cases' anchor.

5 / 5

Workflow Clarity

The sequence is clear — summary-first inspection, then a dispatch table routing on isProtected / hasTrackedChanges / hasComments / wordCount — but destructive XML/document manipulation and batch operations lack validation checkpoints: the 2.4 regex accept-all-tracked-changes and 2.2 find-replace scripts write output with no post-write verification (e.g., re-inspect or XML validation), and the regexes have unvalidated failure modes (<w:ins> without attributes is missed). Per the rubric's scoring notes, missing feedback loops for XML/document manipulation caps this at 3 even though the pre-flight dispatch is well done.

3 / 5

Progressive Disclosure

Good single-file structure with clear, well-labeled sections (读 / 写 / 转换 / 陷阱) and navigable tables; however the skill is ~200 lines with all four full demos inlined and no bundle files or one-level-deep references, so content that could live in references/ (e.g., the write demos) is inline — matching level 4's 'good structure, minor organization gaps' rather than level 5's reference-split ideal.

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.

A model trigger description: comprehensive concrete capabilities, natural quoted user phrases in both everyday and technical registers, explicit extension-based load conditions, and a sharply defined docx/Word niche. No fluff, over-claims, or voice violations (quoted first-person phrases are user utterances, not the skill speaking).

DimensionReasoningScore

Specificity

The description lists many concrete actions across the full docx domain — "总结 docx、读段落/大纲/表格/图片/评论/修订、替换正文、插入图片、改页面设置、重建目录、加评论或回复、加修订(insert/delete/replace)、接受/驳回修订、docx ↔ pdf/html/md/txt 互转" — comprehensive coverage of read, write, convert, and review operations, matching the top anchor exactly rather than the 'minor gaps' of level 4.

5 / 5

Completeness

Both 'what' (读/写/转/评审一体化 with enumerated operations) and 'when' are explicit: a dedicated 触发场景 section, 典型说法 examples, and the closing clause "用户提到 .docx / .doc 文件或以 Word 文档为产出目标都加载本技能" — a clear 'Use when...' equivalent, so the level-3 cap for missing trigger guidance does not apply.

5 / 5

Trigger Term Quality

It quotes natural user phrases ("帮我总结这份 Word"、"第二段改成 XXX"、"接受所有修订"、"docx 转 pdf"、"从这些要点生成销售报告") and includes synonyms and file extensions (.docx / .doc / Word 文档), which is the level-5 anchor's 'synonyms and file extensions' coverage; it is clearly above level 4's 'a few natural terms missing'.

5 / 5

Distinctiveness Conflict Risk

The skill is scoped to a clear niche — Word/.docx documents — with distinct triggers (.docx, .doc, Word 文档, named Word operations), so conflict risk with PDF/spreadsheet skills is minimal; not level 4, whose example still overlaps adjacent document formats as a primary trigger.

5 / 5

Total

20

/

20

Passed

Validation

100%

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

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

itsablabla/openloaf-web

Path

apps/server/src/ai/builtin-skills/docx/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.