CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

office-file-process

处理 Office 文档的一站式 skill:Word(.doc/.docx/.dotx)、Excel(.xls/.xlsx/.xlsm/.csv)、PowerPoint(.ppt/.pptx/.potx) 的创建、读取、编辑、提取、转换、校验。触发:『读取 word 文档』『提取 excel 内容』『看 ppt 讲了什么』、.doc 老格式打不开、生成/编辑 Word 报告/合同/模板、制作幻灯片/deck/演示文稿、写带公式的电子表格。读取优先 pandoc/markitdown 等官方工具,环境没有则走 Windows Office COM 自动化(含中文文件名、PowerShell 编码等 Windows 环境方案);创建/编辑用 docx-js、pptxgenjs、openpyxl 等。Use whenever any .docx/.xlsx/.pptx file is the primary input or output: create, read, edit, extract, convert, or validate it.

Quality

88%

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

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

An unusually dense, high-signal skill body built on decision tables and executable commands, with genuine Windows/COM expertise that Claude would not know on its own. Main weaknesses are mild duplication of probe commands and warnings, validation feedback loops deferred entirely to reference docs, and reference/*.md files cited throughout but missing from the bundle.

Suggestions

Ship or fix the reference/ directory: reference/docx.md, reference/pptx.md, reference/xlsx.md, and reference/python-setup.md are cited as the primary destinations for creation/editing details but do not exist in the bundle, breaking the skill's core progressive-disclosure chain.

Consolidate the duplicated content: merge the two environment-probe command blocks (读取路线怎么选 and 环境检查) into one probing section, and state the 'never use SaveAs on protected-shell documents' rule once instead of twice.

Inline the minimal validate-fix-retry loop for created/edited files (e.g., one `python scripts/office/validate.py <file>` command with a fix-and-rerun note) instead of deferring all validation checkpoints to the missing reference docs' QA sections.

DimensionReasoningScore

Conciseness

The body is lean and table-driven, assuming Claude's competence (no format explanations, only non-obvious operational knowledge like CR+BEL table terminators, PowerShell 5.1 ANSI pitfalls, and wildcard workarounds for Chinese paths). It falls short of level 5 due to duplication: the environment-probe commands appear in both '读取路线怎么选' and '环境检查', and the 'never use SaveAs for protected shells' warning is stated twice (补充判断 and the COM section's 核心结论).

4 / 5

Actionability

Guidance is copy-paste ready: exact probe commands (`where pandoc`, `python -c "import markitdown"`), a fully qualified PowerShell invocation with -File and -PathPattern examples, wildcard path patterns, per-application COM API calls in a table (Documents.Open arguments, UsedRange.Value2 batch reads, TextFrame2 conditions), and concrete pip/npm install commands. This matches 'fully executable; copy-paste ready code or commands; specific examples cover the common cases'.

5 / 5

Workflow Clarity

The routing table → environment probe → route selection → validation sequence is clear, and the batch COM extraction includes built-in safeguards (manifest output, residue cleanup, protected-process handling), so the batch-operation cap at 3 does not apply. It misses level 5 because the validate→fix→re-validate feedback loop for creation/editing is delegated to the reference docs' QA sections rather than shown inline, leaving those checkpoints implicit on this page.

4 / 5

Progressive Disclosure

The overview structure is good — a routing table with clearly signaled one-level-deep links, and all referenced scripts/ paths exist in the bundle. However, the four files cited as the primary detail destination (reference/docx.md, reference/pptx.md, reference/xlsx.md, reference/python-setup.md) are absent from the bundle, so the main disclosure chain is broken; this sits between 'references present but not clearly signaled / could be better organized' (3) and 'references mostly clear; minor organization gaps' (4).

3 / 5

Total

16

/

20

Passed

Description

96%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 dense, information-rich description that nails all four dimensions: comprehensive concrete actions, natural trigger phrases in both Chinese and English, explicit what/when guidance, and a well-delineated Office-format niche. The only minor concern is slight over-stuffing (implementation tool names like pandoc/COM/docx-js occupy description budget better spent in the body) and small overlap risk via .csv.

DimensionReasoningScore

Specificity

The description enumerates six concrete actions (创建、读取、编辑、提取、转换、校验) scoped to three named format families with full extension lists (Word .doc/.docx/.dotx, Excel .xls/.xlsx/.xlsm/.csv, PowerPoint .ppt/.pptx/.potx), matching the 'multiple specific concrete actions; comprehensive coverage' anchor. It exceeds the level-4 anchor ('several specific actions; minor gaps') because coverage spans both operations and formats without obvious omissions.

5 / 5

Completeness

It explicitly answers 'what' (一站式 skill for 创建/读取/编辑/提取/转换/校验 across the three Office formats, plus tool routing: pandoc/markitdown first, Windows Office COM fallback, docx-js/pptxgenjs/openpyxl for creation) and 'when' (a 触发 list plus the closing 'Use whenever any .docx/.xlsx/.pptx file is the primary input or output: create, read, edit, extract, convert, or validate it'). This matches the level-5 anchor with concrete trigger phrases; the level-4 anchor's 'when could be more explicit' caveat does not apply.

5 / 5

Trigger Term Quality

Natural user phrases are given verbatim (『读取 word 文档』『提取 excel 内容』『看 ppt 讲了什么』, .doc 老格式打不开, 生成/编辑 Word 报告/合同/模板, 制作幻灯片/deck/演示文稿, 写带公式的电子表格) alongside every relevant file extension, matching the 'comprehensive coverage of natural terms including synonyms and file extensions' anchor. Level 4 ('a few natural terms missing') does not apply since both colloquial synonyms (deck/演示文稿) and extensions are covered.

5 / 5

Distinctiveness Conflict Risk

The niche is clear — Office document formats with distinctive extension triggers — but the inclusion of .csv and generic 'create, read, edit' verbs creates minor overlap risk with closely related data/document skills (e.g., a separate pdf or data-processing skill). This fits 'mostly distinct; minor overlap risk with closely related skills' rather than level 5's 'minimal conflict risk', though it is well above level 3's 'could still overlap with similar skills'.

4 / 5

Total

19

/

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

relative_links

Relative link issues: 4 possibly missing (reference/docx.md, reference/pptx.md, reference/python-setup.md, reference/xlsx.md)

Warning

referenced_paths_exist

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

Warning

Total

14

/

16

Passed

Repository

xstongxue/best-skills

Path

skills/office-file-process/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.