docx-generation

Generate Word .docx documents from text or Markdown content.

12|4|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/TeiNam/kiro-with-harness --skill docx-generation-teinam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx-generation
Source: https://github.com/TeiNam/kiro-with-harness/tree/main/skills/docx-generation
Command: npx skills add https://github.com/TeiNam/kiro-with-harness --skill docx-generation-teinam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, pandoc, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

This skill addresses the need for generating editable Word documents, such as reports, letters, and contracts, directly from text or Markdown, offering a convenient alternative to PDFs or HTML pages.

Core Features & Use Cases

  • Document Creation: Generate .docx documents with headings, styled paragraphs, tables, images, and sections.
  • Markdown Conversion: Convert Markdown content to .docx format.
  • Use Case: When you require an editable Word document for professional documents that need to be easily edited and shared.

Quick Start

Generate a Word document from Markdown with the following command: pandoc report.md -o report.docx

Frequently Asked Questions about docx-generation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Markdown to a Word document?

To convert Markdown to a Word document, you can use pandoc to transform Markdown content into an editable .docx file with headings, styled paragraphs, tables, and images.

What's the best way to generate editable .docx files from text?

Generating editable .docx files from text is best handled by creating documents directly with python-docx, which supports styled paragraphs, tables, images, and sections for professional reports.

Can I add tables and images when creating a Word document from Markdown?

Yes, creating a Word document from Markdown supports adding tables, images, styled paragraphs, and headings to produce a fully editable .docx file for professional use.

Do I need pandoc and python-docx to generate Word documents from text?

Yes, you need both pandoc and python-docx installed to generate Word documents, as they provide the underlying conversion and formatting capabilities for creating structured .docx files.

When should I use a Word document generator instead of exporting to PDF?

Use a Word document generator when you need an editable document for reports, letters, or contracts that require further editing and sharing, unlike static PDF or HTML formats.