← ClaudeAtlas

docx-template-fillinglisted

Fill DOCX template forms preserving 100% original structure - logos, footers, styles, metadata. Zero-artifact insertion. Output indistinguishable from manual entry.
belumume/claude-skills · ★ 47 · Data & Documents · score 71
Install: claude install-skill belumume/claude-skills
# DOCX Template Filling - Forensic Preservation Fill template forms programmatically with **zero detectable artifacts**. The filled document must be indistinguishable from manual typing in the original template. ## When to Use This Skill Invoke when: - Filling standardized forms and templates - Completing application forms - Responding to questionnaires and surveys - Processing template-based documents - Any scenario where the recipient must not detect programmatic manipulation **Critical requirement**: Template integrity must be 100% preserved (logos, footers, headers, styles, metadata, element structure). ## Core Philosophy: Preservation Over Recreation **WRONG approach**: Extract content from template, generate new document - Loses metadata - Changes element IDs - Alters styles subtly - Creates detectable artifacts **RIGHT approach**: Load template, insert content at anchor points using XML API - Preserves all original elements - Maintains metadata - Zero structural changes - Indistinguishable from manual entry ## Critical Anti-Patterns ### ❌ NEVER: Use pandoc with --reference-doc ```bash # This SEEMS correct but ONLY copies styles, NOT structure pandoc content.md -o output.docx --reference-doc=template.docx ``` **What happens**: - Template's tables disappear - Logos, headers, footers lost - Only style definitions copied - **Looks completely different** **Why it fails**: `--reference-doc` means "copy the style definitions," NOT "preserve the document structure"