跳到正文
TakoAPI
返回技能列表

pls-office-docs

由 mattvalenta 提供

Image & Video Generation
568下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Load revenue data into a pandas DataFrame

  2. 2

    Write DataFrame to an .xlsx file using to_excel

  3. 3

    Open the workbook with openpyxl to access the worksheet

  4. 4

    Create a BarChart, bind it to the revenue column, and add it to the sheet

  5. 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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接