# Create and Edit Word Documents

Reliable Word files require careful handling of formatting, OOXML, and tracked changes. This skill provides workflows for creation, editing, validation, and visual review.

## Install

```bash
npx skillstore add sickn33/docx-official
```

## Metadata

- Status: approved
- Slug: sickn33-docx-official
- Skillstore revision: r2
- Version status: missing
- Tree hash: 5cdd218aa6787e5330db15f4a71836f9284d7af5763b8babd451733a30b9c37a
- Author: sickn33
- GitHub username: sickn33
- License: MIT
- Repository: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/docx-official
- Ref: 7fe1890a6474a81fcd867f29f7b8e18ecbd1dfe0
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: confirmation\_required
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: network, filesystem, external\_commands
- Quality score: 75
- Public page: https://skillstore.pages.dev/skills/sickn33-docx-official
- Manifest: https://skillstore.pages.dev/api/skills/sickn33-docx-official/manifest

## Capabilities

- Extracts DOCX content to Markdown with tracked changes through Pandoc.
- Creates formatted Word documents through docx-js examples and workflow guidance.
- Unpacks and repacks OOXML files with workspace path and archive safety checks.
- Adds tracked edits, comments, images, links, lists, and tables with supplied Python helpers.
- Validates XML structure, relationships, schema compliance, and redlining consistency.
- Converts DOCX pages to images through LibreOffice and Poppler workflows.

## Use Cases

- Prepare business documents: Create polished proposals, reports, and briefs with headings, tables, images, links, and page structure.
- Review tracked revisions: Apply precise insertions, deletions, and comments while preserving existing revisions for transparent review.
- Automate document production: Build repeatable DOCX generation and OOXML editing workflows with validation before delivery.

## Prompt Templates

### Create a simple document

```
Create a DOCX from this text: [content]. Use a title, clear headings, readable body text, and page numbers.
```

### Format a business report

```
Create a professional DOCX report from [source]. Include an executive summary, consistent headings, tables where useful, and a final recommendations section.
```

### Edit with tracked changes

```
Revise [document path] for clarity and consistency. Preserve existing formatting and record every substantive edit as a tracked change.
```

### Perform advanced OOXML revision

```
Update [document path] with [changes]. Preserve comments and prior revisions, validate OOXML relationships, repack the file, and visually inspect every page.
```

## Limitations

- Requires external tools such as Pandoc, docx-js, LibreOffice, Poppler, and Python XML packages.
- Document rendering can vary between Microsoft Word, LibreOffice, and other viewers.
- Complex legal or regulated documents still require expert review and final visual inspection.
- Some validation helpers can consume excessive resources when processing specially crafted DOCX archives.

## Best Practices

- Keep original documents unchanged and write revisions to a separate output file.
- Use tracked changes for legal, academic, business, and government document revisions.
- Validate structure and inspect rendered pages before delivering the final DOCX.

## Anti Patterns

- Do not replace complete paragraphs when only a few words changed.
- Do not use Markdown line numbers as OOXML element locations.
- Do not install system dependencies with elevated privileges without explicit user approval.

## Security Audit

- Audited at: 2026-08-18T01:19:53.696\+00:00
- Summary: Most alerts are false positives from OOXML namespaces, Markdown formatting, schema imports, and expected local file operations. Six findings remain confirmed: three privileged installation instructions and three unbounded archive extraction paths. No prompt injection, exfiltration, or unauthorized network behavior was found. Static review was capped at 400/452 representative findings; omitted static matches are unconfirmed, so automatic publishing stays disabled until manual review.

## Stats

- Views: 573
- Downloads: 50
- Favorites: 0
- Popularity score: 0
