Doc
JetBrainsOfficialCreated by OpenAIDistributed by JetBrains
- Skill
- Tool integration
- Documents and content
- Apache-2.0
- Low risk
- Has scripts
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
The doc skill provides a structured approach to managing DOCX files, focusing on layout fidelity and professional formatting. It leverages python-docx for programmatic document manipulation and integrates system-level tools like LibreOffice and Poppler to render documents into images for visual inspection. This allows users to verify tables, diagrams, and pagination before finalizing their documents.
What it does
- Creates and edits DOCX files using python-docx
- Converts DOCX files to PDF and PNG formats for visual review
- Provides a bundled script for rendering document pages
- Manages temporary files and output directories for document processing
- Enforces consistent typography and layout checks
When to use it
- When you need to create or modify DOCX documents with specific formatting requirements
- When you must verify that tables, diagrams, or page layouts appear correctly
- When you need to ensure document content is legible and properly aligned
- When you are working on documents that require professional styling and hierarchy
Advantages
- Enables visual validation of document layouts
- Supports programmatic control over document structure
- Provides a clear workflow for iterative editing and inspection
- Includes helper scripts to simplify the rendering process
Usage examples
- “Create a new report in DOCX format with a title and a table.”
- The agent uses python-docx to generate the document structure and then renders it to PNGs to confirm the table and title are correctly positioned.
- “Review this DOCX file for layout issues.”
- The agent converts the document to images and inspects the pages for overlapping text, broken tables, or alignment errors.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/jetbrains/doc/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip doc.zip -d .agents/skills
Documentation by OpenAI
DOCX Skill
When to use
Read or review DOCX content where layout matters (tables, diagrams, pagination).
Create or edit DOCX files with professional formatting.
Validate visual layout before delivery.
Workflow
Prefer visual review (layout, tables, diagrams).
If
sofficeandpdftoppmare available, convert DOCX -> PDF -> PNGs.Or use
scripts/render_docx.py(requirespdf2imageand Poppler).If these tools are missing, install them or ask the user to review rendered pages locally.
Use
python-docxfor edits and structured creation (headings, styles, tables, lists).After each meaningful change, re-render and inspect the pages.
If visual review is not possible, extract text with
python-docxas a fallback and call out layout risk.Keep intermediate outputs organized and clean up after final approval.
Temp and output conventions
Use
tmp/docs/for intermediate files; delete when done.Write final artifacts under
output/doc/when working in this repo.Keep filenames stable and descriptive.
Dependencies (install if missing)
Prefer uv for dependency management.
Python packages:
uv pip install python-docx pdf2imageIf uv is unavailable:
python3 -m pip install python-docx pdf2imageSystem tools (for rendering):
# macOS (Homebrew)
brew install libreoffice poppler
# Ubuntu/Debian
sudo apt-get install -y libreoffice poppler-utilsIf installation isn't possible in this environment, tell the user which dependency is missing and how to install it locally.
Environment
No required environment variables.
Rendering commands
DOCX -> PDF:
soffice -env:UserInstallation=file:///tmp/lo_profile_$$ --headless --convert-to pdf --outdir $OUTDIR $INPUT_DOCXPDF -> PNGs:
pdftoppm -png $OUTDIR/$BASENAME.pdf $OUTDIR/$BASENAMEBundled helper:
python3 scripts/render_docx.py /path/to/file.docx --output_dir /tmp/docx_pagesQuality expectations
Deliver a client-ready document: consistent typography, spacing, margins, and clear hierarchy.
Avoid formatting defects: clipped/overlapping text, broken tables, unreadable characters, or default-template styling.
Charts, tables, and visuals must be legible in rendered pages with correct alignment.
Use ASCII hyphens only. Avoid U+2011 (non-breaking hyphen) and other Unicode dashes.
Citations and references must be human-readable; never leave tool tokens or placeholder strings.
Final checks
Re-render and inspect every page at 100% zoom before final delivery.
Fix any spacing, alignment, or pagination issues and repeat the render loop.
Confirm there are no leftovers (temp files, duplicate renders) unless the user asks to keep them.
Files
- ATTRIBUTION.mdAdded by AutoGineer860 B
- LICENSE.txt10.5 KiB
- SKILL.md3.1 KiB
- agents/openai.yaml271 B
- assets/doc-small.svg1.6 KiB
- assets/doc.png1.2 KiB
- scripts/render_docx.pyScript9.5 KiB
Requirements and compatibility
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs a command-line tool, Needs Python
Security
What our scanner noticed· Low risk
- Instructions that use the network
- Scripts that your agent may run
This skill includes scripts that your agent may run. Read them before you use it.
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Created by
- OpenAI
- Publisher
- JetBrains (Official)
- Distributed by
- JetBrains
- Source
- JetBrains/skills · doc · commit 3f53782
- Licence
- Apache License 2.0 (redistribution allowed)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by OpenAI or JetBrains.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download doc.zip