template-engine_skill

This skill automates template-based document generation by filling placeholders in Word, Excel, and more with your data.
  • Python

2.5k

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill template-engine

  • _meta.json290 B
  • SKILL.md4.0 KB

Overview

This skill automates filling document templates with structured data, effectively providing a mail-merge engine for any file format. It supports Word, Excel, PowerPoint and plain formats using Jinja2-style placeholders and simple Python helpers. Use it to generate personalized letters, reports, certificates, invoices, and bulk document batches.

How this skill works

Define templates containing Jinja2-style placeholders (e.g., {{ name }}, {% if %}, {% for %}). Provide a data mapping or CSV and the skill renders each template with the supplied values, saving output files per record. Backends include docxtpl for Word, openpyxl for Excel, python-pptx for slides, and simple string replacement for plain text or CSV-driven mail merges. Bulk operations iterate over CSV rows to produce one output per row.

When to use it

  • Generate personalized letters, contracts, or certificates at scale
  • Create recurring reports or dashboards populated from data exports
  • Produce invoices or packing slips from order data
  • Auto-fill forms and application templates with user-provided fields
  • Batch-generate marketing or onboarding materials for mailing

Best practices

  • Use clear, consistent placeholder names (e.g., {{ client_name }})
  • Validate and normalize data before rendering to avoid broken outputs
  • Provide default values or conditional blocks to handle missing fields gracefully
  • Keep templates under version control and document expected data keys
  • Test with small sample datasets before running full bulk jobs

Example use cases

  • Mail merge welcome letters from a contacts CSV into individual DOCX files
  • Generate monthly performance reports by rendering Excel templates with metrics
  • Create course completion certificates from a list of participant names and achievement data
  • Produce customized PowerPoint decks for client pitches using a single template
  • Auto-fill regulatory or legal forms from structured application data

FAQ

Templates use Jinja2-style syntax: {{ variable }} for substitutions, {% for %} for loops and {% if %} for conditionals.

How do I handle missing fields in my data?

Include conditional blocks or provide default values in the data mapping; validate inputs beforehand and log or skip records with critical missing values.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational