Content is user-generated and unverified.

Document Editing Prompt Engineering Template

📋 任務描述模板

markdown
# 文件編輯任務

## 來源檔案
- 主要內容:[filename.docx]
- 表單模板:[template.doc]
- 輸出檔名:[output.docx]

## 文件結構
- 章節編號格式:壹、貳、參... 或 一、二、三...
- 圖片編號格式:圖一、圖二、圖三...
- 參考文獻格式:APA 7th

## 執行操作
[依序列出所需操作]

🔧 常用操作指令

刪除操作

rm [section name]
rm [section name], including fig X
rm [specific paragraph about topic]
rm 以中文或英文撰寫

新增操作

add narrative for [section name]
cite the figure in the context
add citation for [author, year] in [section]

修正操作

fix [issue description]
[old text] → [new text]
authors should be [correct authors]
year should be [correct year]

格式調整

space between [element A] & [element B] should be [X] line height [more/less]
[section] subitems should be bulleted instead of numbered
figure caption should be below image, centered

重新編號

renumber sections from 壹
renumber figures sequentially

📝 指令範例庫

章節操作

# 刪除章節
rm 研究設計 paragraphs, including fig 3

# 合併章節
merge 先導研究成果 into 研究背景與動機 as unnumbered subsection

# 移動章節
move section 8 before section 10

# 重新編號
sections should start from 壹 instead of 貳

圖片操作

# 引用圖片
cite the figure in the context

# 調整位置
figure caption should be below image, centered

# 調整間距
space between figure & caption should be one line height less
space between figure caption & next paragraph should be two lines height more

# 重新編號
renumber figures: 圖一 through 圖十

列表操作

# 轉換格式
研究目的 研究問題 subitems should be bulleted instead of numbered
convert numbered list to bullets in 學術貢獻 section

# 調整縮排
increase indent for sub-items

參考文獻操作

# 修正作者
authors for [paper title] should be [correct authors]

# 修正年份
Shahamiri (2024) → Shahamiri (2023)

# 新增引用
add citation for [author, year] in [relevant section]

# 檢查引用
where in the context this paper is cited

格式清理

# 移除多餘文字
rm 以中文或英文撰寫

# 移除空白頁
remove blank pages

# 統一格式
standardize heading styles

🎯 最佳實踐

1. 指令要簡潔明確

❌ 請幫我把研究設計那個部分刪掉,還有裡面的圖也要一起刪掉
✅ rm 研究設計 paragraphs, including fig 3

2. 一次一個操作

❌ rm section A, add narrative for B, fix figure numbers, change authors
✅ Step 1: rm section A
   Step 2: add narrative for B
   Step 3: fix figure numbers
   Step 4: change authors

3. 提供具體內容

❌ 修正作者
✅ authors should be Y Hua, H Na, Z Li, F Liu, X Fang, D Clifton, J Torous

4. 指出問題位置

❌ 有個引用沒出現在正文
✅ where in the context this paper is cited

5. 明確格式要求

❌ 調整間距
✅ space between figure caption & next paragraph should be two lines height more

📊 檢查清單模板

markdown
## 完成後驗證
- [ ] 章節編號連續正確(壹→柒 或 一→十)
- [ ] 圖片編號連續正確(圖一→圖十)
- [ ] 所有圖片在正文中有引用(見圖X)
- [ ] 所有參考文獻在正文中有引用
- [ ] 格式一致(標題、列表、間距)
- [ ] 無空白頁
- [ ] 頁數符合預期

🔄 工作流程範例

完整文件整合流程

1. 整合內容到表單模板
   integrate [main_content.docx] into [template.doc]

2. 調整章節編號
   renumber sections from 壹

3. 處理圖片
   - figure caption below image, centered
   - cite all figures in context
   - renumber figures sequentially

4. 調整格式
   - space between figure & caption: reduce
   - space after caption: increase
   - convert specific lists to bullets

5. 清理內容
   - rm unnecessary sections
   - rm placeholder text

6. 修正參考文獻
   - fix author names
   - fix years
   - ensure all cited in text

7. 最終檢查
   - verify structure
   - verify figure sequence
   - verify citations

💡 常見問題處理

圖片編號混亂

問題:刪除圖片後編號不連續
解法:renumber figures sequentially from 圖一

章節編號錯誤

問題:章節從貳開始而非壹
解法:renumber sections from 壹

參考文獻未引用

問題:參考文獻列表有但正文沒引用
解法:
1. where in the context [paper] is cited
2. add citation in [appropriate section]
   或
   rm [reference] from reference list

格式不一致

問題:部分列表編號、部分項目符號
解法:[section] subitems should be bulleted instead of numbered

📁 輸出要求模板

markdown
## 輸出檔案
- 格式:docx + pdf
- 位置:/mnt/user-data/outputs/
- 檔名:[specified_name].docx, [specified_name].pdf

## 品質要求
- PDF 可正確顯示中文
- 圖片清晰
- 格式保留完整
Content is user-generated and unverified.
    Document Editing Prompt Template: Complete Guide | Claude