working-with-documents

Automate document processing across DOCX, PDF, and PPTX files.

9|Updated Dec 27, 2025
One-click install
npx skills add https://github.com/AbdullahMalik17/My_skills --skill working-with-documents-abdullahmalik17
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: working-with-documents
Source: https://github.com/AbdullahMalik17/My_skills/tree/main/.claude/skills/working-with-documents
Command: npx skills add https://github.com/AbdullahMalik17/My_skills --skill working-with-documents-abdullahmalik17

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates end-to-end document workflows by enabling programmatic reading, creation, and editing of Office documents (DOCX), PDFs, and PowerPoint presentations, reducing manual toil and ensuring consistency across formats.

Core Features & Use Cases

  • Read, create, and edit DOCX, PDF, and PPTX files using Python libraries (python-docx, pdfplumber, pypdf, reportlab) and Node tools (docx-js) for client-side Word operations.
  • Convert between formats (DOCX <-> PDF, PPTX) and extract text or tables for reporting, archiving, or data pipelines.
  • Use Case: Automatically generate a weekly report by stitching data into a DOCX, convert to PDF for distribution, and extract key figures for dashboards.

Quick Start

Provide a path to a document and specify the operation, e.g., "Convert invoice.docx to PDF" or "Extract text from report.pdf".

Frequently Asked Questions about working-with-documents

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert DOCX files to PDF programmatically?

Convert DOCX to PDF by reading the document with python-docx or docx-js, then rendering it to PDF using reportlab or a conversion library. This automates document distribution workflows without manual file handling.

Can I extract text and tables from PDF files for reporting?

Extract text and tables from PDFs using pdfplumber, which parses structured data directly. This enables automated report generation, data pipeline ingestion, and dashboard population from archived documents.

What's the best way to automate batch document processing across DOCX, PDF, and PPTX?

Batch processing uses python-docx, pdfplumber, pypdf, and reportlab to read, edit, and convert multiple formats in sequence. This reduces manual toil in workflows like invoicing, report generation, and document archival.

Do I need separate tools to read and edit Word documents?

Python-docx handles DOCX read/write operations server-side; docx-js enables client-side Word manipulation in Node. Choose based on your runtime environment—both support creating, editing, and tracking changes.

Can I convert between PPTX and PDF formats in the same workflow?

Yes. Use python-docx and reportlab together to handle PPTX and PDF conversion within a single script. This enables multi-format output from unified document processing logic.

What are the limitations when processing large or complex documents?

pdfplumber and pypdf work best with text-based PDFs; scanned images require OCR. python-docx supports standard DOCX structures but complex macros or embedded objects may not convert perfectly.