
Docx Generator
Programmatic Word DOCX generation from JSON specs or branded templates, with placeholder replacement and content extraction.
- skills.sh installs
- 738
- GitHub stars
- 191
- last updated
- Aug 21, 2026
What it does
- Covers two modes: template-based generation that fills
{{PLACEHOLDER}}and${var}tags, and from-scratch creation from a JSON specification - Includes 3 scripts:
analyze-template.tsfor extraction,generate-from-template.tsfor replacement, andgenerate-scratch.tsfor building documents - Preserves corporate styling in templates, including headers, footers, and tables, when populating dynamic content
- Designed for automating reports, contracts, and letters, and requires Deno with read and write permissions
Install
$ npx -y skills add jwynia/agent-skills --skill docx-generator -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
DOCX Generator
When to Use This Skill
Use this skill when:
- Creating Word documents programmatically from data or specifications
- Populating branded templates with dynamic content while preserving corporate styling
- Extracting text, tables, and structure from existing DOCX files for analysis
- Finding and replacing placeholder text like
{{TITLE}}or${author} - Automating document generation workflows (reports, contracts, letters)
Do NOT use this skill when:
- User wants to open/view documents (use native Word or viewer)
- Complex mail merge with data sources (use native Word mail merge)
- Working with older .doc format (DOCX only)
- PDF output is needed (use pdf-generator skill instead)
Prerequisites
- Deno installed (https://deno.land/)
- Input DOCX files for template-based operations
- JSON specification for scratch generation
Quick Start
Two Modes of Operation
-
Template Mode: Modify existing branded templates
- Analyze template to find placeholders
- Replace
{{PLACEHOLDERS}}with actual content
-
Scratch Mode: Create documents from nothing using JSON specifications
Instructions
Mode 1: Template-Based Generation
Details
- Repository
- github.com/jwynia/agent-skills
- Category
- Office Files & Slides
- First seen
- May 16, 2026
More from jwynia/agent-skills
All 118- Summarization725
- Dialogue709
- Story Analysis706
- Novel Revision701
- Story Idea Generator688
- Story Sense674
- Systemic Worldbuilding660
- System Design659
- Character Arc642
- Skill Builder641
- Story Collaborator631
- Typescript Best Practices629
- Interactive Fiction603
- Task Decomposition603
- Musical Dna580
- Prose Style575
- Brainstorming563
- Pptx Generator544
- Good Thinking542
- Lyric Diagnostic539
- Naming526
- Key Moments524
- Research Workflow524
- Scene Sequencing522
Similar to Docx Generator
More Office Files & Slides
pptx-generatorSkilljwynia/agent-skills544 installsGenerates and edits PowerPoint PPTX files from branded templates or JSON specifications, for automated decks.
pdf-generatorSkilljwynia/agent-skills927 installsCreate and manipulate PDFs from templates or JSON specs, covering form filling, overlays, and merging.
docx-manipulationSkillclaude-office-skills/skills6.4K installsProgrammatic Word document creation and editing with python-docx, covering paragraphs, tables, images, styles, headers, and footers.
business-document-generatorSkillailabs-393/ai-labs-claude-skills1.4K installsGenerates proposals, business plans, and budgets by filling bundled PDF templates from JSON data.
Groupdocs Assembly McpMCP servergroupdocs-assemblyGenerates Word, Excel, PowerPoint, and PDF documents from templates filled with JSON, XML, CSV, or spreadsheet data.
legal-document-drafting-alessandro-dardanoPluginlawvable/awesome-legal-skills962 starsProduces properly-formatted legal documents in Word (.docx). The user provides the substantive content (instructions, attached files, project knowledge); the sk