doc
适用于读取、创建或编辑 .docx 文档,尤其重视格式或布局还原的情况;优先使用 python-docx,并结合附带的 scripts/render_docx.py 进行视觉检查。
译文已校对查看英文原文
Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks.
适用对象:办公与团队协作。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- DOCX Skill
- When to use
- Workflow
- Temp and output conventions
- Dependencies (install if missing)
- Environment
- Rendering commands
- Quality expectations
Read or review DOCX content where layout matters (tables, diagrams, pagination). Create or edit DOCX files with professional formatting. Validate visual layout before delivery. 1. Prefer visual review (layout, tables, diagrams). If soffice and pdftoppm are available, convert DOCX -> PDF -> PNGs. Or use scripts/renderdocx.py (requires pdf2image and Poppler). If these tools are missing, install them or ask the user to review rendered pages locally. 2. Use python-docx for edits and structured creation (headings, styles, tables, lists). 3. After each meaningful change, re-render and inspect the pages. 4. If visual review is not possible, extract text with python-docx as a fallback and call out layout risk. 5. Keep intermediate outputs organized and clean up after final approval. Use tmp/docs/ for intermediate files; delete when done. Write final artifacts under output/doc/ when working in this repo. Keep filenames stable and descriptive. Prefer uv for dependency management. Python packages: If uv is unavailable: System tools (for rendering): If installation isn't possible in this environment, tell the user which dependency is missing and how to install it locally. No required environme
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- davila7/claude-code-templates
- 源文件
- cli-tool/components/skills/document-processing/doc/SKILL.md
- 固定版本
- 21be197f100a12b8d0dd9a211cc244c8179f84d3
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:davila7/claude-code-templates · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T15:01:39.250Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。