xlsx 电子表格处理

Automate Excel data handling and formula-driven models with openpyxl, pandas, and LibreOffice recalc.

Updated Feb 14, 2026
One-click install
npx skills add https://github.com/liutao96/skill --skill xlsx-liutao96
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: xlsx 电子表格处理
Source: https://github.com/liutao96/skill/tree/main/xlsx
Command: npx skills add https://github.com/liutao96/skill --skill xlsx-liutao96

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Excel 是最常用的数据存储与分析工具,但手动处理大量表格、维护公式和数据一致性容易出错且耗时。本 Skill 提供自动化的 Excel 文件创建、编辑、分析与公式管理能力,帮助你快速构建稳定的工作表模型。

Core Features & Use Cases

  • 自动化创建带公式和格式的新工作簿,并保持现有公式。
  • 使用 openpyxl/pandas 进行数据操作、分析和报告输出。
  • Use Case: 在月度销售数据分析中,自动生成带汇总、图表链接和数据验证的报表。

Quick Start

Create a new workbook with openpyxl, add data and formulas, and run recalc.py to validate all formulas.

Frequently Asked Questions about xlsx 电子表格处理

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

FAQPage Schema
How do I automate Excel data analysis and reporting workflows using Python?

Python enables automated Excel data analysis and reporting by using openpyxl and pandas to programmatically create, edit, and analyze xlsx files, yielding automated reports with formulas and data validation.

How do I create an Excel workbook with formulas and validate them automatically?

To create an Excel workbook with formulas, use openpyxl to add data and formulas to a new worksheet, then run recalc.py to validate and recalculate all formulas, ensuring formula integrity and accurate values.

Can I use pandas and openpyxl to manipulate existing Excel spreadsheets?

Yes, pandas and openpyxl can manipulate existing Excel spreadsheets by performing data operations, editing cell values, and maintaining existing formulas while updating data for reporting workflows.

Does this approach support LibreOffice for formula recalculation in xlsx files?

Yes, the workflow supports LibreOffice-backed formula recalculation through recalc.py, ensuring that formulas within your xlsx files are recalculated accurately to maintain data consistency and formula integrity.

What is the best way to build financial models with scalable spreadsheet automation?

The best way to build scalable financial models is through Python-based spreadsheet automation, leveraging openpyxl for formula-driven models and pandas for data handling to ensure scalable and consistent reporting.

Why do my Excel formulas break when writing files with openpyxl?

Excel formulas may break or fail to evaluate when writing files with openpyxl because it does not calculate formula results natively; you need to run recalc.py via LibreOffice to force formula recalculation and validate outputs.