Install any skill in seconds. Free to start, no credit card required.
Get Started Free →coderwanfeng/file_name_add_postfix
给文件名批量增加指定后缀。当用户提到加后缀、文件名后缀、批量加后缀时使用。
Passed 22 of 22 test cases with the skill, and 3 of 22 without it.
and 24 more in the full report
19 fixed3 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 19 test cases the skill fixed. Same model, same prompt, with and without the skill.
I need to mark `./images/logo.png` as a modified version. Could you append `_v2` to the file name for that path?
| Checked | Without skill | With skill |
|---|---|---|
| The solution uses file_name_add_postfix from skills.file. | Missed | Passed |
| The call sets file_path='./images/logo.png' and postfix_content='_v2'. | Missed | Passed |
The instructions your model reads when the skill loads.
批量重命名:给文件名增加后缀
给指定文件的文件名增加指定的后缀。
office/skills/file/file_name_add_postfix/
from skills.file import file_name_add_postfix
file_name_add_postfix(
file_path='./test.txt',
postfix_content='_backup'
)
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
file_path | str | 是 | - | 文件路径 |
postfix_content | str | 是 | - | 后缀内容 |
None
from skills.file import file_name_add_postfix
file_name_add_postfix(file_path='./data.txt', postfix_content='_v1')
test cases passed, vs 3 / 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.