Loading...
Loading...
Convert USDM/EARS requirements documents from Markdown to professionally formatted Word (.docx) files for client submission. Generates cover pages, table of contents, headers/footers, and styled requirement hierarchies. Leverages the docx skill for Word file generation. Use when: "export requirements to Word", "requirements to docx", "USDM to Word", "convert requirements document", "要件書をWord出力", "要件定義書のdocx変換", "Word形式で要件書を作成", "要件定義書をWordに変換".
npx skill4agent add caldiaworks/caldiaworks-marketplace requirements-docxusdmearsskills/usdm/templates/usdm-requirements.md### REQ-{NNN}: {Title}#### REQ-{NNN}-{N}: {Title}**Reason**:**Description**:#### SPEC-{NNN}: {Title}##### SPEC-{NNN}: {Title}###### SPEC-{NNN}: {Title}docx-js.md~/.agents/skills/docx/docx-js.mdreferences/docx-style-definitions.mdreferences/document-structure-mapping.md.tmp/nodeREQ-DOC-20260221-001-requirements-docx.docx.docxsoffice --headless --convert-to pdf <output.docx>
pdftoppm -jpeg -r 150 <output.pdf> page| Markdown Element | Word Style | Description |
|---|---|---|
| Cover page title (28pt bold, centered) | Extracted for cover page, not repeated in body |
| Heading 1 | Top-level sections (Stakeholders, Glossary, Requirements, etc.) |
| Heading 2 | Top-level requirements |
| Heading 3 | Sub-requirements |
| Heading 3 | Specifications directly under a top-level requirement |
| Heading 4 | Specifications under sub-requirements |
| Heading 4 | Sub-sub-requirements |
| Heading 4 | Specifications under sub-sub-requirements |
| Field | Format |
|---|---|
| Bold "Reason:" label followed by normal-weight text on the same line |
| Bold "Description:" label followed by normal-weight text on the same line |
\b(WHEN|WHILE|IF|THEN|WHERE)\bInput: "WHEN the user submits valid credentials, the system shall authenticate the user."
Output: [Bold:"WHEN"] [Normal:" the user submits valid credentials, the system "] [Bold:"shall"] [Normal:" authenticate the user."]#D5E8F0#CCCCCC| Table | Columns | Notes |
|---|---|---|
| Metadata | 2 (Field, Value) | First column bold |
| Ticket References | 3 (Source, ID, Title) | Standard |
| Stakeholders | 3 (Role, Name/Team, Concern) | Standard |
| Glossary | 2 (Term, Definition) | Term column bold |
| Traceability Matrix | 4 (Source, REQ, SPEC, Verification Method) | Standard |
| Open Questions | 4 (#, Question, Raised By, Status) | Standard |
| Change History | 4 (Version, Date, Author, Description) | Standard |
┌─────────────────────────────────┐
│ │
│ [Logo Placeholder Area] │ ← Gray bordered rectangle, centered
│ (Company Logo) │
│ │
│ │
│ ┌───────────────────────┐ │
│ │ Document Title │ │ ← 28pt bold, centered
│ │ (from H1 heading) │ │
│ └───────────────────────┘ │
│ │
│ ┌───────────────────────┐ │
│ │ Document ID │ value │ │ ← Metadata table
│ │ Version │ value │ │
│ │ Status │ value │ │
│ │ Author │ value │ │
│ │ Created │ value │ │
│ │ Last Updated│ value │ │
│ └───────────────────────┘ │
│ │
│ CONFIDENTIAL │ ← Confidentiality notice, centered
│ │
└─────────────────────────────────┘references/docx-style-definitions.mdoutlineLevelShadingType.CLEARreferences/document-structure-mapping.mdreferences/docx-style-definitions.mdexamples/conversion-example.md