← 教程列表
news

Document modification workflow

📅 2026/6/12 16:30:02⏱ 约 5 分钟阅读👁 8 阅读

1. Determine the modification type: **Creating new content?** → Follow "Creation workflow" below **Editing existing content?** → Follow "Editing workflow" below 2. Creation workflow: - Use docx-js library - Build document from scratch - Export to .docx format 3. Editing workflow: - Unpack existing document - Modify XML directly - Validate after each change - Repack when complete ``` If workflows become large or complicated with many steps, consider pushing them into separate files and tell Claude to read the appropriate file based on the task at hand.

← 返回教程列表 AI8899 · 内容仅供学习参考