spreadsheet-analyst
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "spreadsheet-analyst":https://skillpi.com/zh/skills/deepskill-2f51ba12ce30a6bea93214d6ecefce6515f0c00921aab1c97c4da113f461dbb9。安装前核对上游来源和版本:https://github.com/elisaterumi-ai/agent-skills-in-practice。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
分析和处理电子表格数据(Excel/CSV)。适用于在处理表格数据时进行清洗、汇总、筛选、计算和格式化等操作。
介绍来源: third_party · elisaterumi-ai · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 输入和输出
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: spreadsheet-analyst
description: Read, analyze, and produce Excel/CSV files - cleanup, pivots, formulas, charts, and formatted workbooks - using pandas and openpyxl. Use for any spreadsheet task.
metadata: {"navin":{"emoji":"📗","category":"documents"}}Spreadsheet Analyst
Overview
Two jobs: (1) analyze data that arrives as xlsx/csv, (2) deliver clean, formatted workbooks. Navin provides the document libraries, so do not check imports or install anything up front: write the script, and only if it actually fails on a missing dependency, explain the missing capability and ask before touching the environment.
Workbooks stay live: real cells, real formulas, real number formats, never values pasted from a screenshot or a picture of a chart.
Language and locale gate (mandatory)
- Before creating or exporting an XLSX or CSV, require the user to explicitly select the output language. Never infer it from the prompt, UI language, source file, names, or location. If absent, ask and stop generation.
- Preserve that language in sheet names, headers, labels, formulas shown to users, charts, legends, comments, validation messages and workbook metadata. Translate every template/example label.
- Apply locale-appropriate dates, decimal/grouping separators and currency formats consistently. Keep stored numeric/date values typed, not preformatted strings.
- For Arabic and other RTL languages, enable right-to-left sheet views, right-align text where appropriate, mirror visual layout, retain logical column order, and use fonts with Arabic glyph coverage.
- CSV must be UTF-8 (use UTF-8 with BOM only when required for the target spreadsheet application). Choose a locale-appropriate separator, announce it in the delivery message and companion README, and quote fields correctly. Never rely on an ambiguous default delimiter.
Typography & icon rules (mandatory)
- Never use em or en dashes (U+2014 / U+2013) in cell text, headers or labels. Use commas, colons or parentheses instead.
- Never use emoji or generic AI-style icons (📊 ✅ …) in workbooks. Use conditional formatting, cell fills and plain glyphs (✓ ✗) for status indicators.
HTML sheet template library
Navin materializes the selected spreadsheet template inside the active workspace
(document.html mocking the sheet layout + metadata.json + image.png
preview). When the runtime context contains a "Document Template Attachment",
the user picked one in the WebUI - it is mandatory:
-
Read
metadata.jsonanddocument.htmlto map the intended layout: KPI cards, grouped rows, header fills, conditional colors, total rows. -
Copy the HTML into a working folder and put the real data in it, keeping the structure and the styling.
-
Convert it into a live workbook with the bundled converter, whose command is given in the runtime context:
<navin-python> .navin/resources/tools/html2xlsx.py document.html -o budget.xlsx --csv exports/Numbers arrive as numbers with the number format their display implies (currency, percent, thousands, dates), header rows get frozen panes and an auto-filter, merged cells and column widths follow the design, and a total row becomes a
SUMformula whenever the sum matches the displayed value.--csvwrites one UTF-8 CSV per sheet.--no-formulaskeeps plain values. -
Reopen the workbook and refine with openpyxl: extra formulas, charts, conditional formatting, data validation. Never rebuild the whole sheet by hand, and never paste an image of a table.
Charts stay native: build them with openpyxl's chart API against the cell ranges, not as a pasted matplotlib PNG.
Analysis recipes (pandas)
import pandas as pd
df = pd.read_excel("in.xlsx", sheet_name=None) # dict of all sheets
df = pd.read_csv("in.csv", sep=None, engine="python") # sniff delimiter
df.info(); df.describe(); df.isna().sum() # profile first, always
pivot = df.pivot_table(index="region", columns="mois", values="ca", aggfunc="sum")
df["date"] = pd.to_datetime(df["date"], dayfirst=True) # FR dates!
Output recipes (formatted workbook)
with pd.ExcelWriter("out.xlsx", engine="xlsxwriter") as xl:
df.to_excel(xl, sheet_name="Data", index=False)
wb, ws = xl.book, xl.sheets["Data"]
money = wb.add_format({"num_format": "#,##0.00 €"})
ws.set_column("C:C", 14, money)
ws.autofilter(0, 0, len(df), len(df.columns)-1)
ws.freeze_panes(1, 0)
chart = wb.add_chart({"type": "column"})
chart.add_series({"values": f"=Data!$C$2:$C${len(df)+1}"})
ws.insert_chart("F2", chart)
Formulas that must stay live for the user: write with openpyxl (ws["D2"] = "=B2*C2").
Workflow
- Profile the file: sheets, columns, types, nulls, duplicates - report anomalies before analyzing.
- Clean explicitly (log every transformation: "removed 12 duplicate rows on ID").
- Analyze per the question; sanity-check totals against the source.
- Deliver: findings summary in chat + formatted workbook (Data / Analysis / README sheets).
Rules
- Never overwrite the source file - output is always a new file.
- Watch FR conventions: decimal commas, dd/mm dates, spaces as thousands separators.
-
500k rows or joins across systems → consider
database-explorer/sql-analyst.
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供端到端电子表格处理工作流(分析→清洗→输出)
- 支持多语言/地区格式(FR 日期、货币等),满足国际化需求
- 明确处理边界(>500k 行转 database-explorer),避免误用
亮点
- 触发描述覆盖全面(read/analyze/produce/cleanup/pivots/formulas/charts)
- 边界清晰,明确适用场景与排除条件
待提升项
-
缺少独立示例章节标题 原报告严重程度:轻微
代码示例直接嵌入正文,未使用独立章节标题(如 Examples)
改进建议:建议添加 Examples 章节标题以提升可读性
亮点
- Phase 划分清晰(Profile→Clean→Analyze→Deliver)
- frontmatter 完整,含 metadata 分类
- 提供完整 pandas 和 xlsxwriter 代码示例
亮点
- 工具来源明确(pandas/openpyxl/xlsxwriter)
- 关键操作有确认机制(语言选择)
- 明确禁止覆盖源文件,保障数据安全
- 图表使用原生 openpyxl API,非粘贴图片
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。