doc
Skill46 starsChanged 9 months agoMITView on GitHub
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.
- Installs packages
26 other projects use a version of this, 6 of them edited.
Adopted by
Most recently taken up by
- Mazalucas/El-DT-Lightweight-Armytheir own version, first seen Oct 5, 2026
- hmjBill/skillsedited, first seen Oct 5, 2026
- satoh-y-0323/claude-code-conductortheir own version, first seen Sep 28, 2026
- PracticalSwan/agent-skillsedited, first seen Sep 14, 2026
- AymanShams/codex-coding-osedited, first seen Sep 12, 2026
- jircdev/crew-plugintheir own version, first seen Sep 7, 2026
Used with
Projects with it also use explain, test and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
allieraysSkillexplain
Explain what code does line by line so you can understand and learn from it.
Also in 5 projects that use this
Microsoft AzureSkilltest
Also in 4 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 4 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 3 projects that use this
VercelSkilldeploy
Deploy applications to Vercel. Use when the user says "deploy", "deploy to Vercel", "push to production", "deploy my app", or "go live".
Also in 3 projects that use this
SentrySkillreview
Fixture review skill.
Also in 4 projects that use this
Other versions26 projects use a version of this.
Word for word · 4
- VoDaiLocz/kilo-kit-mcp★ 27100% same
- daidaibunny/agent-skills★ 2100% same
- masterno/agent-skills★ 2100% same
- neyuki778/nanoClaudeCode★ 1100% same
Edited · 6
- JetBrains/skills★ 36093% same
- PracticalSwan/agent-skills★ 1855% same
- AymanShams/codex-coding-os★ 175% same
- hmjBill/skills★ 114% same
- leaf76/agent-skills★ 093% same
- obot-platform/skills★ 090% same
Wrote their own version · 16
- termio-sh/termio★ 538same name
- boshu2/agentops★ 447same name
- kv0906/pm-kit★ 138same name
- lightpointventures/claude-code-starter★ 36same name
- jhy0285/monofield★ 4same name
- Mazalucas/El-DT-Lightweight-Army★ 4same name
- merchsage/workflow-skills★ 4same name
- jazz1x/galmuri★ 3same name
- quickcall-dev/skills★ 2same name
- jircdev/crew-plugin★ 1same name
6 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- brainstormingSkill
- catch-upSkill
- clean-survey-dataSkill
- codexSkill
- datacheckSkill
- dataverse-syncSkill
- discuss-claimsSkill
- geminiSkill
- humanizerSkill
- marginaleffectsSkill
- marp-slideSkill
- napkinSkill
- pdfSkill
- playwrightSkill
- qualtrics-surveySkill
- screenshotSkill
- security-best-practicesSkill
- skill-creatorSkill
- stop-slopSkill
- survey-analysisSkill
- vizSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. 0 are common, 11 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Read or review DOCX content where layout matters (tables, diagrams, pagination).
- Distinctive: line 11
Create or edit DOCX files with professional formatting.
- Distinctive: line 15
Prefer visual review (layout, tables, diagrams).
- Very specific: line 16
If soffice and pdftoppm are available, convert DOCX -> PDF -> PNGs.
- Distinctive: line 18
If these tools are missing, install them or ask the user to review rendered pages locally.
- Very specific: line 19
Use python-docx for edits and structured creation (headings, styles, tables, lists).
- Distinctive: line 20
After each meaningful change, re-render and inspect the pages.
- Very specific: line 21
If visual review is not possible, extract text with python-docx as a fallback and call out layout risk.
- Distinctive: line 22
Keep intermediate outputs organized and clean up after final approval.
- Very specific: line 25
Use tmp/docs/ for intermediate files.
- Very specific: line 26
Write final artifacts under output/doc/ when working in this repo.
- Distinctive: line 27
Keep filenames stable and descriptive.
- Very specific: line 30
Prefer uv for dependency management.
- Very specific: line 36
If uv is unavailable:
- Distinctive: line 49
If installation isn't possible in this environment, tell the user which dependency is missing and how to install it locally.
- Distinctive: line 52
No required environment variables.
- Distinctive: line 72
Avoid formatting defects: clipped/overlapping text, broken tables, unreadable characters, or default-template styling.
- Distinctive: line 74
Use ASCII hyphens only. Avoid U+2011 (non-breaking hyphen) and other Unicode dashes.
“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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.
- If
- 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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

