pptx
Create and edit slide decks, generate slides from templates, and extract text.
ANanthropics/skills203k3,265 new stars in the last 7 days
使用此 Skill 创建、检查、编辑和验证 XLSX 工作簿。用户提到 Excel、xlsx、工作簿、工作表、表格,或要求修改、汇总、检查 Excel 文件时使用。只支持基础 XLSX 操作,不处理宏、VBA、图表、数据透视表或外部工作簿引用。
当用户要求创建、检查、编辑或验证 .xlsx 文件时使用本 Skill。
支持以下基础操作:
当前版本只支持 .xlsx。不处理 .xlsm 宏、VBA、图表、数据透视表、
Power Query、外部工作簿引用或复杂财务模型。
脚本位于当前 Skill 的 scripts/workbook_tool.py:
python scripts/workbook_tool.py inspect input.xlsx
python scripts/workbook_tool.py create output.xlsx --spec spec.json
python scripts/workbook_tool.py edit input.xlsx output.xlsx --operations operations.json
python scripts/workbook_tool.py validate output.xlsx --expect expectations.json
python scripts/workbook_tool.py recalc output.xlsx
所有命令默认输出 JSON,便于继续检查和记录。
create 的 spec 使用以下结构:
{
"sheet": "销售数据",
"headers": ["日期", "商品", "金额", "含税金额"],
"rows": [
[
{"date": "2026-09-16"},
"A",
100,
{"formula": "=C2*1.1"}
]
],
"column_widths": {"A": 14, "C": 12, "D": 14}
}
日期使用 {"date": "YYYY-MM-DD"},公式使用 {"formula": "=..."}。
edit 的 operations 使用以下结构:
{
"set_cells": [
{"sheet": "销售数据", "cell": "C2", "value": 120},
{"sheet": "销售数据", "cell": "D2", "formula": "=C2*1.1"},
{"sheet": "销售数据", "cell": "A2", "date": "2026-09-17"}
],
"append_rows": [
{
"sheet": "销售数据",
"values": [{"date": "2026-09-18"}, "B", 80, {"formula": "=C3*1.1"}]
}
],
"number_formats": [
{"sheet": "销售数据", "cell": "C2", "format": "#,##0.00"}
]
}
validate 的 expectations 使用以下结构:
{
"sheets": ["销售数据"],
"cells": {
"销售数据!C2": 120,
"销售数据!D2": "=C2*1.1",
"销售数据!A2": {"date": "2026-09-17"}
},
"required_formulas": ["销售数据!D2"]
}
recalc 会先设置:
calcMode=auto
fullCalcOnLoad=true
forceFullCalc=true
如果本机存在 LibreOffice,脚本会尝试执行无界面重算;否则返回
unavailable,并明确说明只设置了 Excel/WPS 打开时重算标记。
完成后说明:
输入文件:
输出文件:
执行操作:
保留内容:
验证结果:
未完成的检查:
Create and edit slide decks, generate slides from templates, and extract text.
ANanthropics/skills203k3,265 new stars in the last 7 days
Create and edit Word docs with TOC, page numbers, headers and more.
ANanthropics/skills203k3,265 new stars in the last 7 days
Read and edit PDFs: extract text and tables, merge, split, rotate, and fill forms.
ANanthropics/skills203k3,265 new stars in the last 7 days
Co-write specs, proposals and decision docs through a structured, iterative workflow.
ANanthropics/skills203k3,265 new stars in the last 7 days
Read and edit spreadsheets: add columns, compute formulas, format, and clean messy data.
ANanthropics/skills203k3,265 new stars in the last 7 days
Create posters and visual art as PNG or PDF, guided by a design philosophy.
ANanthropics/skills203k3,265 new stars in the last 7 days