word-template-generator

Analyze Word templates to extract placeholders and generate validated JSON context.

9|2|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/Treasoni/kaoyan --skill word-template-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: word-template-generator
Source: https://github.com/Treasoni/kaoyan/tree/main/.claude/skills/word-template-generator
Command: npx skills add https://github.com/Treasoni/kaoyan --skill word-template-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Word document generation often requires manual template analysis and data mapping. This skill helps you analyze a Word template, identify placeholders, and prepare a structured JSON context for automated rendering.

Core Features & Use Cases

  • Analyze Word templates to identify placeholders for variables, loops, and conditions.
  • Map materials (text, Excel data, images) to placeholders to generate context for runtime rendering.
  • Provide a clear workflow from Claude-based data extraction to a runtime docx renderer.

Quick Start

Ask Claude to analyze a Word template and a materials folder, then generate a validated JSON context for runtime rendering.

Frequently Asked Questions about word-template-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Word template rendering with placeholders?

Automate Word template rendering by analyzing the docx file to extract placeholders, then mapping materials like text, Excel data, and images to generate a validated JSON context for runtime generation.

What is the workflow for generating a docx file from a template and materials folder?

The docx generation workflow involves Claude analyzing the Word template and a materials folder, identifying variables, loops, and conditions, and outputting a structured JSON context conforming to a defined schema for runtime rendering.

How do I map Excel data and images to Word template placeholders?

Map Excel data and images to Word template placeholders by having Claude analyze the template structure, extract the required variables, and prepare a structured JSON context that aligns your materials with the correct placeholders.

Does jinja2 work with Word docx templates for automated document generation?

Jinja2 works with Word docx templates by defining placeholders for variables, loops, and conditions, which this skill analyzes to produce a validated JSON context that guides the runtime docx renderer.

Can I batch render contracts and reports from Word templates?

You can batch render contracts, reports, and letters from Word templates by preparing a structured JSON context and utilizing an optional materials folder to drive consistent formatting across multiple generated documents.