word_generate_sow
Fill placeholders and tables in a SOW template using structured data to generate a draft statement of work.
Instructions
Generate a SOW document from a template and structured data.
IMPORTANT: This tool REQUIRES a template document. It fills placeholders and tables but does NOT generate prose sections (Introduction, Executive Summary, etc.). After using this tool, use patch_section to add narrative content to key sections.
Template-based workflow:
Use copy_template to copy .github/skills/statement-of-work/templates/Agile.docx
Use generate_sow to fill placeholders and tables
Use patch_section to add Introduction, Business Context, etc.
Use audit_completion to verify completeness
Use cleanup_sow to remove template artifacts
Takes a SOW template and fills it with actual engagement data, stripping instructional boilerplate and replacing placeholders.
Example: generate_sow( template_path=".github/skills/statement-of-work/templates/Agile.docx", output_path="04. Artifacts/contoso-sow.docx", sow_data={ "customer_name": "Contoso", "customer_short_name": "Contoso", "project_name": "Cloud Migration", "provider_name": "Microsoft", "work_order_number": "WO-2026-001", "language": "English", "business_objectives": [ {"objective": "Migrate 15 apps to Azure", "activities": "Assessment, migration planning", "assumptions": "Apps are containerizable"} ], "epics": [ {"name": "Infrastructure Setup", "description": "Set up Azure landing zone", "assumptions": "Subscription available"} ], "out_of_scope": [ {"area": "Data migration", "description": "Historical data migration not included"} ], "technology_requirements": [ {"item": "Azure subscription", "version": "N/A", "ready_by": "Project start"} ], "assumptions": [ "Customer will provide access to existing systems", "Dedicated product owner available full-time" ] } )
Args: template_path: Path to the .docx template (REQUIRED - use copy_template first) output_path: Path for the output .docx file sow_data: Dictionary containing SOW content
Returns: Status dictionary with file path and next_tools suggestions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_path | Yes | Path to the .docx template (REQUIRED - use copy_template first) | |
| output_path | Yes | Path for the output .docx file | |
| sow_data | Yes | Dictionary containing SOW content | |
| mode | No |