jwynia avatar

Docx Generator

This is a proper document automation tool with two solid workflows: swap placeholders in branded templates or build Word docs from scratch using JSON specs. The template mode is smart about preserving corporate styling while replacing {{PLACEHOLDERS}}, and the analyzer script shows you exactly what's replaceable before you start. The from-scratch mode gives you programmatic control over headings, tables, headers, footers, and text formatting without touching Word. It's designed for Deno and works exclusively with modern DOCX files. Best for contract generation, report automation, or any workflow where you're pumping data into documents repeatedly. If you need PDFs instead, you'll want a different tool.

skills.sh installs
736
GitHub stars
182
last updated
Aug 21, 2026

Install

$ npx -y skills add jwynia/agent-skills --skill docx-generator --agent claude-code

Installs into .claude/skills of the current project.

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

  1. Template Mode: Modify existing branded templates

    • Analyze template to find placeholders
    • Replace {{PLACEHOLDERS}} with actual content
  2. Scratch Mode: Create documents from nothing using JSON specifications

Instructions

Mode 1: Template-Based Generation

Sponsors

Details

Repository
github.com/jwynia/agent-skills
Categories
AI & Agent Building, Automation & Workflows, Office & Documents
First seen
May 16, 2026

More from jwynia/agent-skills

All 118
1chengzuopeng avatarstock-analystchengzuopeng/stock-sdk-mcp股票技术分析专家 - 提供专业的 K 线形态、技术指标、资金流向与北向持仓分析735skills.sh installs
2aedev-tools avatarafter-effectsaedev-tools/adobe-agent-skillsAutomate Adobe After Effects via ExtendScript. Use when the user asks to create, modify, or query anything in an After Effects project — layers, keyframes, expr731skills.sh installs
3aj-geddes avatarvisual-regression-testingaj-geddes/useful-ai-promptsDetect unintended visual changes in UI by comparing screenshots across versions. Use for visual regression, screenshot diff, Percy, Chromatic, UI testing, and v731skills.sh installs
4oimiragieo avatarfilesystemoimiragieo/agent-studioFile system operations guidance - read, write, search, and manage files using Claude Code's built-in tools.731skills.sh installs
5auth0 avatarauth0-vueauth0/agent-skillsUse when adding Auth0 login, logout, protected routes, or user sessions to a Vue 3 SPA. Integrates @auth0/auth0-vue — use even if the user says "add login to my727skills.sh installs
6bbeierle12 avatargsap-reactbbeierle12/skill-mcp-claudeGSAP integration with React including useGSAP hook, ref handling, cleanup patterns, and context management. Use when implementing GSAP animations in React compo727skills.sh installs