Manipulate .docx files with high layout fidelity using Python-based tools and visual rendering checks.

Install

mkdir -p .claude/skills/doc-cdrguru && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18707" && unzip -o skill.zip -d .claude/skills/doc-cdrguru && rm skill.zip

Installs to .claude/skills/doc-cdrguru

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks.
212 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • →Read or review DOCX content with layout fidelity
  • →Create or edit DOCX files with professional formatting
  • →Validate visual layout before delivery
  • →Convert DOCX to PDF and PNGs for visual checks
  • →Use `python-docx` for structured editing
  • →Extract text from DOCX as a fallback

How it works

The workflow prioritizes visual review by converting DOCX to PDF and then to PNGs. It uses `python-docx` for structured edits and re-renders after each change to inspect pages, falling back to text extraction if visual review is not possible.

Inputs & outputs

You give it
DOCX file or content for a new DOCX file
You get back
Edited DOCX file, rendered PDF/PNGs, or extracted text

When to use doc

  • →Edit professional documentation
  • →Create docx reports from code
  • →Validate document layout
  • →Extract text from Word files

About doc

Handles .docx file operations including creation, editing, and visual verification. Uses python-docx for edits and rendering scripts for layout validation.

Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks.

When not to use it

  • →When formatting or layout fidelity is not important
  • →When working with plain text files
  • →When visual review is not possible and text extraction is sufficient

Limitations

  • →Requires `soffice` and `pdftoppm` (or `pdf2image` and Poppler) for visual rendering
  • →If visual review is not possible, layout risk must be called out
  • →Delivers a client-ready document with specific quality expectations

How it compares

This skill emphasizes visual validation and structured editing with `python-docx`, ensuring layout fidelity and professional formatting, unlike simple text-based document processing that ignores visual presentation.

Compared to similar skills

doc side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
doc (this skill)07moReviewIntermediate
pdf-creator03moReviewIntermediate
docstring812moNo flagsBeginner
pr-draft-summary37moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

pdf-creator

seaworld008

Create PDF documents from markdown with proper Chinese font support using weasyprint. This skill should be used when converting markdown to PDF, generating formal documents (legal, trademark filings, reports), or when Chinese typography is required. Triggers include "convert to PDF", "generate PDF",

00

docstring

pytorch

Write docstrings for PyTorch functions and methods following PyTorch conventions. Use when writing or updating docstrings in PyTorch code.

891

pr-draft-summary

openai

Create a PR title and draft description after substantive code changes are finished. Trigger when wrapping up a moderate-or-larger change (runtime code, tests, build config, docs with behavior impact) and you need the PR-ready summary block with change summary plus PR draft text.

326

business-document-generator

ailabs-393

This skill should be used when the user requests to create professional business documents (proposals, business plans, or budgets) from templates. It provides PDF templates and a Python script for generating filled documents from user data.

316

releasenote

DataDog

Create or update release notes for changes in the current branch using Reno, following dd-trace-py's conventions and the guidelines in docs/releasenotes.rst.

15

report-research

numerai

Write a complete Numerai experiment report in experiment.md (abstract, methods, results tables, decisions, next steps) and generate/link the standard show_experiment plot(s). Use after running any Numerai research experiments, or when a user asks for a “full report”, “write up”, “experiment.md update”, or “generate the standard plot”.

10

Search skills

Search the agent skills registry