What problem does it solve?
This Skill automates the conversion of legal and regulatory documents from various formats (.txt, .docx, .pdf) into clean, structured Markdown, making them easier to read, search, and integrate into digital workflows.
Core Features & Use Cases
- Multi-format Input: Handles plain text, Word documents, and PDFs.
- Intelligent Conversion: Leverages the
mineru-ocr skill for accurate PDF/DOCX processing, with a fallback to local libraries if needed and approved.
- Automated Formatting: Applies Markdown headings (H1-H5) based on legal document structure (Parts, Chapters, Sections, Articles) and cleans up whitespace.
- Validation: Includes a robust Stage 3 check to ensure content accuracy and structural integrity post-conversion.
- Use Case: Quickly transform a lengthy PDF of a new regulation into a searchable Markdown document for your team's knowledge base.
Quick Start
Convert the document 'new_regulation.pdf' into Markdown format.