doc

Read, create, and edit DOCX documents while preserving formatting fidelity.

3|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/bl1nk-bot/skills-cli --skill doc-bl1nk-bot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc
Source: https://github.com/bl1nk-bot/skills-cli/tree/main/skills/doc
Command: npx skills add https://github.com/bl1nk-bot/skills-cli --skill doc-bl1nk-bot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pdf2image, and includes scripts (resource) components.

What problem does it solve?

DOCX documents often require careful formatting and precise edits; this Skill provides guidance for reading, creating, and editing DOCX content while preserving layout fidelity.

Core Features & Use Cases

  • Visual rendering and verification of DOCX formatting using the bundled render_docx.py.
  • Programmatic editing and generation of DOCX documents with Python tooling.
  • Use cases include template-based reports, letters, and documents where layout matters.

Quick Start

Render a sample DOCX using the bundled render_docx.py script and inspect the produced page images for layout fidelity.

Frequently Asked Questions about doc

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

FAQPage Schema
How do I automate DOCX document generation while preserving precise formatting?

To automate DOCX document generation while preserving formatting, you can use Python tooling to programmatically create and edit documents. This Skill processes reports, letters, and templates, using a bundled rendering script to verify that the final layout maintains fidelity.

What is the best way to visually verify DOCX layout fidelity after editing?

The best way to verify DOCX layout fidelity is to render the document into page images for visual inspection. This Skill uses a bundled Python script and the pdf2image dependency to generate visual outputs, ensuring formatting remains intact during document review.

Does this DOCX rendering approach require any specific dependencies to work?

Yes, this DOCX rendering approach requires the pdf2image dependency to function. You also need a YAML frontmatter defining the name and description in your SKILL.md file, along with the bundled render_docx.py script, to successfully render and verify outputs.

Can I use Python to edit Word documents for template-based reports?

Yes, you can use Python to edit Word documents for template-based reports. This Skill provides programmatic tooling to read, create, and edit DOCX content, ensuring precise layout fidelity for generated reports, letters, and structured templates.

Why does my DOCX formatting break when generating documents programmatically?

DOCX formatting often breaks during programmatic generation due to mismanaged layout properties. This Skill solves the problem by combining Python editing tooling with visual rendering verification, allowing you to inspect produced page images and validate formatting precision.

When do I need to render DOCX files into images during document automation?

You need to render DOCX files into images during document automation when precise layout validation is required. This visual verification step, supported by the pdf2image dependency, ensures that programmatically generated reports and templates maintain their intended formatting fidelity.