One-click install
npx skills add https://github.com/mathur-exe/annotation-notes --skill doc-mathur-exe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc
Source: https://github.com/mathur-exe/annotation-notes/tree/main/PaperNotes/dotfiles/codex/skills/doc
Command: npx skills add https://github.com/mathur-exe/annotation-notes --skill doc-mathur-exe

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill addresses the need to read, create, and edit DOCX documents with high fidelity, ensuring formatting and layout remain consistent across edits and reviews.

Core Features & Use Cases

  • Programmatic DOCX edits using python-docx to enforce headings, styles, tables, lists, and consistent formatting.
  • Visual validation aided by the bundled scripts/render_docx.py to render pages as PNGs for quick review.
  • Use Case: preparing client reports, proposals, and internal documents where precise typography and layout matter.

Quick Start

Edit a DOCX file using the python-docx workflow and verify visual output with the provided render_docx.py script.

Frequently Asked Questions about doc

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

FAQPage Schema
How do I edit DOCX documents programmatically while preserving layout fidelity?

To edit DOCX documents with layout fidelity, use python-docx to apply structured edits while enforcing consistent headings, styles, tables, and lists. Visual output can be verified by rendering pages as PNGs.

Can I validate DOCX formatting changes visually before finalizing a document?

You can validate DOCX formatting changes visually using the bundled render_docx.py script. This script renders document pages into PNG images, allowing you to quickly review typography and layout.

Do I need pdf2image to render DOCX pages for review?

Yes, pdf2image is a required dependency for rendering DOCX pages. The visual validation process relies on this library to convert document pages into PNG format for quick layout checks.

What is the best way to programmatically format client reports in Word?

The best way to format client reports in Word is using python-docx to enforce precise typography and layout. This ensures formatting remains consistent across edits, which is ideal for proposals and internal documents.

Are there limitations when applying structured edits to Word documents with python-docx?

When editing Word documents with python-docx, limitations may arise with highly complex or non-standard layout structures. Visual validation via PNG rendering is recommended to catch any unexpected formatting shifts.