docx-document-artifacts
Skill0 starsChanged 7 months agoApache-2.0View on GitHub
Use when the task is to create, edit, review, finalize, verify, or redact a DOCX. Do not use when the work is plain text drafting, PDF-only output, or generic office advice with no DOCX artifact boundary. This skill is a guardrail, not a Word-processing manual.
In this repository57 other files it gives its agents.
- ai-app-integrationSkill
- anti-llm-frontend-designSkill
- aspnet-core-web-developmentSkill
- async-python-patternsSkill
- browser-game-foundationsSkill
- browser-local-qaSkill
- build-mcp-server-sdk-v2Skill
- canva-design-opsSkill
- check-completionSkill
- cli-tool-creatorSkill
- cloudflare-agents-mcpSkill
- cloudflare-durable-objectsSkill
- cloudflare-workers-platformSkill
- deployment-preview-workflowsSkill
- durable-workflow-orchestrationSkill
- dynamic-og-imagesSkill
- eval-auditSkill
- evaluate-ragSkill
- figma-design-to-code-rulesSkill
- fine-tuningSkill
- frontend-product-builderSkill
- game-asset-pipeline-expansionSkill
- game-ui-playtestSkill
- generate-synthetic-dataSkill
- github-pr-ci-opsSkill
- gmail-inbox-opsSkill
- golden-datasetSkill
- huggingface-llm-trainerSkill
- javascript-monorepo-buildsSkill
- linear-issue-managementSkill
- media-generation-transcriptionSkill
- millrace-rs-contract-paritySkill
- minecraft-mod-qa-automationSkill
- notion-workspace-flowsSkill
- openai-docsSkill
- optimize-agentic-cliSkill
- pdf-artifact-workflowSkill
- phaser-2d-game-developmentSkill
- postgres-query-performanceSkill
- product-ui-polish-reviewSkill
- pydantic-v2-patternsSkill
- python-repo-refactoring-hygieneSkill
- rag-corpus-hygieneSkill
- react-next-performance-reviewSkill
- rust-best-practicesSkill
- shadcn-ui-compositionSkill
- skill-evaluation-harnessSkill
- tauri-desktopSkill
- tauri-mcp-cliSkill
- tauri-ptySkill
- tile-pixel-art-transitionsSkill
- train-sentence-transformersSkill
- typer-cli-patternsSkill
- using-dbt-for-analytics-engineeringSkill
- validate-evaluatorSkill
- visual-asset-pipelineSkill
- watchdog-file-watcher-patternsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 15 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 4
Use this skill for .docx artifact work where visual layout, review markup, final cleanup, accessibility, redaction, or OOXML repair matters.
- Distinctive: line 6
Use when the task is to create, edit, review, finalize, verify, or redact a DOCX.
- Distinctive: line 7
Do not use when the work is plain text drafting, PDF-only output, or generic office advice with no DOCX artifact boundary.
- Distinctive: line 19
Do not claim visual correctness from XML inspection, text extraction, or a successful save alone.
- Distinctive: line 20
Do not trust headless PDF export to prove comments are correct.
- Distinctive: line 21
Do not collapse review mode and final delivery mode into one indistinct cleanup pass.
- Distinctive: line 22
Do not use OOXML patching as the default path when the normal editor or helper script can make the change safely.
- Distinctive: line 23
Do not broaden the task into a generic document-authoring handbook.
- Distinctive: line 24
Do not skip re-rendering after comments, tracked changes, redaction, accessibility fixes, or targeted OOXML edits.
- Distinctive: line 50
Do not trust XML, text extraction, or a save operation as proof that the document looks right.
- Distinctive: line 51
Do not assume comments will appear in headless renders.
- Distinctive: line 52
Do not mix review markup cleanup with final delivery unless the request explicitly asks for finalization.
- Distinctive: line 53
Do not use OOXML patching to replace the normal edit path when the surface editor can do the job.
- Distinctive: line 54
Do not turn this skill into a broad office handbook.
- Distinctive: line 57
Start with the smallest DOCX workflow that can satisfy the request honestly.
- Distinctive: line 59
Keep the top-level skill short and let the references carry the stable implementation detail.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
DOCX Document Artifacts
Purpose
Use this skill for .docx artifact work where visual layout, review markup, final cleanup, accessibility, redaction, or OOXML repair matters.
Use when the task is to create, edit, review, finalize, verify, or redact a DOCX. Do not use when the work is plain text drafting, PDF-only output, or generic office advice with no DOCX artifact boundary.
This skill is a guardrail, not a Word-processing manual.
Quick Start
- Classify the task as
create,edit,review,finalize,verify, orredact. - Decide whether the document is in review mode or final delivery mode.
- Choose the smallest honest seam: surface editing first, OOXML patching only if the surface tool cannot do the job cleanly.
- Render every changed DOCX to PNGs, inspect every page at 100% zoom, and re-render after each layout-sensitive change.
- End with the next verifier and the evidence artifact it should capture.
Operating Constraints
- Do not claim visual correctness from XML inspection, text extraction, or a successful save alone.
- Do not trust headless PDF export to prove comments are correct; comments need structural checks too.
- Do not collapse review mode and final delivery mode into one indistinct cleanup pass.
- Do not use OOXML patching as the default path when the normal editor or helper script can make the change safely.
- Do not broaden the task into a generic document-authoring handbook.
- Do not skip re-rendering after comments, tracked changes, redaction, accessibility fixes, or targeted OOXML edits.
Inputs This Skill Expects
- A DOCX file or working copy to create, edit, review, or verify.
- The desired mode: review, final cleanup, accessibility check, redaction, or targeted OOXML repair.
- The requested proof surface: render PNGs, comment structure, tracked-change cleanup, or audit output.
- Any scope constraints for what must stay visible, what must be removed, and what must remain unchanged.
Output Contract
- A DOCX in the requested mode.
- The latest render PNGs used to verify layout before delivery.
- Comment or tracked-change structural evidence when review markup is involved.
- Accessibility or redaction evidence when those checks are part of the request.
- The next verifier to run and the artifact it should capture.
Procedure
- Classify the request as create, edit, review, finalize, verify, or redact.
- Decide whether the working copy should keep comments/tracked changes or be cleaned for final delivery.
- Make the smallest local change that honestly satisfies the request.
- For comments or tracked changes, route through
references/review-lifecycle.md. - For accessibility or redaction, route through
references/accessibility-and-redaction.md. - For targeted OOXML fixes, route through
references/ooxml-patching.md. - Render with
scripts/render_docx.py, inspect every page, and iterate until the latest render is clean. - Deliver only the requested final artifact, not the internal QA intermediates.
Pitfalls And Gotchas
- Do not trust XML, text extraction, or a save operation as proof that the document looks right.
- Do not assume comments will appear in headless renders.
- Do not mix review markup cleanup with final delivery unless the request explicitly asks for finalization.
- Do not use OOXML patching to replace the normal edit path when the surface editor can do the job.
- Do not turn this skill into a broad office handbook.
Progressive Disclosure
Start with the smallest DOCX workflow that can satisfy the request honestly. Pull in review, accessibility/redaction, or OOXML references only when that boundary is present. Keep the top-level skill short and let the references carry the stable implementation detail.
Verification Pattern
- Next verifier:
scripts/render_docx.py. - Evidence artifact: the latest
page-*.pngset, plus the relevant comment, accessibility, or redaction report when those modes are active.
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.

