Install any skill in seconds. Free to start, no credit card required.
Get Started Free →coderwanfeng/merge4docx
将多个 Word 文档合并为一个文件。当用户提到 Word 合并、合并 docx、合并多个 Word 时使用。
Passed 22 of 22 test cases with the skill, and 5 of 22 without it.
and 25 more in the full report
17 fixed5 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 17 test cases the skill fixed. Same model, same prompt, with and without the skill.
I want to combine all docx files in `./word_folder` and place the combined output in `./output_folder/`. I don't care about specifying a custom name, so please rely on the default merged file name provided by the office module's merge function.
| Checked | Without skill | With skill |
|---|---|---|
| Calls `merge4docx` without explicitly passing `new_word_name`. | Missed | Passed |
| Sets `output_path` to `'./output_folder/'`. | Missed | Passed |
The instructions your model reads when the skill loads.
合并多个 Docx 文件为一个文件
将多个 Word 文档合并为一个文件,可以是单个文件列表或文件夹下所有 docx 文件。
office/skills/word/merge4docx/
from skills.word import merge4docx
merge4docx(
input_path='./word_files',
output_path='./output/',
new_word_name='merged.docx'
)
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
input_path | str | 是 | - | 输入文件的路径。可以是单个文件或文件夹路径 |
output_path | str | 是 | - | 输出合并后文件的路径 |
new_word_name | str | 否 | 'merge4docx' | 合并后新文件的名称 |
None
from skills.word import merge4docx
test cases passed, vs 5 / 22 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.