output-docx-export-style
/output-docx-export-style
Use when generating or formatting output as a DOCX file for a legal document. Defines the heading hierarchy (Heading 1 through 3 plus Body Text variants), font and spacing standards (Times New Roman 12pt, 1.5 line spacing), numbering conventions, margin settings, signature block format, and schedule/annex structure — with rules for what to avoid (manual numbering, inconsistent fonts, hand-drawn signature lines).
- Author
- sboghossian ↗
- Repository
- mini-claude-for-legal ↗
- Licence
- MIT
- Last repository change
- 14.05.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 14.05.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when generating or formatting output as a DOCX file for a legal document. Defines the heading hierarchy (Heading 1 through 3 plus Body Text variants), font and spacing standards (Times New Roman 12pt, 1.5 line spacing), numbering conventions, margin settings, signature block format, and schedule/annex structure — with rules for what to avoid (manual numbering, inconsistent fonts, hand-drawn signature lines).
Original author description
Use when generating or formatting output as a DOCX file for a legal document. Defines the heading hierarchy (Heading 1 through 3 plus Body Text variants), font and spacing standards (Times New Roman 12pt, 1.5 line spacing), numbering conventions, margin settings, signature block format, and schedule/annex structure — with rules for what to avoid (manual numbering, inconsistent fonts, hand-drawn signature lines).
How it works
- When to use this
- Heading hierarchy
- Font and spacing
- Margins
- Page layout
- Numbering
- Signature block
- Schedules and annexes
- What to avoid
- Bilingual DOCX
SKILL.md preview
---
name: output-docx-export-style
description: Use when generating or formatting output as a DOCX file for a legal document. Defines the heading hierarchy (Heading 1 through 3 plus Body Text variants), font and spacing standards (Times New Roman 12pt, 1.5 line spacing), numbering conventions, margin settings, signature block format, and schedule/annex structure — with rules for what to avoid (manual numbering, inconsistent fonts, hand-drawn signature lines).
license: MIT
metadata:
id: output.docx-export-style
category: output
priority: P1
intent: [docx, export, formatting, document-style, word-processing]
related: [output-bilingual-formatting, output-client-letter-style, output-executive-summary-first]
source: Louis — HAQQ Legal AI (github.com/sboghossian/mini-claude-for-legal)
version: "1.0"
---
# DOCX Export Style
## When to use this
Apply this style specification whenever generating output that will be exported as a Microsoft Word (.docx) file. This covers:
- Contract drafts and amendments
- Legal memos and opinions
- Client letters formatted for delivery
- Court submissions (where Word format is accepted)
- Term sheets and MOUs
For PDF-only output, these rules still apply — they govern the intermediate Word document before PDF conversion.
## Heading hierarchy
Use named Word styles (not manual bold/font-size formatting — manual formatting breaks on template changes and does not export cleanly):
| Style name | Used for | Example |
|------------|---------|---------|
| Heading 1 | Agreement or document title | NON-DISCLOSURE AGREEMENT |
| Heading 2 | Article (numbered) | ARTICLE 1. DEFINITIONS |
| Heading 3 | Sub-clause heading | 1.1 Confidential Information |
| Body Text | Main clause body | "Confidential Information means..." |
| Body Text Indented | Sub-clauses with one level of indent | "(a) all financial data..." |
| List Paragraph | Bullet or numbered lists within clauses | (i), (ii), (iii) lists |
All heading styles should be defined in the document's built-in style set. Do not override heading styles with manual formatting.
## Font and spacing
| Property | Value | Notes |
|----------|-------|-------|
| Body font | Times New Roman 12pt | Or equivalent serif (Garamond, Palatino) if firm style requires |
| Heading font | Same serif, bold | Heading 1 may be all-caps or small-caps per firm style |
| Line spacing | 1.5 for legal contracts; 1.0 with 6pt paragraph spacing for short memos | 1.5 is the standard for formal contracts |
| Paragraph spacing | 0pt before, 0pt after (for contracts) | Let line spacing create the visual separation |
| First-line indent | 0.5 inch (contracts) | Or paragraph block style with no indent + paragraph spacing |
| Justification | Fully justified for contracts; left-aligned for memos and letters | |
## Margins
| Context | Margins |
|---------|---------|
| US standard | 1 inch all sides |
| EU / MENA standard | 2.5 cm (approx. 1 inch) all sides |
| Filed documents (court) | Follow court's local rules — often larger left margin for binding |
## Page layout
- **Page numbers**: bottom center, starting from page 1 of the agreement body (not the cover page, if any).
- **Header**: agreement short title + version date (optional; depends on firm style). Example: `Non-Disclosure Agreement — Execution Version — May 2026`.
- **Footer**: confidentiality marking — `PRIVILEGED & CONFIDENTIAL` if the document contains legal advice; `CONFIDENTIAL` for commercial contracts between sophisticated parties.
## Numbering
Use **automatic Word numbering** — never manual numbering. Manual numbering (typing "1.", "2." by hand) breaks when clauses are added or removed during negotiation.
Numbering scheme for commercial contracts:
```
ARTICLE 1. DEFINITIONS
1.1 [Clause body]
1.2 [Clause body]
(a) [Sub-clause]
(b) [Sub-clause]
(i) [Sub-sub-clause]
(ii) [Sub-sub-clause]
```
Cross-references must be implemented using Word's cross-reference fields (Insert → Cross-reference → Heading/Numbered item) — not typed as literal text. Cross-reference fields update automatically when numbering changes.
## Signature block
Place the signature block at the end of the main agreement body, before any schedules:
```
IN WITNESS WHEREOF, the parties have executed this Agreement as of the date first written above.
For [PARTY A NAME] For [PARTY B NAME]
By: ___________________________ By: ___________________________
Name: Name:
Title: Title:
Date: Date:
```
Rules:
- Two-column layout using a table (no visible borders) — not using tab stops or manual spacing (which breaks on re-pagination).
- Use Word form fields or underline characters for signature lines — not hand-drawn lines.
- Include "By:" to clarify that the signature is that of an authorized representative, not the party entity itself.
- The date line should be left blank in the template for wet-ink or e-signature completion.
- For jurisdictions requiring witnesses (e.g., UAE real estate transactions, Lebanese notarized contracts): add witness blocks below the party signature blocks.
## Schedules and annexes
Each schedule starts on a new page. The cover of each schedule:
```
SCHEDULE [1 / A] — [SCHEDULE TITLE]
(referred to in the Agreement as "Schedule [1/A]")
```
Rules:
- Numbered continuously from the main agreement: Schedules 1, 2, 3 (or Annexes A, B, C — pick one convention and stick to it).
- Cross-references from the main agreement body to schedules use the exact schedule name/number.
- Schedules that are signed separately (e.g., a Statement of Work) need their own signature lines.
- Include the page number in the footer of each schedule page, continuing from the main agreement.
## What to avoid
| Mistake | Why it's a problem | Correct approach |
|---------|-------------------|-----------------|
| Manual numbering | Breaks when clauses are added/removed | Use Word's automatic numbering |
| Inconsistent fonts and sizes | Unprofessional; signals poor quality | Apply styles throughout; never manually override |
| Tab stops for alignment | Breaks on different screens or printers | Use tables (no visible borders) for alignment |
| Hand-drawn signature lines (underscore characters) | Breaks across pagination; hard to clean up | Use Word form fields or a consistent underline style |
| "Track Changes" in the final version | Exposes negotiation history to unauthorized readers | Always accept/reject all changes before sending an execution version |
| Watermarks in the final execution version | Confuses the status of the document | Watermarks are for drafts only; remove before execution |
## Bilingual DOCX
For bilingual Arabic-English documents, see [[output-bilingual-formatting]] for the two-column table layout that pairs with this style specification.
## Related skills
- [[output-bilingual-formatting]] — bilingual layout for Arabic-English DOCX exports
- [[output-client-letter-style]] — client letter formatting that pairs with DOCX export
- [[output-executive-summary-first]] — BLUF structure that may appear at the start of an exported memo
Versions
The database has no other skills named output-docx-export-style.
Database snapshot: 13.11.2026 · package version 0099fa168c8f (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100docx-export
把中文公文 Markdown 成稿导出为符合机关版式的 .docx。Use when the user wants to export/convert a 公文 Markdown draft to Word/.docx, adjust 字体、字号、页边距、行距、页码、标题断行, embed local images as 附件/附图, or inspect the resolved 字体与版式方案. 不负责起草内容,只负责渲染版式。 - 90md-to-docx-layout
数模(数学建模竞赛)论文定稿阶段从 Markdown 转 Word(.docx) 并按团队排版规范排版的流程。当需要把论文 md 草稿转成 docx、或对 docx 应用"宋体小四 + Times New Roman 斜体 + Cambria Math 斜体"字体规则、A4 页面与 72/76.5pt 页边距、黑体标题层级、学术三线表、五号加粗居中的图表标题、公式居中右端编号等排版要求时使用。 - 100formal-report-generator
Standardized skill to create clean, professional, academic, and technical reports (.docx / .doc) with strict typography (Times New Roman), monochrome design discipline, zero-overlap flowcharts, and structured evidence capture. Use whenever the user asks for a report,… - 100docx-toolkit
Audit Microsoft Word (.docx) documents for heading hierarchy, comments, tracked changes, and style consistency. Use when reviewing a contract draft, preparing a document for handoff, or enforcing a style guide. - 100word-gov-format-cn
Apply Chinese official-document Word formatting rules (A4 margins, fixed line spacing, heading/body font mapping, full-width punctuation) to .docx files. Use when asked to 公文排版、套公文格式、统一字体字号行距、把文档按党政机关公文格式整理。 - 100document-export
Markdown to Word and PDF that meets submission rules: write the document once in Markdown, export DOCX with a generated reference document (exact font, size, heading style, line spacing, page size, margins) and PDF through pandoc's Typst engine with the same settings, then check…