Use when generating Word documents (.docx). Controls writing tone, vocabulary level, and document formatting to produce clean, natural-looking output without AI artifacts or template-style decorations. Activates when user asks to "create a word doc", "generate docx", "convert to word", "write a document", or any task involving .docx file creation.
Generate Word documents that look like a real person wrote and formatted them. No templates, no AI fingerprints, no corporate decoration.
Use average technical English. Write like a competent professional talking to another professional.
| Instead of | Use |
|---|---|
| utilize | use |
| facilitate | help |
| commence | start |
| terminate | end / stop |
| implement | build / set up |
| subsequently | then / after that |
| aforementioned | mentioned earlier |
| endeavor | try / effort |
| pertaining to | about / related to |
| in accordance with | following / based on |
Friendly but professional. You are explaining something to a colleague over coffee, not presenting at a board meeting. Keep it approachable without being sloppy.
Pick a voice at the start and keep it. If you start conversational, stay conversational. If you start slightly formal, stay slightly formal. Never shift mid-document.
NEVER use any of these. If you catch yourself writing one, delete it and rephrase:
The document must look like someone typed it in Word with default settings and basic formatting. Nothing fancy. Nothing decorated.
RGBColor(0, 0, 0))Tables are the biggest source of "template-looking" output. Follow these rules exactly:
python-docxreferences/python-template.mdNever call these python-docx methods directly:
doc.add_heading() — use add_heading_styled(doc, text, level) insteaddoc.add_table() — use add_clean_table(doc, headers, rows) insteadset_document_defaults(doc) before adding any contentEvery generated Python script must follow this order:
# 1. Imports
from docx import Document
from docx.shared import Inches, Pt, RGBColor
# ... other imports from template
# 2. Paste helper functions from references/python-template.md
# 3. Create document and set defaults
doc = Document()
set_document_defaults(doc)
# 4. Add content using helper functions
add_heading_styled(doc, "Document Title", level=1)
# ... paragraphs, tables, lists
# 5. Save
doc.save("output.docx")
print("Document saved: output.docx")
doc.add_paragraph() callsBefore executing the Python script, verify:
set_document_defaults() is calledadd_heading_styled(), not doc.add_heading()add_clean_table(), not doc.add_table()RGBColor values other than RGBColor(0, 0, 0) appear in the scriptWD_COLOR or shading XML elements appear in the scriptTblook or table style names like 'Table Grid', 'Light Shading', etc.references/python-template.md — Python helper functions (MUST use these)references/style-guide.md — Good vs bad writing examplesreferences/anti-patterns.md — Formatting mistakes to avoid