excel2pdf
将 Excel 文件的指定工作表转换为 PDF 格式。当用户提到 Excel 转 PDF、表格转 PDF、导出 Excel 为 PDF 时使用。
将输入的图片转换为铅笔画风格。当用户提到铅笔画、素描、画风转换、图片转素描时使用。
$ npx -y skills add coderwanfeng/python-office --skill pencil4img --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/pencil4imgContext preview
The summary Claude sees to decide when to auto-load this skill.
将输入的图片转换为铅笔画风格。当用户提到铅笔画、素描、画风转换、图片转素描时使用。
name: pencil4img description: 将输入的图片转换为铅笔画风格。当用户提到铅笔画、素描、画风转换、图片转素描时使用。
> 使用 pencil4img 算法处理图像
将输入的图像转换为铅笔画风格的图像。
`office/skills/image/pencil4img/`
from skills.image import pencil4img
pencil4img(
input_img='./test.jpg',
output_path='./',
output_name='pencil4img.jpg'
)| 参数 | 类型 | 必填 | 默认值 | 说明 | |------|------|------|--------|------| | `input_img` | str | 是 | - | 输入的图像文件路径 | | `output_path` | str | 否 | `'./'` | 输出图像的路径 | | `output_name` | str | 否 | `'pencil4img.jpg'` | 转换后的图像文件名 |
`None`
from skills.image import pencil4img pencil4img(input_img='./photo.jpg')
`office.api.image.pencil4img`
将 Excel 文件的指定工作表转换为 PDF 格式。当用户提到 Excel 转 PDF、表格转 PDF、导出 Excel 为 PDF 时使用。
在 Excel 文件中搜索指定关键词并返回文件、行号、详情。当用户提到搜索 Excel、Excel 查找、Excel 搜索内容时使用。
将多个 Excel 文件合并到一个 Excel 的不同 sheet 中。当用户提到合并 Excel、合并多个表格、多个 Excel 合并时使用。
将同一个 Excel 文件的多个 sheet 拆分为独立文件。当用户提到拆分 sheet、Excel 按表拆分、拆 sheet 时使用。