file-converter
✓此技能可處理跨文檔(PDF、DOCX、Markdown、HTML、TXT)、數據文件(JSON、CSV、YAML、XML、TOML)和圖像(PNG、JPG、WebP、SVG、GIF)的文件格式轉換。當用戶請求在格式之間轉換、轉換或導出文件時使用。根據特定請求動態生成轉換代碼。
SKILL.md
Convert files between formats across three categories: documents, data files, and images. Generate Python code dynamically for each conversion request, selecting appropriate libraries and handling edge cases.
| Markdown | HTML | markdown or mistune | | HTML | Markdown | markdownify or html2text | | HTML | PDF | weasyprint or pdfkit (requires wkhtmltopdf) | | PDF | Text | pypdf or pdfplumber | | DOCX | Markdown | mammoth | | DOCX | PDF | docx2pdf (Windows/macOS) or LibreOffice CLI | | Markdown | PDF | Convert via HTML first, then to PDF |
| JSON | YAML | pyyaml | | YAML | JSON | pyyaml | | JSON | CSV | pandas or stdlib csv + json | | CSV | JSON | pandas or stdlib csv + json | | JSON | TOML | tomli/tomllib (read) + tomli-w (write) | | XML | JSON | xmltodict | | JSON | XML | dicttoxml or xmltodict.unparse |
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/89jobrien/steve --skill file-converter- 分類
- #文件處理
- 認證
- ✓
- 收錄時間
- 2026-02-05
- 更新時間
- 2026-02-18
快速解答
什麼是 file-converter?
此技能可處理跨文檔(PDF、DOCX、Markdown、HTML、TXT)、數據文件(JSON、CSV、YAML、XML、TOML)和圖像(PNG、JPG、WebP、SVG、GIF)的文件格式轉換。當用戶請求在格式之間轉換、轉換或導出文件時使用。根據特定請求動態生成轉換代碼。 來源:89jobrien/steve。
如何安裝 file-converter?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/89jobrien/steve --skill file-converter 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/89jobrien/steve
詳情
- 分類
- #文件處理
- 來源
- skills.sh
- 收錄時間
- 2026-02-05