document-generator

Generate Thai .docx business documents from structured JSON data.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/ThanabordeeN/gemini-productivity-skills --skill document-generator-thanabordeen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: document-generator
Source: https://github.com/ThanabordeeN/gemini-productivity-skills/tree/main/document-generator
Command: npx skills add https://github.com/ThanabordeeN/gemini-productivity-skills --skill document-generator-thanabordeen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

Automates the creation of professional Thai business documents (.docx) by transforming structured data into well-formatted outputs, reducing manual drafting time.

Core Features & Use Cases

  • Generates Quotations, Invoices, Billing Notes, Receipts, and Purchase Orders in Thai using TH Sarabun New.
  • Reads inputs from a JSON template (assets/document-template.json) and outputs a polished .docx document.
  • Ensures consistent styling, automatic totals, and currency formatting for Thai business workflows.

Quick Start

Create a JSON data file and run the generator to produce the final .docx document.

Frequently Asked Questions about document-generator

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

FAQPage Schema
How do I auto-generate Thai business documents like invoices and quotations from JSON data?

The docx generator reads structured JSON data from a template file and outputs a formatted .docx document. It applies consistent formatting using TH Sarabun New font standard in Thai business workflows.

Can I generate Thai billing notes and purchase orders in .docx format?

You can generate Quotations, Invoices, Billing Notes, Receipts, and Purchase Orders in Thai using TH Sarabun New. It reads JSON input and outputs a polished .docx document with consistent styling.

How do I format Thai currency and totals automatically when generating invoices?

The generator ensures consistent styling, automatic totals, and currency formatting for Thai business workflows. It reads inputs from a JSON template and outputs a polished .docx document.

Does the document-generator script require a specific JSON template structure?

Yes, it reads input from assets/document-template.json and produces a formatted document via scripts/create-document.js. You need to create a JSON data file and run the generator to produce the final .docx document.

What is the best way to automate repetitive creation of Thai receipts and quotations?

Automating the creation of professional Thai business documents (.docx) transforms structured data into well-formatted outputs, reducing manual drafting time. It ensures consistent styling, automatic totals, and currency formatting for Thai business workflows.

Are there limitations when using the docx library for Thai business document generation?

The generator is limited to producing .docx files using TH Sarabun New font for Quotations, Invoices, Billing Notes, Receipts, and Purchase Orders. It requires structured JSON input from a specific template file to function correctly.