pls-office-docs
by mattvalenta
Image & Video GenerationBrief
Generate and manipulate office documents (PDF, DOCX, XLSX, PPTX) for professional reports, presentations, and data.
Description
What This Skill Does
Generates and manipulates office documents in PDF, DOCX, XLSX, and PPTX formats using Python libraries. Covers creating documents from scratch, reading existing files, merging or splitting PDFs, adding charts and tables, and exporting data to spreadsheets.
Handles all four major office formats in one skill rather than requiring separate tools or manual document assembly.
When to Use It
- Export database query results to a formatted Excel file
- Generate a monthly report as a Word document with tables
- Build a PowerPoint deck from structured data
- Merge multiple PDFs into a single file
- Extract text from an existing PDF for processing
Example Workflow
User asks: Create an Excel file with monthly revenue data and a bar chart
- 1
Load revenue data into a pandas DataFrame
- 2
Write DataFrame to an .xlsx file using to_excel
- 3
Open the workbook with openpyxl to access the worksheet
- 4
Create a BarChart, bind it to the revenue column, and add it to the sheet
- 5
Save the workbook with the embedded chart
daily_revenue.xlsx with data rows and a bar chart inserted at column D
Installation
clawhub install mattvalenta/pls-office-docsRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.