Template Engine
Auto-fill document templates with data - mail merge for any format
Install
npx skills add claude-office-skills/skills --skill template-enginegit clone --depth 1 https://github.com/claude-office-skills/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/template-engine ~/.claude/skills/template-enginePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Template Engine Skill
## Overview
This skill enables template-based document generation - define templates with placeholders, then automatically fill them with data. Works with Word, Excel, PowerPoint, and more.
## How to Use
1. Describe what you want to accomplish
2. Provide any required input data or files
3. I'll execute the appropriate operations
**Example prompts:**
- "Mail merge for bulk letters/contracts"
- "Generate personalized reports from data"
- "Create certificates from templates"
- "Auto-fill forms with user data"
## Domain Knowledge
### Template Syntax (Jinja2-based)
```
{{ variable }} - Simple substitution
{% for item in list %} - Loop
{% if condition %} - Conditional
{{ date | format_date }} - Filter
```
### Word Template Example
```python
from docxtpl import DocxTemplate
# Create template with placeholders:
# Dear {{ name }},
# Thank you for your order #{{ order_id }}...
def fill_template(template_path: str, data: dict, output_path: str):
doc = DocxTemplate(template_path)
doc.render(data)
doc.save(output_path)
return output_path
# Usage
fill_template(
"templates/order_confirmation.docx",
{
"name": "John Smith",
"order_id": "ORD-12345",
"items": [
{"name": "Product A", "qty": 2, "price": 29.99},
{"name": "Product B", "qty": 1, "price": 49.99}
],
"total": 109.97
},
"output/confirmation_john.docx"
)
```
### Excel TemplateDetails
- Skill name
template-engine- Repository
- claude-office-skills/skills
- Path
template-engine/SKILL.md- License
- MIT
- Repo updated
- 31 January 2026
FAQ
What does the Template Engine skill do?
Auto-fill document templates with data - mail merge for any format
How do I install the Template Engine skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add claude-office-skills/skills --skill template-engine. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Template Engine popular?
It lives in claude-office-skills/skills, which has 581 GitHub stars and 105 forks.
Related skills
Academic Search
581claude-office-skills/skills
Search and analyze academic literature. Find papers, understand research methodologies, and synthesize academic findings for research projects.
Ads Copywriter
581claude-office-skills/skills
Multi-platform ad copy generation for Google Ads, Meta/Facebook, TikTok, LinkedIn with A/B testing variants
AI Agent Builder
581claude-office-skills/skills
Build AI agents with tools, memory, and multi-step reasoning - ChatGPT, Claude, Gemini integration patterns
Text Splitter
514VanGong1999/screen-creative-skills
Split text into specified-sized chunks while maintaining semantic integrity. Suitable for long text batch processing, dividing text into processable segments
Subscription Management
581claude-office-skills/skills
SaaS subscription lifecycle management - billing, upgrades, downgrades, churn prevention, and revenue optimization
Web Search
581claude-office-skills/skills
Formulate effective web search queries, analyze search results, and synthesize findings. Optimize search strategies for different types of information needs.
Browse the most popular Claude skills, all other skills, or write your own with the skills generator.