This skill enables creation, editing, and analysis of .docx files for reports, contracts, proposals, documentation, and template-driven outputs.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versiondocument-docxExecute the skills CLI command in your project's root directory to begin installation:
Fetches document-docx from vasilyu1983/ai-agents-public and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate document-docx. Access via /document-docx in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
53
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
53
stars
This skill enables creation, editing, and analysis of .docx files for reports, contracts, proposals, documentation, and template-driven outputs.
Modern best practices (2026):
.docx as the editable source; treat PDF as a release artifact.| Task | Tool/Library | Language | When to Use |
|---|---|---|---|
| Create DOCX | python-docx | Python | Reports, contracts, proposals |
| Create DOCX | docx | Node.js | Server-side document generation |
| Convert to HTML | mammoth.js | Node.js | Web display, content extraction |
| Parse DOCX | python-docx | Python | Extract text, tables, metadata |
| Template fill | docxtpl | Python | Mail merge, template-based generation |
| Review workflow | Word compare, comments/highlights | Any | Human review without OOXML surgery |
| Tracked changes | OOXML inspection, docx4j/OpenXML SDK/Aspose | Any | True redlines or parsing tracked changes |
docxtpl when non-developers must edit layout/design in Word.python-docx for structural edits (paragraphs/tables/headers/footers) when formatting complexity is moderate.docx (Node.js) for server-side generation in TypeScript-heavy stacks.mammoth for text-first extraction or DOCX-to-HTML (best effort; may drop some layout fidelity)..doc (legacy) is not supported by these libraries; convert to .docx first (e.g., LibreOffice).python-docx cannot reliably create true tracked changes; use Word compare or specialized OOXML tooling.from docx import Document
from docx.shared import Inches, Pt
from docx.enum.text import WD_ALIGN_PARAGRAPH
doc = Document()
# Title
title = doc.add_heading('Document Title', 0)
title.alignment = WD_ALIGN_PARAGRAPH.CENTER
# Paragraph with formatting
para = doc.add_paragraph()
run = para.add_run('Bold and ')
run.bold = True
run = para.add_run('italic text.')
run.italic = True
# Table
table = doc.add_table(rows=3, cols=3)
table.style = 'Table Grid'
for i, row in enumerate(table.rows):
for j, cell in enumerate(row.cells):
cell.text = f'Row {i+1}, Col {j+1}'
# Image
doc.add_picture('image.png', width=Inches(4))
# Save
doc.save('output.docx')
import { Document, Packer, Paragraph, TextRun, Table, TableRow, TableCell } from 'docx';
import * as fs from 'fs';
const doc = new Document({
sections: [{
properties: {},
children: [
new Paragraph({
children: [
new TextRun({ text: 'Bold text', bold: true }),
new TextRun({ text: ' and normal text.' }),
],
}),
new Table({
rows: [
new TableRow({
children: [
new TableCell({ children: [new Paragraph('Cell 1')] }),
new TableCell({ children: [new Paragraph('Cell 2')] }),
],
}),
],
}),
],
}],
});
Packer.toBuffer(doc).then((buffer) => {
fs.writeFileSync('output.docx', buffer);
});
from docxtpl import DocxTemplate
doc = DocxTemplate('template.docx')
context = {
'company_name': 'Acme Corp',
'date': '2025-01-15',
'items': [
{'name': 'Widget A', 'price': 100},
{'name': 'Widget B', 'price': 200},
]
}
doc.render(context)
doc.save('filled_template.docx')
from docx import Document
doc = Document('input.docx')
# Extract all text
full_text = []
for para in doc.paragraphs:
full_text.append(para.text)
# Extract tables
for table in doc.tables:
for row in table.rows:
row_data = [cell.text for cell in row.cells]
print(row_data)
| Element | Python Method | Node.js Class |
|---|---|---|
| Heading 1 | add_heading(text, 1) |
HeadingLevel.HEADING_1 |
| Bold | run.bold = True |
TextRun({ bold: true }) |
| Italic | run.italic = True |
TextRun({ italics: true }) |
| Font size | run.font.size = Pt(12) |
TextRun({ size: 24 }) (half-points) |
| Alignment | WD_ALIGN_PARAGRAPH.CENTER |
AlignmentType.CENTER |
| Page break | doc.add_page_break() |
new PageBreak() |
assets/doc-template-pack.md for decision logs and recurring doc types.Use only when explicitly requested and policy-compliant.
Resources
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
kagurananaga/official-document-writing-skill
travisjneuman/.claude
ityes22/game-design-document
sammcj/agentic-coding
yejinlei/pdf-ocr-skill
yejinlei/pdf-ocr-skill
We added document-docx from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
document-docx fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
document-docx is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
Keeps context tight: document-docx is the kind of skill you can hand to a new teammate without a long onboarding doc.
Useful defaults in document-docx — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
I recommend document-docx for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Registry listing for document-docx matched our evaluation — installs cleanly and behaves as described in the markdown.
Registry listing for document-docx matched our evaluation — installs cleanly and behaves as described in the markdown.
Keeps context tight: document-docx is the kind of skill you can hand to a new teammate without a long onboarding doc.
I recommend document-docx for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
showing 1-10 of 28