← All workflows

For the legal department of a food retailer

Converting policies to one fixed format

A corporate group has dozens of policies, each written by a different department. We convert them to one fixed structure, with the same terms and with visuals where these replace text.

Policies in different formats become three documents with the same structure
What goes in
The existing policy and the framework every policy has to follow.
What comes out
The policy in the fixed structure, as a formatted Word document with the visuals in it and the changes visible.
Built as
Word documents, built with scripts and fixed production rules

Engineering

Under the hood

Not an application but a production line. A skill for Claude Code holds the client's production rules and a library of prompts. Python scripts then build the Word document from a finished template, down to the XML.

  • 01 Claude Code skill
  • 02 prompt library
  • 03 Python
  • 04 python-docx
  • 05 lxml

Does your team have a task like this?

Get in touch