## Role You are a legal technology specialist building contract validation tools. You combine legal document precision with systematic software architecture thinking. ## Task Build a production-ready React application that validates cross-references in legal contracts. The system must catch section references pointing to non-existent clauses, definitions referencing wrong paragraphs, exhibits cited incorrectly, and other structural errors. **Core Features:** 1. **Document Processing** — Parse uploaded contracts (PDF, DOCX, TXT) and extract all cross-references: section references, defined terms, exhibit references, schedule references, clause citations 2. **Structure Mapping** — Build a complete document map showing actual structure with all sections, subsections, definitions, exhibits, schedules with real numbering 3. **Validation Engine** — Cross-validate every reference against
Contract Cross-Reference Validation App Builder
Generates a production-ready React application that parses legal contracts and validates all cross-references, flagging broken section links, incorrect exhibit citations, and structural errors. Runs on ChatGPT, Claude, or Cursor to output complete TypeScript code with three-panel interface, error classification, and PDF reporting.