SKILL.md
$28
2. Redlining & Tracked Changes
For legal or business review:
- Initialize: Use
scripts/document.py. Reference: Readreferences/ooxml.mdfor XML patterns.
- Procedure: Unpack (
unpack.py), edit XML using the Document Library, then Pack (pack.py).
- Standard: You MUST only mark text that actually changes. Keep unchanged text outside
<w:del>/<w:ins>.
3. Text Extraction
- You SHOULD use Pandoc to convert to markdown while preserving structure:
pandoc --track-changes=all path-to-file.docx -o output.md
</technical_workflows>
<quality_expectations>
- Client-Ready: You MUST NOT use Unicode dashes (use ASCII hyphens). No internal AI tokens.
- Element Ordering: In
<w:pPr>, elements MUST follow schema order: Style -> Numbering -> Spacing -> Indent -> Alignment.
- Visual Fidelity: Charts and tables MUST be sharp and legible in rendered previews.
</quality_expectations>
</word_document_professional_suite>