Read, write, convert, and analyze documents — routes to PDF, DOCX, XLSX, PPTX sub-skills for creation, editing, extraction, and format conversion. USE WHEN document, process file, create document, convert format, extract text, PDF, DOCX, XLSX, PPTX, Word, Excel, spreadsheet, PowerPoint, presentation, slides, consulting report, large PDF, merge PDF, fill form, tracked changes, redlining.
danielmiessler11,564 Sterne28.02.2026
Beruf
Kategorien
Dokumente
Skill-Inhalt
Customization
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.
🚨 MANDATORY: Voice Notification (REQUIRED BEFORE ANY ACTION)
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:
Verwandte Skills
Running the **WorkflowName** workflow in the **Documents** skill to ACTION...
This is not optional. Execute this curl command immediately upon skill invocation.
Documents Skill
🎯 Load Full PAI Context
Before starting any task with this skill, load complete PAI context:
read ~/.claude/PAI/SKILL.md
When to Activate This Skill
Word Documents (DOCX)
User wants to create, edit, or analyze Word documents
User mentions "tracked changes", "redlining", "document review"
User needs to convert documents to other formats
User wants to work with document structure, comments, or formatting
PDF Files
User wants to create, merge, split, or manipulate PDFs
User mentions "extract text from PDF", "PDF tables", "fill PDF form"
User needs to convert PDFs to/from other formats
User wants to add watermarks, passwords, or extract images
PowerPoint Presentations (PPTX)
User wants to create or edit presentations
User mentions "slides", "presentation template", "speaker notes"
User needs to convert presentations to other formats
User wants to work with slide layouts or design elements
Excel Spreadsheets (XLSX)
User wants to create or edit spreadsheets
User mentions "formulas", "financial model", "data analysis"
User needs to work with Excel tables, charts, or pivot tables
User wants to convert spreadsheets to/from other formats
Workflow Routing
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
Tracked Changes - Use redlining workflow for professional document review
Minimal Edits - Only mark text that actually changes, preserve original RSIDs
Batch Changes - Group related edits (3-10 changes) for efficient processing
Verification - Always convert to markdown to verify changes applied correctly
PDF Best Practices
Library Selection - pypdf for basic ops, pdfplumber for text/tables, reportlab for creation
OCR for Scanned - Use pytesseract + pdf2image for scanned documents
Form Filling - Follow forms.md for programmatic form completion
Command Line - Use qpdf/pdftotext for simple operations
PPTX Best Practices
Design First - Analyze content and choose appropriate colors/layouts before coding
Web-Safe Fonts - Only use web-safe fonts (Arial, Helvetica, Times, etc.)
Visual Verification - Always generate thumbnails to inspect layout issues
Template Analysis - Create inventory before using templates to understand structure
XLSX Best Practices
Use Formulas - ALWAYS use Excel formulas, NEVER hardcode calculated values
Zero Errors - Deliver with zero formula errors (#REF!, #DIV/0!, etc.)
Recalculate - Run recalc.py after creating/editing to update formula values
Financial Standards - Follow color coding (blue inputs, black formulas, green links)
Examples
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
🔗 Integration with Other Skills
Feeds Into:
writing skill - Creating documents for blog posts and newsletters
business skill - Creating consulting proposals and financial models
research skill - Extracting data from research documents
Uses:
media skill - Creating images for document illustrations
development skill - Building document processing automation
system skill - Command-line tools and scripting
🎯 Key Principles
Document Creation
Quality First - Professional formatting and structure from the start
Template Reuse - Leverage existing templates when available