agentleFS
EmbeddedLLMEmbeddedLLM/nice-skills/skills/documents/SKILL.md

documents

Skill0 starsChanged 32 days agoMITView on GitHub

Create, inspect, edit, redline, and comment on Word DOCX files while preserving document structure and verifying rendered pages. Use when the Word artifact, formatting, revisions, or comments are part of the task.

15 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review and research.

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.
  • SentrySkill

    review

    Fixture review skill.

    Also in 5 projects that use this

  • NVIDIASkill

    research

    Before designing a feature, research how comparable libraries solve the problem, check best practices, known pitfalls, and upstream changes. Use when starting a new feature, investigating an unfamiliar area, or the user asks to research something.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 3

    Distinctive

    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
  1. Distinctive:

    Read only the relevant guide.

    line 32
  2. Distinctive:

    Write for the intended reader, with a clear purpose and supported claims.

    line 37
  3. Very specific:

    Use python-docx for supported content and targeted OOXML patches for revisions, comments, and fields.

    line 38
  4. Distinctive:

    Keep tables readable: widths fit the page, padding is consistent, rows can grow, headers repeat where needed, and captions stay with their …

    line 39

“Common” is measured: kept by at least 6 in 10 of the 13 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Word documents

Produce the requested DOCX with accurate content and readable pages. Use Python and local Office-compatible tools; Microsoft Office, Google Workspace, and paid authoring APIs are not required. Pure drafting does not require this file-format workflow.

The office workflow uses the approved Design Office Artifacts reference, adapted for this package. SOURCES.md records the selected guidance, replacement scope, and retained notices.

Prerequisites and paths

Resolve bundled paths from this directory. Work on a copy in the user's workspace. Python dependencies are pinned in requirements.txt; install only in a project-local environment. Rendering needs LibreOffice Writer (soffice) and Poppler (pdftoppm, pdfinfo) on PATH. If unavailable, perform supported structural checks and explicitly report that layout remains unverified.

Select the operation

TaskRead
Create or edit while preserving a templateCreation safeguards, create/edit
Inspect without changing the fileRead/review
Redlines and clean copiesTracked changes, revision lifecycle
Comments, replies, package validationPackage tools, comments
Tables and spreadsheet importsTables; scripts/table_geometry.py for explicit cell/grid widths
EquationsEquations
Fields, captions, navigationFields, captions, TOC
Forms, sections, templatesContent controls, sections, style packs
Privacy, redaction, accessibilityMetadata, redaction, accessibility
Comparison, assembly, troubleshootingDiffing, merging, LibreOffice

Read only the relevant guide. Specialized audits and transformations are optional operations, not automatic finalization steps.

Author and preserve

  1. Inspect the input's sections, styles, runs, tables, fields, comments, revisions, images, and links before editing. Keep the original and preserve unaffected parts.
  2. Write for the intended reader, with a clear purpose and supported claims. Use semantic title/heading styles and deliberate spacing. Match the supplied template before introducing a new design.
  3. Use python-docx for supported content and targeted OOXML patches for revisions, comments, and fields. Avoid replacing whole paragraphs when that would discard run formatting or anchors.
  4. Keep tables readable: widths fit the page, padding is consistent, rows can grow, headers repeat where needed, and captions stay with their objects. Measure images and text rather than forcing fixed heights.
  5. Preserve editable equations when requested; an equation image is a disclosed fallback, not native math. Do not accept revisions, remove comments, flatten fields, scrub metadata, or alter protection unless that operation is requested.

Verify and deliver

python render_docx.py /absolute/input.docx --output_dir /absolute/review
python scripts/a11y_audit.py /absolute/input.docx --out_json /absolute/a11y.json

Render after meaningful layout edits and inspect every final page for clipping, overlap, broken glyphs, spacing, tables, and headers/footers. Re-render changed output after fixes. Render verification explains expected artifacts; --emit_pdf retains a PDF when useful.

Rendering does not prove comments are preserved. Check their parts, anchors, relationships, and content types structurally, and verify revision counts/intent separately. Reopen the final file and confirm requested content, page count, links, and fields. Deliver the DOCX and any requested secondary outputs; keep internal QA images separate.

Example: “Revise the supplied proposal with tracked replacements and a comment on the missing deadline.” Preserve its template, mark only the requested replacement, keep the deadline unresolved, inspect revision/comment XML, and render all pages. Do not substitute a clean copy for requested redlines.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.