docx-cmr-generator

Community

Convert Markdown to styled Word docs (CMR).

AuthorPedroGiudice
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates converting Markdown into Word documents (.docx) following the CMR Advogados formatting standards, ensuring consistent fonts, margins, and layout.

Core Features & Use Cases

  • Markdown to DOCX conversion with DNA-driven styles.
  • Template style extraction from existing templates to align new documents.
  • Multi-document consensus: generate a consistent style across multiple documents.

Quick Start

Activate the environment and run:

  • Activate: cd skills/docx-cmr-generator and source .venv/bin/activate
  • Convert Markdown: python doc_builder.py <entrada.md> [saida.docx]
  • Example: python doc_builder.py ../CONTESTACAO.md ../CONTESTACAO.docx
  • Extract DNA: python style_extractor.py <template.docx> [estilos.json]
  • Generate consensus: python style_extractor.py --consensus ./pasta/ [consenso.json]

Dependency Matrix

Required Modules

python-docxlxml

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: docx-cmr-generator
Download link: https://github.com/PedroGiudice/Claude-Code-Projetos/archive/main.zip#docx-cmr-generator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository