Document Generator

Generate PDF, PPTX, DOCX, and XLSX documents programmatically with code-based libraries.

2|Updated May 21, 2026
One-click install
npx skills add https://github.com/tcvdog/agency-agents-hermes --skill document-generator-tcvdog
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: Document Generator
Source: https://github.com/tcvdog/agency-agents-hermes/tree/main/specialized/document-generator
Command: npx skills add https://github.com/tcvdog/agency-agents-hermes --skill document-generator-tcvdog

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Creating professional documents like reports, slide decks, and spreadsheets by hand is slow and inconsistent. This Skill generates polished PDF, PPTX, DOCX, and XLSX files programmatically, ensuring consistent branding, styles, and data-driven content every time. ## Core Features & Use Cases - Multi-Format Generation: Create PDFs (reportlab, weasyprint, puppeteer), presentations (python-pptx, pptxgenjs), spreadsheets (openpyxl, xlsxwriter, exceljs), and Word documents (python-docx, docx) in Python or Node.js. - Template-Based Approach: Build reusable template functions with proper document styles, themes, and consistent branding instead of one-off scripts. - Data-Driven Output: Accept structured data as input and produce formatted documents with charts, formulas, and pivot-ready layouts. - Use Case: Imagine you need a quarterly investor deck. Provide your metrics data, and the Skill generates a branded PPTX with data-driven slides, consistent fonts, and charts. ## Quick Start Generate a branded PowerPoint presentation from my quarterly sales data with charts and consistent styling.

Frequently Asked Questions about Document Generator

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

FAQPage Schema
How do I generate a PDF document in Python?▼

Use reportlab or fpdf2 for direct PDF generation of data reports, or weasyprint to convert HTML and CSS into PDF for complex layouts. In Node.js, puppeteer renders HTML to PDF, while pdf-lib and pdfkit handle direct generation.

What library should I use to create PowerPoint files programmatically?▼

Use python-pptx in Python or pptxgenjs in Node.js to create PPTX files. Both support template-based generation with consistent branding and data-driven slides populated from structured input.

python-pptx vs pptxgenjs, which one for presentations?▼

python-pptx is the standard choice for Python workflows, while pptxgenjs serves Node.js environments. Both enable template-based slide generation with consistent branding, so choose based on your existing language stack.

Can openpyxl add charts and formulas to Excel files?▼

Yes, openpyxl and xlsxwriter in Python support formatting, formulas, charts, and pivot-ready layouts in XLSX files. In Node.js, exceljs and xlsx provide equivalent spreadsheet generation capabilities.

Why should I avoid hardcoding fonts in generated documents?▼

Hardcoded fonts and sizes break consistency and make documents hard to maintain. Use document styles and themes instead so branding colors, fonts, and logos stay uniform and templates remain reusable across outputs.

How do I make generated PDFs accessible?▼

Add alt text to images, maintain proper heading hierarchy, and produce tagged PDFs when possible. These practices ensure generated documents work with screen readers and meet accessibility expectations.