pls-office-docs
بواسطة mattvalenta
Image & Video Generationموجز
Generate and manipulate office documents (PDF, DOCX, XLSX, PPTX) for professional reports, presentations, and data.
الوصف
ما الذي تفعله هذه المهارة
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.
متى تستخدمها
- 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
مثال على سير العمل
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
التثبيت
clawhub install mattvalenta/pls-office-docsشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.