microsoft word

Other Community

Skill notes

Step 2: Template-Based Generation with docxtpl

Create a Word template (template.docx) with Jinja2 tags: Mail Merge (Batch Documents)

Example 1: Generate a quarterly business report as a Word document

User prompt: "Create a Q4 2025 quarterly report for Athena SaaS. Revenue was $3.8M (up 18% YoY), 2,400 active customers, churn dropped to 1.9%.

Example 2: Generate personalized offer letters from a CSV using mail merge

User prompt: "I have an offer letter template at ./templates/offer-letter.docx and a CSV at ./data/new-hires.csv with columns name, position, salary, start_date, and manager. Generate individual offer letters for each person." The agent will write a Python script using docxtpl that loads the template and reads the CSV with csv.DictReader.

Guidelines

Use templates (docxtpl) for repetitive documents — don't generate structure in code every time Set explicit font sizes and styles — don't rely on Normal style defaults Always specify measurements (Pt, Cm, Inches) — never use bare numbers Table styles: use built-in Word styles (Light Grid Accent 1, etc.) for consistent look For mail merge, load template once per batch, render per record

Fluxly profile Runtime and permissions are inferred by Fluxly static checks, not author declarations or runtime test results.
Domain
Other
Author-declared agents
No explicit declaration found; this is not inferred or tested compatibility
Static check
88 / 100 · heuristic scan, not runtime safety proof
Runtime evidence
Not run; no isolated runtime test evidence is currently recorded
Author / version / license
@TerminalSkills · no license declared
Token usage
Lean
Setup complexity
Guided setup
External API key
Not required
Operating systems
Unspecified (assume cross-platform)
Runtime requirements
Python
Detected file/system behavior
  • Read-only
  • Write / modify
  • Shell exec
Network behavior
Local-only
Install commands
None (reference only)

Heads up: Tool permissions are not declared; actual access depends on the runtime.

01
Step 1: Generate Documents with python-docx

Step 1: Generate Documents with python-docx

02
Step 2: Template-Based Generation with docxtpl

Create a Word template (`template.docx`) with Jinja2 tags: Mail Merge (Batch Documents)

03
Step 3: Read and Extract from Word

Step 3: Read and Extract from Word

04
Step 4: Graph API (Cloud Documents)

Step 4: Graph API (Cloud Documents)

Discussion

Powered by GitHub Discussions. Sign in with GitHub to comment, react, or subscribe.