Individual skill
evo-docx-template-filler
A utility module for filling Word document templates (.docx) with data from JSON files. Handles split-run-aware text replacement to preserve formatting, traverses all document containers (body, tables, nested tables, headers, footers, text boxes), and processes conditional IF/END_IF blocks by keeping or removing content based on data values.
tasks-evolved/offer-letter-generator/environment/skills/evo-docx-template-filler/SKILL.md
Source commit 84ca182da055fafb6453dcec4a6defdbbfd987c1
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Local scripts
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 97
- Repository last updated
- Sep 10, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- ai-agents Repository topic
- llm-agents Repository topic
- open-world Repository topic
- self-evolving-agents Repository topic
- writing Derived category
- data Derived category
- devops Derived category
- devops-containers Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 2,851 bytesSKILL.mdcore · 2,851 bytesscripts/utils.pyruns · 9,654 bytes
Read excerpt
# evo-docx-template-filler
Fill Word (.docx) templates with data from JSON, preserving formatting and handling conditionals.
## Key Capabilities
1. **Split-run-aware replacement**: Handles OOXML split runs where placeholders like `{{NAME}}` are fragmented across multiple XML runs
2. **Comprehensive container traversal**: Body paragraphs, tables (nested), headers (default/first/even), footers, text boxes
3. **Conditional blocks**: `{{IF_KEY}}...{{END_IF_KEY}}` - keeps content when condition is true (removes markers), removes entire block when false
4. **Format preservation**: Replaces text at run level, never overwrites paragraph.text
5. **Safe deletion**: Prevents OOXML corruption by not removing the last paragraph in table cells
## Usage