AgentSkillsCN

xlsx

每当用户以电子表格文件作为主要输入或输出时,均可使用此技能。这意味着,无论用户希望:打开、读取、编辑或修复现有的.xlsx、.xlsm、.csv或.tsv文件(例如,新增列、计算公式、设置格式、制作图表、清理杂乱数据);从零开始或基于其他数据源创建全新的电子表格;或是实现各类表格文件格式之间的转换,都可调用此技能。尤其当用户通过文件名或路径提及某张电子表格——即便只是随口一提(如“我下载里的那个xlsx文件”)——并希望对它进行处理或基于其生成新内容时,更应触发该技能。此外,当需要将杂乱无章的表格数据文件(如格式错乱的行、位置偏移的表头、冗余无用的数据)清洗整理成规范的电子表格时,亦可调用此技能。最终交付成果必须为电子表格文件。若主要交付物为Word文档、HTML报告、独立Python脚本、数据库管道,或Google Sheets API集成,即使其中涉及表格数据,也请勿触发此技能。

SKILL.md
--- frontmatter
name: xlsx
description: "Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the xlsx in my downloads\") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved."

xlsx

This is a reference skill maintained externally at anthropics/skills

To use this skill, fetch and read the full documentation:

bash
curl -s https://raw.githubusercontent.com/anthropics/skills/main/skills/xlsx/SKILL.md

If the skill references supporting files, fetch those as needed:

bash
curl -s https://raw.githubusercontent.com/anthropics/skills/main/skills/xlsx/path/to/file

The full skill contains detailed instructions, examples, and reference materials not included in this lightweight reference.