A Claude AI skill that reviews and fixes clause numbering and stale cross-references in legal contracts and agreements.
94
Pending
Does it follow best practices?
Impact
94%
0.98xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
Design a solution that fixes stale cross-references in a Word document (.docx) by replacing old clause references with their correct updated values. The solution must search across all paragraphs and text runs in the document, match full cross-reference phrases to avoid accidental changes, and record every change made for user review.
Use the contract-numbering-fixer package to iterate over every paragraph and text run in the .docx file. For each supplied replacement pair, match the complete cross-reference phrase (e.g., "clause 10.6") rather than the bare number to prevent unintended substitutions. Accumulate an entry in the change log for every replacement that is applied.
Accepts a .docx file path and a list of {old_reference, new_reference} pairs. Applies fixes in place and returns a change log listing each replacement made (old value and new value).
AI skill that reviews and fixes clause numbering issues and stale cross-references in legal contracts.
docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10