One-click install
npx skills add https://github.com/hewliyang/kimi-skills --skill docx-hewliyang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docx
Source: https://github.com/hewliyang/kimi-skills/tree/main/docx
Command: npx skills add https://github.com/hewliyang/kimi-skills --skill docx-hewliyang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, lxml, matplotlib, pandoc, playwright, dotnet, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the creation and modification of Word documents (.docx), handling complex formatting, professional elements, and data presentation tasks efficiently.

Core Features & Use Cases

  • Document Generation: Create professional documents from scratch using C# SDK, including covers, TOCs, charts, and custom backgrounds.
  • Document Editing: Modify existing .docx files using Python, supporting comments, track changes, and precise text manipulation.
  • Use Case: Generate a comprehensive project proposal with a branded cover page, detailed sections, embedded charts, and track changes for review, all from a simple prompt.

Quick Start

Use the docx skill to generate a new project proposal document with a cover page, table of contents, and sample content.

Frequently Asked Questions about docx

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

FAQPage Schema
How do I automate professional Word document generation with covers and charts?

Automating Word document generation is handled by using a C# SDK to create professional .docx files from scratch, including covers, tables of contents, and embedded charts. This approach ensures high-quality output for various professional document needs.

Can I add track changes and comments to an existing Word document programmatically?

Yes, you can add track changes and comments to an existing Word document by editing the .docx file using Python and lxml. This allows for precise text manipulation and review features without opening a word processor.

Does the docx skill support both creating new documents and editing existing ones?

The docx skill supports both creating new documents and editing existing ones by using a dual approach: a C# SDK for generation and Python with lxml for modification. This ensures comprehensive handling of professional formatting and data presentation.

What dependencies are required to modify Word documents using Python and lxml?

Modifying Word documents using Python and lxml requires the python-docx and lxml dependencies. These libraries enable the precise manipulation of document elements like text, comments, and track changes within the .docx format.

Are there limitations when generating custom backgrounds and tables of contents in Word documents?

Generating custom backgrounds and tables of contents relies on the C# SDK capabilities within the docx skill. While it supports advanced professional formatting, complex custom layouts may require precise SDK configuration to ensure proper rendering in the final .docx file.