Community生产力与协作github.com

andreworia/excel-数据清洗

将粘贴或导出的混合格式、含空行或重复项的原始数据转换为整洁、格式一致的数据区域,直接可用于分析。在将原始数据粘贴到工作表后立即使用本技能。

excel-数据清洗 是什么?

此 AI 助手技能专为 Excel 用户设计,用于清洗粘贴或导入的原始数据(如 CSV 导出、系统复制或文档表格),确保数据在构建数据透视表或公式前具备一致性和可用性。它能够自动识别并修复同一列内的格式不一致问题(例如文本型数字与真实数字混排、多种日期格式、大小写不统一),移除或标记完全重复的行并说明去重规则,标准化空白单元格以区分真正的零和缺失值,修剪多余空格并统一指代同一事物的分类标签,最后将文本格式的数字和日期转换为 Excel 可识别的正确类型。技能还会生成逐行的变更日志,使清洗过程可审计、可追溯。支持 Excel(桌面版及网页版),用户可通过自然语言提示(如“请使用数据清洗技能处理此粘贴的 CSV”)轻松调用。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/andreworia/claude-excel-skills/tree/main/skills/data-cleaning-for-excel

Installed? Explore more 生产力与协作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Excel 数据清洗

使用时机

在粘贴或导入原始数据(CSV 导出、其他系统复制、文档表格复制)后,立即使用本技能,然后再基于这些数据创建数据透视表或公式。

操作说明

  1. 识别同一列内的格式不一致问题(例如文本型数字与真实数字混排、多种日期格式、大小写不统一)。
  2. 移除或标记完全重复的行,并说明用于定义重复行的规则。
  3. 标准化空白单元格:区分真正的零和缺失值,并统一处理方式。
  4. 修剪多余空格,并统一指代同一事物的分类标签(当标签不一致时)。
  5. 将文本格式的数字和日期转换为 Excel 可识别的正确类型,以便公式使用。
  6. 逐行报告所做的更改(在可行的情况下),确保清洗过程可审计。

示例提示

  • “请使用 excel-数据清洗技能处理此粘贴的 CSV,然后再创建数据透视表。”
  • “清洗此导出的客户列表,其中的日期有三种不同格式。”

输出

一个清洗后的、格式一致的数据区域,以及一份简短的变更日志,描述哪些内容已被标准化、移除或转换。

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

andreworia/assumption-registry-builder

Creates a structured assumption register for any Excel model with columns for name, category, base value, source, Bull/Bear values, sensitivity rank, and owner, plus a formula for computing sensitivity rank from Data Table outputs.

andreworia/formula-audit-checker

Provides a systematic audit checklist for Excel model formula logic, hardcoded values, circular references, and error handling, with step-by-step instructions for using Excel's native auditing tools.

andreworia/inputs-calcs-outputs-design

Enforces the three-tab separation principle for any Excel model, producing a full design for a dedicated Inputs tab, one or more Calculations tabs, and a clean Outputs tab with a conventions checklist.

andreworia/model-architecture-template

Defines the master tab structure, naming conventions, color codes, number formats, and print area setup for any new strategy or finance Excel model, serving as the structural template before any content is added.

andreworia/output-summary-tab

Designs the executive summary tab of an Excel model with KPI tiles, a narrative block, a sensitivity summary, and an assumption log, formatted for print or screenshot use in a board pack.

andreworia/pivot-table-builder

Specifies and builds a pivot table from a flat data range, choosing rows, columns, values, and filters. Use it when you have raw tabular data and need a summary view without building it cell by cell.

andreworia/revenue-build

Builds a driver-based revenue forecast .xlsx with live formulas across separate drivers, build, and output tabs plus checks, rolling a customer or units schedule (beginning, adds, churn, ending) into revenue with Base/Bull/Bear scenario toggles. Use when someone needs a bottom-up revenue model, an ARR build, or a driver-based forecast for planning or a board deck. Do not trigger for editing an existing workbook through the Claude for Excel add-in.

andreworia/scenario-manager

Builds a Base/Bull/Bear scenario switching layer for a model in a .xlsx with a live selector, CHOOSE or INDEX assumption links, a side-by-side output comparison, and a recalc check, then delivers the workbook. Use when someone wants an auditable scenario toggle instead of Excel's hidden Scenario Manager. Do not trigger for editing an existing workbook through the Claude for Excel add-in.

andreworia/sensitivity-tables

Builds one- and two-variable sensitivity (Data Table) analysis on a model output in a .xlsx with live formulas and a recalc check, then delivers the workbook. Use when someone wants to see how an output (NPV, IRR, EPS, margin) moves as one or two inputs change. Do not trigger for editing an existing workbook through the Claude for Excel add-in.

andreworia/sensitivity-tornado

Ranks variable sensitivities to a key output and builds a tornado chart by swinging each input over a defined range, computing output impact, and producing a horizontal bar chart data structure.

andreworia/unit-economics

Builds a unit-economics and cohort .xlsx with live formulas across separate assumptions, cohort, and output tabs plus checks, computing CAC, LTV, LTV/CAC, and CAC payback from a monthly cohort retention grid. Use when someone needs unit economics, an LTV/CAC analysis, a payback model, or a cohort retention build. Do not trigger for editing an existing workbook through the Claude for Excel add-in.

相关技能