技能 产品商业 合同红线批注起草

合同红线批注起草

v20261128
lumen-redlining
使用 Lumen 在 DOCX 合同中进行最小化修订并生成带批注的修订痕迹,支持条款增补、规则引用、修订验证和模板起草,避免虚构信息。
获取技能
87 次下载
概览

Redlining

Edits

  • Change the fewest words that reach the position. Replace "seven (7) years" with "three (3) years", not the whole clause.
  • Keep defined terms and the document's style: numbering, "shall", capitalisation, numbers written "three (3)".
  • One edit per paragraph. If a paragraph needs two changes, make one edit that covers both.
  • Every edit has a comment that names the rule: "Rule NDA-04: governing law must be England and Wales, New York or Delaware."
  • To add a missing clause, edit the paragraph it belongs after: from is its last sentence, to is that sentence plus the new one.

The DOCX

cat > /tmp/edits.json <<'JSON'
[{"a": "p1.9", "from": "seven (7) years", "to": "three (3) years", "comment": "Rule NDA-01: max 3 years."}]
JSON
lumen redline --docx "<original .docx path>" --edits @/tmp/edits.json --out <batch_dir>/out/redline.docx
lumen redline verify --docx <batch_dir>/out/redline.docx    # insertions, deletions, comments

The output shows each edit as a tracked deletion and insertion by "Lumen", with the comment. For a PDF or TXT source, pass --doc <doc_id> instead of --docx: Lumen redlines a converted copy and the lawyer sees that it is a copy.

missing in the output lists edits whose from text was not found. Fix from to the exact words and run it again.

Drafting from a template

  • Fill {{fields}} only from input.json or a cited source document.
  • A field you cannot fill becomes [[CONFIRM: field]]. Never invent a party, a date or an amount.
信息
分类 产品商业
名称 lumen-redlining
版本 v20261128
大小 1.66KB
更新时间 2026-11-29
语言