Documents by danielmiessler/personal_ai_infrastructure
npx skills add https://github.com/danielmiessler/personal_ai_infrastructure --skill Documents执行前,请检查用户自定义设置于: ~/.claude/PAI/USER/SKILLCUSTOMIZATIONS/Documents/
如果此目录存在,则加载并应用其中找到的任何 PREFERENCES.md、配置或资源。这些设置将覆盖默认行为。如果目录不存在,则使用技能默认设置。
当此技能被调用时,在执行任何其他操作之前**,您必须发送此通知。**
发送语音通知:
curl -s -X POST http://localhost:8888/notify
-H "Content-Type: application/json"
-d '{"message": "Running the WORKFLOWNAME workflow in the Documents skill to ACTION"}' \
/dev/null 2>&1 &
输出文本通知:
正在 Documents 技能中运行 WorkflowName 工作流以执行 ACTION...
这是强制性的。技能调用后立即执行此 curl 命令。
在使用此技能开始任何任务之前,请加载完整的 PAI 上下文:
read ~/.claude/PAI/SKILL.md
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 请求模式 | 路由至 |
|---|---|
| 咨询报告、麦肯锡报告、评估报告、专业 PDF | Workflows/ConsultingReport.md |
| 大型 PDF、处理大 PDF、Gemini PDF | Workflows/ProcessLargePdfGemini3.md |
| Word 文档、DOCX、创建 docx、编辑 docx、跟踪修订、红线修订 | Docx/SKILL.md |
| PDF、创建 PDF、合并 PDF、拆分 PDF、从 PDF 提取文本、填写表单 | Pdf/SKILL.md |
| 演示文稿、PPTX、幻灯片、PowerPoint、演讲者备注 | Pptx/SKILL.md |
| 电子表格、XLSX、Excel、公式、财务模型、数据分析 | Xlsx/SKILL.md |
此技能组织跨 4 种文档类型以及专门工作流的文档处理:
参考文档:
Workflows/ConsultingReport.md - 完整的咨询报告生成工作流路由逻辑:
流程: 报告构件 → 结构化 HTML → Playwright PDF
关键能力:
参考实现: Quorum Cyber 评估位于 /path/to/reference/generate-pdf.mjs
参考文档:
docx/SKILL.md - 完整的 DOCX 处理指南docx/docx-js.md - 使用 JavaScript 创建新文档docx/ooxml.md - 使用 OOXML 编辑现有文档路由逻辑:
支持资源:
~/.claude/skills/Utilities/Documents/Docx/Scripts/~/.claude/skills/Utilities/Documents/Docx/ooxml/~/.claude/skills/Utilities/Documents/Docx/LICENSE.txt关键能力:
参考文档:
pdf/SKILL.md - 完整的 PDF 处理指南pdf/forms.md - 填写 PDF 表单pdf/reference.md - 高级功能和故障排除路由逻辑:
支持资源:
~/.claude/skills/Utilities/Documents/Pdf/Scripts/~/.claude/skills/Utilities/Documents/Pdf/LICENSE.txt关键能力:
参考文档:
pptx/SKILL.md - 完整的 PPTX 处理指南pptx/html2pptx.md - 从 HTML 创建演示文稿pptx/ooxml.md - 编辑现有演示文稿路由逻辑:
支持资源:
~/.claude/skills/Utilities/Documents/Pptx/Scripts/~/.claude/skills/Utilities/Documents/Pptx/ooxml/~/.claude/skills/Utilities/Documents/Pptx/LICENSE.txt关键能力:
参考文档:
xlsx/SKILL.md - 完整的 XLSX 处理指南xlsx/recalc.py - 公式重新计算脚本路由逻辑:
支持资源:
~/.claude/skills/Utilities/Documents/Xlsx/recalc.py~/.claude/skills/Utilities/Documents/Xlsx/LICENSE.txt关键能力:
示例 1:创建带有跟踪修订的建议书
用户:"创建一份带有红线修订的咨询建议书文档"
→ 路由到 DOCX 工作流
→ 使用 docx-js 创建文档
→ 为审阅工作流启用跟踪修订
→ 输出带有修订标记的专业 .docx 文件
示例 2:以编程方式填写 PDF 表单
用户:"用我的信息填写这份 NDA PDF"
→ 路由到 PDF 工作流
→ 从 PDF 读取表单字段
→ 使用 pdf-lib 以编程方式填写字段
→ 输出已完成的、扁平化的 PDF
示例 3:构建财务模型电子表格
用户:"创建一个收入预测电子表格"
→ 路由到 XLSX 工作流
→ 使用 openpyxl 创建工作簿
→ 添加公式(绝不硬编码值)
→ 运行 recalc.py 以更新计算
示例 4:生成专业咨询报告 PDF
用户:"根据评估数据创建一份咨询报告"
→ 路由到 ConsultingReport 工作流
→ 解析报告目录以获取数据文件、markdown、图表
→ 压缩图像(PNG→JPEG,最大 1200px)
→ 生成具有专业排版的样式化 HTML
→ 通过 Playwright 转换为带有页眉/页脚的 PDF
→ 输出具有目录、图表、颜色框的麦肯锡品质 A4 PDF
Word 文档 (DOCX):
~/.claude/skills/Utilities/Documents/Docx/SKILL.md~/.claude/skills/Utilities/Documents/Docx/docx-js.md~/.claude/skills/Utilities/Documents/Docx/ooxml.mdPDF 处理:
~/.claude/skills/Utilities/Documents/Pdf/SKILL.md~/.claude/skills/Utilities/Documents/Pdf/forms.md~/.claude/skills/Utilities/Documents/Pdf/reference.mdPowerPoint 演示文稿 (PPTX):
~/.claude/skills/Utilities/Documents/Pptx/SKILL.md~/.claude/skills/Utilities/Documents/Pptx/html2pptx.md~/.claude/skills/Utilities/Documents/Pptx/ooxml.mdExcel 电子表格 (XLSX):
~/.claude/skills/Utilities/Documents/Xlsx/SKILL.md~/.claude/skills/Utilities/Documents/Xlsx/recalc.pyDocuments 技能提供全面的文档处理:
基于参考的组织 - 每种文档类型都有完整的指南和工具
路由是自动的 - 分析用户意图并激活适当的文档类型工作流
专业品质 - 适用于生产就绪文档的标准和最佳实践
每周安装次数
86
代码仓库
GitHub 星标数
10.7K
首次出现
2026年1月24日
安全审计
安装于
gemini-cli75
codex75
opencode73
cursor69
github-copilot69
amp64
Before executing, check for user customizations at: ~/.claude/PAI/USER/SKILLCUSTOMIZATIONS/Documents/
If this directory exists, load and apply any PREFERENCES.md, configurations, or resources found there. These override default behavior. If the directory does not exist, proceed with skill defaults.
You MUST send this notification BEFORE doing anything else when this skill is invoked.
Send voice notification :
curl -s -X POST http://localhost:8888/notify
-H "Content-Type: application/json"
-d '{"message": "Running the WORKFLOWNAME workflow in the Documents skill to ACTION"}' \
/dev/null 2>&1 &
Output text notification :
Running the WorkflowName workflow in the Documents skill to ACTION...
This is not optional. Execute this curl command immediately upon skill invocation.
Before starting any task with this skill, load complete PAI context:
read ~/.claude/PAI/SKILL.md
| Request Pattern | Route To |
|---|---|
| Consulting report, McKinsey report, assessment report, professional PDF | Workflows/ConsultingReport.md |
| Large PDF, process big PDF, Gemini PDF | Workflows/ProcessLargePdfGemini3.md |
| Word document, DOCX, create docx, edit docx, tracked changes, redlining | Docx/SKILL.md |
| PDF, create PDF, merge PDF, split PDF, extract text from PDF, fill form | Pdf/SKILL.md |
| Presentation, PPTX, slides, PowerPoint, speaker notes | Pptx/SKILL.md |
| Spreadsheet, XLSX, Excel, formulas, financial model, data analysis |
This skill organizes document processing across 4 document types plus specialized workflows:
Reference Documentation:
Workflows/ConsultingReport.md - Complete consulting report generation workflowRouting Logic:
Pipeline: Report Artifacts → Structured HTML → Playwright PDF
Key Capabilities:
Reference Implementation: Quorum Cyber assessment at /path/to/reference/generate-pdf.mjs
Reference Documentation:
docx/SKILL.md - Complete DOCX processing guidedocx/docx-js.md - Creating new documents with JavaScriptdocx/ooxml.md - Editing existing documents with OOXMLRouting Logic:
Supporting Resources:
~/.claude/skills/Utilities/Documents/Docx/Scripts/~/.claude/skills/Utilities/Documents/Docx/ooxml/~/.claude/skills/Utilities/Documents/Docx/LICENSE.txtKey Capabilities:
Reference Documentation:
pdf/SKILL.md - Complete PDF processing guidepdf/forms.md - Filling PDF formspdf/reference.md - Advanced features and troubleshootingRouting Logic:
Supporting Resources:
~/.claude/skills/Utilities/Documents/Pdf/Scripts/~/.claude/skills/Utilities/Documents/Pdf/LICENSE.txtKey Capabilities:
Reference Documentation:
pptx/SKILL.md - Complete PPTX processing guidepptx/html2pptx.md - Creating presentations from HTMLpptx/ooxml.md - Editing existing presentationsRouting Logic:
Supporting Resources:
~/.claude/skills/Utilities/Documents/Pptx/Scripts/~/.claude/skills/Utilities/Documents/Pptx/ooxml/~/.claude/skills/Utilities/Documents/Pptx/LICENSE.txtKey Capabilities:
Reference Documentation:
xlsx/SKILL.md - Complete XLSX processing guidexlsx/recalc.py - Formula recalculation scriptRouting Logic:
Supporting Resources:
~/.claude/skills/Utilities/Documents/Xlsx/recalc.py~/.claude/skills/Utilities/Documents/Xlsx/LICENSE.txtKey Capabilities:
Example 1: Create proposal with tracked changes
User: "Create a consulting proposal doc with redlining"
→ Routes to DOCX workflows
→ Creates document with docx-js
→ Enables tracked changes for review workflow
→ Outputs professional .docx with revision marks
Example 2: Fill a PDF form programmatically
User: "Fill out this NDA PDF with my info"
→ Routes to PDF workflows
→ Reads form fields from PDF
→ Fills fields programmatically with pdf-lib
→ Outputs completed, flattened PDF
Example 3: Build financial model spreadsheet
User: "Create a revenue projection spreadsheet"
→ Routes to XLSX workflows
→ Creates workbook with openpyxl
→ Adds formulas (never hardcoded values)
→ Runs recalc.py to update calculations
Example 4: Generate professional consulting report PDF
User: "Create a consulting report from the assessment data"
→ Routes to ConsultingReport workflow
→ Parses report directory for data files, markdown, diagrams
→ Compresses images (PNG→JPEG, max 1200px)
→ Generates styled HTML with professional typography
→ Converts to PDF via Playwright with headers/footers
→ Outputs McKinsey-quality A4 PDF with TOC, diagrams, color boxes
Word Documents (DOCX):
~/.claude/skills/Utilities/Documents/Docx/SKILL.md~/.claude/skills/Utilities/Documents/Docx/docx-js.md~/.claude/skills/Utilities/Documents/Docx/ooxml.mdPDF Processing:
~/.claude/skills/Utilities/Documents/Pdf/SKILL.md~/.claude/skills/Utilities/Documents/Pdf/forms.md~/.claude/skills/Utilities/Documents/Pdf/reference.mdPowerPoint Presentations (PPTX):
~/.claude/skills/Utilities/Documents/Pptx/SKILL.md~/.claude/skills/Utilities/Documents/Pptx/html2pptx.md~/.claude/skills/Utilities/Documents/Pptx/ooxml.mdExcel Spreadsheets (XLSX):
~/.claude/skills/Utilities/Documents/Xlsx/SKILL.md~/.claude/skills/Utilities/Documents/Xlsx/recalc.pyThe documents skill provides comprehensive document processing:
Reference-based organization - Each document type has complete guides and tooling
Routing is automatic - Analyzes user intent and activates appropriate document type workflow
Professional quality - Standards and best practices for production-ready documents
Weekly Installs
86
Repository
GitHub Stars
10.7K
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykFail
Installed on
gemini-cli75
codex75
opencode73
cursor69
github-copilot69
amp64
通过 LiteLLM 代理让 Claude Code 对接 GitHub Copilot 运行 | 高级变通方案指南
44,900 周安装
Obsidian 知识管理完整指南:API、插件开发、自动化与 Markdown 扩展
107 周安装
阿里云CosyVoice语音克隆教程:AI语音定制与TTS合成API使用指南
110 周安装
FlexLayout-React 专业级停靠布局组件 | React 拖拽面板库
107 周安装
Azure DevOps 技能指南:掌握云开发、Kubernetes 与基础设施即代码的最佳实践
118 周安装
学术论文审稿人AI工具 - 模拟多视角同行评审,自动生成结构化审稿意见与修订路线图
200 周安装
Rust生态系统集成指南:依赖选择、Crate评估与最佳实践
245 周安装
Xlsx/SKILL.md |