Red-Circle-Contract-review

Embed deterministic revision marks and inline comments in docx contracts via OOXML.

19|3|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/LawMotion-AI/Vibe-Lawyering --skill red-circle-contract-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Red-Circle-Contract-review
Source: https://github.com/LawMotion-AI/Vibe-Lawyering/tree/main/agent-skills/%E7%BA%A2%E5%9C%88%E6%89%80%E5%BE%8B%E5%B8%88%E5%90%88%E5%90%8C%E5%AE%A1%E6%9F%A5%E6%8A%80%E8%83%BD
Command: npx skills add https://github.com/LawMotion-AI/Vibe-Lawyering --skill red-circle-contract-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lxml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill enables deterministic docx revision traces and inline comments for Chinese contracts by directly editing the underlying OOXML to produce revisable, fully annotated documents ready for client delivery.

Core Features & Use Cases

  • XML-driven docx revision marks: delete, insert, and comment ranges written directly into document.xml, comments.xml, and settings.xml to ensure WPS compatibility.
  • End-to-end workflow: contract review, clause edits, risk tagging, template alignment, and output of revision-annotated docx with inline comments.
  • Real-world scenario: deliver a fully annotated contract with visible revisions and comments in a single docx file, enabling instant review and negotiation.

Quick Start

Provide a Chinese contract and instructions to generate a docx with inline revisions and comments.

Frequently Asked Questions about Red-Circle-Contract-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add revision marks and inline comments to a contract docx for client review?

To add revision marks and inline comments to a contract docx, this Skill directly manipulates OOXML to embed deterministic delete, insert, and comment ranges, producing a fully annotated document ready for client delivery.

Does direct XML editing for docx revision tracking ensure WPS compatibility?

Direct XML editing ensures WPS compatibility by enforcing ISO 8601 timestamps, unique IDs, and SimSun font locking when writing revision marks and comments into document.xml, comments.xml, and settings.xml.

Can I use this approach to tag risks and align contract clauses in a docx file?

Yes, you can use this approach to tag risks and align contract clauses by applying XML-driven revision marks to edit clauses and generate a ready-to-open revision docx with inline comments.

What is the best way to generate a revisable docx with deterministic revision traces for Chinese contracts?

The best way to generate a revisable docx with deterministic revision traces for Chinese contracts is by directly editing the underlying OOXML to embed inline comments and revision marks, bypassing high-level libraries.

Do I need lxml to manipulate OOXML for contract review and revision tracking?

Yes, you need the lxml dependency to execute the direct XML-based implementation that writes deterministic revision marks and inline comments into the document structure.

Why do my docx revision marks disappear or display incorrectly in WPS Office?

Revision marks may disappear in WPS Office if the OOXML lacks ISO 8601 timestamps, unique IDs, and SimSun font locking; this Skill enforces these constraints to ensure WPS compatibility.