Install any skill in seconds. Free to start, no credit card required.
Get Started Free →coderwanfeng/doc2docx
将旧版 Word 文档(.doc)转换为新版(.docx)。当用户提到 doc 转 docx、旧 Word 转新 Word 时使用。
Passed 23 of 23 test cases with the skill, and 3 of 23 without it.
and 18 more in the full report
20 fixed3 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 20 test cases the skill fixed. Same model, same prompt, with and without the skill.
I have a legacy Word document at `./legacy_files/sales_report_2010.doc` that I need converted to the modern format. Please process it and save the output as `sales_report_2010.docx` inside the `./converted/` folder.
| Checked | Without skill | With skill |
|---|---|---|
| Imports doc2docx from skills.word. | Missed | Passed |
| Passes input_path as './legacy_files/sales_report_2010.doc'. | Missed | Passed |
| Passes output_path as './converted/'. | Missed | Passed |
The instructions your model reads when the skill loads.
将 Doc 文件转换为 Docx 文件
将旧版 Word 文档(.doc)转换为新版 Word 文档(.docx)。
office/skills/word/doc2docx/
from skills.word import doc2docx
doc2docx(
input_path='./old.doc',
output_path='./',
output_name='new.docx'
)
也可以直接把目标文件路径传给 output_path:
from skills.word import doc2docx
doc2docx(
input_path='./old.doc',
output_path='./new/new.docx'
)
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
input_path | str | 是 | - | 输入 Doc 文件的路径 |
test cases passed, vs 3 / 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.