business_letter
Convert Markdown files to professionally formatted business letter Word documents with sender block, date, recipient, body, and signature
Business Letter Generator
Convert Markdown files to professionally formatted business letter Word documents with sender block, date, recipient, body, and signature.
Instructions
-
Run the generator script at
~/.claude/tools/generate_letter_docx.py -
Pass the markdown file(s) with
--filesargument -
Pass sender information:
--sender-name— full name--sender-street— street address--sender-city— city, state, zip--sender-phone— phone number--sender-email— email address
-
Add
--opento automatically open the Word document when done -
Optionally use
--output-dirto specify output directory
Example
python3 ~/.claude/tools/generate_letter_docx.py \
--files letter.md \
--sender-name "Your Name" \
--sender-street "123 Main St" \
--sender-city "Carson City, NV 89701" \
--sender-phone "(775) 555-1234" \
--sender-email "[email protected]" \
--open
Notes
- Files prefixed with
00_are rendered as reference sheets (no sender block) - Supports blockquote sections rendered as clean indented blocks
- Tables are rendered with hidden borders
- Signature block detected by "Respectfully submitted," line