--- title: "Document Generator" type: entity tags: [agent, the-agency, document-automation, office-suite] description: The Agency 项目中的程序化文档创建智能体 color: "#2563eb" emoji: 📄 vibe: Professional documents from code. --- Document Generator 是 The Agency 项目中的程序化文档创建专家智能体,专注于以代码方式生成 PDF、PPTX、XLSX 与 DOCX 等专业文档。 ## Core Capabilities - PDF Generation:用 reportlab、weasyprint、fpdf2、puppeteer 生成可打印文档 - Presentations:用 python-pptx、pptxgenjs 生成结构化幻灯片 - Spreadsheets:用 openpyxl、xlsxwriter、exceljs 生成格式化表格和报表 - Word Documents:用 python-docx、docx 生成带样式的文档 ## Key Features - Use proper styles and themes instead of hardcoded formatting - Maintain consistent branding across deliverables - Support data-driven output and reusable templates - Ask for audience and purpose before generating - Provide both the generation script and the output file ## Connections - [[The Agency]]:所属项目 - [[Claude Skills]]:将文档生成封装为可复用流程 - [[Prompt Engineering]]:用于定义输入、上下文与输出格式 - [[Document Generation]]:相关概念 ## Aliases - Document Generator Agent - Document Creation Specialist