
SuperDoc Redlines
from superdoc-redlines21
CLI for programmatically creating tracked changes, comments, and structured edits for DOCX files using ID-based (seqId) editing.
What it does
SuperDoc Redlines provides a CLI workflow for extracting a document's block-level structure, creating ID-based edits (replace/delete/insert/comment), validating them, and applying tracked changes to DOCX files. It's designed for deterministic, position-independent edits so agents can reliably modify Word documents and preserve revision history.
When to use it
Use this skill when an agent needs to programmatically redline contracts, reports, or other Word documents: extracting block IDs, producing precise edits tied to seqId (b001, b025), validating edits before applying, and generating a redlined DOCX with track-changes visible. It's appropriate for legal review automation, document QA, and multi-agent edit merging.
What's included
- Scripts: CLI commands for extract, read, validate, apply, merge, parse-edits, to-markdown (documented in SKILL.md).
- References: README.md with API details (referenced).
- Instructions: step-by-step workflow to extract an IR, create edits.json (or markdown edits), validate with
validate, and apply withapply(options: --strict, --skip-invalid, --no-track-changes). Chunked reading and merge strategies for multi-agent workflows are described.
Compatible agents
Agents that can run CLI tooling or execute Node.js scripts (Copilot/Codex-style automations, local agent runners). The skill is CLI-first and best for agents able to run shell commands or orchestrate the provided Node.js tool.
Tags
Information
- Repository
- superdoc-redlines
- Stars
- 21
- Installs
- 0