cyberneticlibrary

Review contracts with risk layers

contract-reviewskillsetup L21,318
anbeime/skill
What it does

Add comment-based issue annotations to contracts across 3 legal review layers

Best for

Non-invasive contract review with structured risk encoding (reviewer name = severity) for stakeholders.

Inputs
  • · .docx contract file
  • · review depth (basic/business/legal)
Outputs
  • · annotated contract with comments
  • · contract summary
  • · consolidated opinion
  • · business flowchart (Mermaid + PNG)
Requires
  • · pandoc
  • · python-docx
  • · defusedxml
  • · Mermaid CLI (mmdc)
Preconditions
  • · Contract as .docx
  • · Output directory writable
  • · Python 3.9+ with deps
Failure modes
  • · Comments missing in Word
  • · Mermaid render timeout
  • · Language detection fails
Trust signals
  • · 3-layer review (basic/business/legal)
  • · Risk level via reviewer name
  • · Output language matches contract language
  • · Flowchart from contract text only